From b184c77276edd89dd3f4230bf870e8e75faeea47 Mon Sep 17 00:00:00 2001 From: powen Date: Sat, 11 Nov 2023 11:28:55 +0800 Subject: [PATCH] Fix special chars in password --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ef226dd..b4ff35d 100644 --- a/main.py +++ b/main.py @@ -419,7 +419,7 @@ def selectFile(self): def run(self): subprocess.run( - f"{ALTSERVER_PATH} -u {self.selectedDevice.UDID} -a {self.account} -p {self.password} {self.filePath}", shell=True) + f"{ALTSERVER_PATH} -u {self.selectedDevice.UDID} -a '{self.account}' -p '{self.password}' {self.filePath}", shell=True) def getInfo(self) -> str: return [self.selectedDevice.name, self.account, self.password, self.filePath]