https://github.com/openNAMU/openNAMU/issues/2407
@@ -19,7 +19,7 @@ def main_sys_update():
print('Update')
- if platform.system() == 'Linux':
+ if platform.system() == 'Linux' or platform.system() == 'Darwin':
ok = []
ok += [os.system('git remote rm origin')]
ok += [os.system('git remote add origin https://github.com/opennamu/opennamu.git')]
@@ -844,7 +844,7 @@ def linux_exe_chmod():
else:
exe_type = 'main.arm64.exe'
- if platform.system() == 'Linux' and platform.system() == 'Darwin':
os.system('chmod +x ./route_go/bin/' + exe_type)
return exe_type