Skip to content

Commit

Permalink
fix: Fix missing --env= prefix on Flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
shymega committed Jul 13, 2024
1 parent befa367 commit 2d8d1ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wemod_launcher/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ def check_flatpak():
infpr = os.getenv("WeModInfProtect", "1")
infpr = str(int(infpr) + 1)

flatpak_start.append("FROM_FLATPAK=true")
flatpak_start.append(f"WeModInfProtect={infpr}")
flatpak_start.append("--env=FROM_FLATPAK=true")
flatpak_start.append(f"--env=WeModInfProtect={infpr}")
flatpak_start.append("--") # Isolate command from command args

flatpak_cmd = flatpak_start + [sys.executable]
Expand Down

0 comments on commit 2d8d1ba

Please sign in to comment.