mirror of
https://github.com/RedDeadDepresso/KKAFIO.git
synced 2025-12-23 01:40:01 +00:00
fix: move to game directory when creating backup
This commit is contained in:
@@ -139,7 +139,7 @@ class FileManager:
|
||||
command = f'"{path_to_7zip}" a -t7z "{archive_file}" {include_string} {exclude_string}'
|
||||
|
||||
# Call the command
|
||||
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
||||
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, cwd=self.config.game_path['base'])
|
||||
|
||||
# Print the output
|
||||
while process.poll() is None:
|
||||
|
||||
Reference in New Issue
Block a user