mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-01-07 16:22:03 +01:00
changed path for 7zip on Windows
This commit is contained in:
@@ -136,7 +136,7 @@ class PiconsCzDownloader:
|
||||
raise PiconsError("7-zip [7z] archiver not found!")
|
||||
|
||||
if IS_WIN:
|
||||
exe = f"C:{os.sep}Program Files{os.sep}7-Zip{os.sep}{exe}.exe"
|
||||
exe = f"{exe}.exe" if GTK_PATH else f"C:{os.sep}Program Files{os.sep}7-Zip{os.sep}{exe}.exe"
|
||||
if not os.path.isfile(exe):
|
||||
raise PiconsError("7-Zip executable not found!")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user