mirror of
https://github.com/ihaveamac/custom-install.git
synced 2025-12-06 06:41:45 +00:00
ci-gui: use abspath when getting file parent
This should the initial directory setting for file dialogs work more reliably.
This commit is contained in:
@@ -37,7 +37,7 @@ if is_windows:
|
|||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
file_parent = dirname(__file__)
|
file_parent = dirname(abspath(__file__))
|
||||||
|
|
||||||
# automatically load boot9 if it's in the current directory
|
# automatically load boot9 if it's in the current directory
|
||||||
b9_paths.insert(0, join(file_parent, 'boot9.bin'))
|
b9_paths.insert(0, join(file_parent, 'boot9.bin'))
|
||||||
|
|||||||
Reference in New Issue
Block a user