revert bbb14ce0c0e49ea009682ea1b8ba0fdba15a9afe

revert correct prism launcher
This commit is contained in:
Obie Hinojosa 2025-05-28 22:27:50 -05:00
parent bbb14ce0c0
commit 0026c06200

View File

@ -146,7 +146,7 @@ if platform.system() == "Linux":
detectedlauncher = "OfficialLauncher"
check_for_launcher_files(str(Path.cwd()) + "/.local/share/PrismLauncher", "PrismLauncherPackage")
check_for_launcher_files(str(Path.cwd()) + "/.var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher", "PrismLauncherFlatpak")
check_for_launcher_files(str(Path.cwd()) + "/.var/app/org.prismlauncher.Prism.Launcher", "PrismLauncherFlatpak")
if detectedlauncher == "OfficialLauncher":
print("[INFO]: No 3rd party launchers detected, falling back to default official launcher directories")
@ -158,7 +158,7 @@ if platform.system() == "Linux":
if detectedlauncher == "PrismLauncherFlatpak":
print("[INFO]: Using Prism Launcher (native) directory settings.")
os.chdir(".var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher/instances/1.20.1/minecraft/")
os.chdir(".var/app/org.prismlauncher.Prism.Launcher/data/PrismLauncher/instances/1.20.1/minecraft/")
mcfolder = str(Path.cwd())
modfolder = mcfolder + '/mods'