Skip to content

Commit

Permalink
fix: double quote to avoid usernames with a space on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
itsHenry35 committed Jun 27, 2023
1 parent 3970c38 commit 21c992d
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 @@ -57,7 +57,7 @@ def get_platform_info():
aria2c_path = ""

if platform_ == 'Windows':
aria2c_path = bundle_dir + '\\bin\\aria2c_win.exe'
aria2c_path = f"\"{bundle_dir}\\bin\\aria2c_win.exe\""
elif platform_ == 'Linux':
if platform.machine == 'x86_64':
aria2c_path = bundle_dir + '/bin/aria2c_linux_amd64'
Expand Down

0 comments on commit 21c992d

Please sign in to comment.