mirror of
https://github.com/GNS3/gns3-gui.git
synced 2026-05-17 00:46:01 +03:00
Improve finding pyuic3.exe on Windows
This commit is contained in:
@@ -22,6 +22,9 @@ if sys.platform.startswith('win'):
|
||||
PATH = os.path.join(PATH, "bin")
|
||||
PYUIC = os.path.join(PATH, "pyuic5")
|
||||
PYRCC = os.path.join(PATH, "pyrcc5")
|
||||
|
||||
if not os.path.exists(PYUIC):
|
||||
PYUIC = "pyuic5.exe"
|
||||
else:
|
||||
PYUIC = shutil.which("pyuic5")
|
||||
PYRCC = shutil.which("pyrcc5")
|
||||
|
||||
Reference in New Issue
Block a user