Skip to content

Commit

Permalink
Fix special chars in password
Browse files Browse the repository at this point in the history
  • Loading branch information
powenn committed Nov 11, 2023
1 parent b150ca4 commit b184c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b184c77

Please sign in to comment.