mirror of
https://github.com/ihaveamac/custom-install.git
synced 2025-12-10 14:44:58 +00:00
custominstall: fix save3ds_fuse lookup
This commit is contained in:
@@ -162,11 +162,11 @@ class CustomInstall:
|
|||||||
self.event.update_percentage((total_read / size) * 100, total_read / 1048576, size / 1048576)
|
self.event.update_percentage((total_read / size) * 100, total_read / 1048576, size / 1048576)
|
||||||
|
|
||||||
def start(self, continue_on_fail=True):
|
def start(self, continue_on_fail=True):
|
||||||
using_cxfreeze = getattr(sys, 'frozen', False)
|
frozen = getattr(sys, 'frozen', False)
|
||||||
if using_cxfreeze:
|
if frozen:
|
||||||
save3ds_fuse_path = join(script_dir, 'bin', sys.platform, 'save3ds_fuse')
|
|
||||||
else:
|
|
||||||
save3ds_fuse_path = join(dirname(sys.executable), 'bin', 'save3ds_fuse')
|
save3ds_fuse_path = join(dirname(sys.executable), 'bin', 'save3ds_fuse')
|
||||||
|
else:
|
||||||
|
save3ds_fuse_path = join(script_dir, 'bin', sys.platform, 'save3ds_fuse')
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
save3ds_fuse_path += '.exe'
|
save3ds_fuse_path += '.exe'
|
||||||
if not isfile(save3ds_fuse_path):
|
if not isfile(save3ds_fuse_path):
|
||||||
|
|||||||
Reference in New Issue
Block a user