Setup, Launcher, Linux Support (#359)

This commit is contained in:
black-sliver
2022-03-31 05:08:15 +02:00
committed by GitHub
parent 0db1660369
commit 7d830362a7
15 changed files with 780 additions and 193 deletions

View File

@@ -48,7 +48,7 @@ def get_sm_base_rom_path(file_name: str = "") -> str:
if not file_name:
file_name = options["sm_options"]["rom_file"]
if not os.path.exists(file_name):
file_name = Utils.local_path(file_name)
file_name = Utils.user_path(file_name)
return file_name
@@ -57,7 +57,7 @@ def get_lttp_base_rom_path(file_name: str = "") -> str:
if not file_name:
file_name = options["lttp_options"]["rom_file"]
if not os.path.exists(file_name):
file_name = Utils.local_path(file_name)
file_name = Utils.user_path(file_name)
return file_name