From 52d0c9861f852c796c7ed5811f3d393d62958d05 Mon Sep 17 00:00:00 2001 From: June Date: Thu, 15 Aug 2024 11:21:50 +0900 Subject: [PATCH] More descriptive errors --- AltStore/Operations/OperationError.swift | 4 ++-- Dependencies/Roxas | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AltStore/Operations/OperationError.swift b/AltStore/Operations/OperationError.swift index 44f08b12..7622360c 100644 --- a/AltStore/Operations/OperationError.swift +++ b/AltStore/Operations/OperationError.swift @@ -229,7 +229,7 @@ extension MinimuxerError: LocalizedError { case .NoDevice: return NSLocalizedString("Cannot fetch the device from the muxer", comment: "") case .NoConnection: - return NSLocalizedString("Unable to connect to the device, make sure Wireguard is enabled and you're connected to WiFi", comment: "") + return NSLocalizedString("Unable to connect to the device, make sure Wireguard is enabled and you're connected to WiFi. This could mean an invalid pairing.", comment: "") case .PairingFile: return NSLocalizedString("Invalid pairing file. Your pairing file either didn't have a UDID, or it wasn't a valid plist. Please use jitterbugpair to generate it", comment: "") @@ -259,7 +259,7 @@ extension MinimuxerError: LocalizedError { case .CreateAfc: return self.createService(name: "AFC") case .RwAfc: - return NSLocalizedString("AFC was unable to manage files on the device", comment: "") + return NSLocalizedString("AFC was unable to manage files on the device. This usually means an invalid pairing.", comment: "") case .InstallApp(let message): return NSLocalizedString("Unable to install the app: \(message.toString())", comment: "") case .UninstallApp: diff --git a/Dependencies/Roxas b/Dependencies/Roxas index c28b4006..03f60139 160000 --- a/Dependencies/Roxas +++ b/Dependencies/Roxas @@ -1 +1 @@ -Subproject commit c28b400621a0959e2362c0e13d86ca134d7cd849 +Subproject commit 03f6013972ff650a7c04c3d6397751c75920b3d8