Skip to content

Commit

Permalink
Bug fix for Flatpak games
Browse files Browse the repository at this point in the history
  • Loading branch information
hadcl4 committed Mar 31, 2022
1 parent cfbb4d5 commit f9026b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,9 @@ def gamerun(title, path, runner):
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
if runner == "flatpak":
if mesaon == "0":
command = f''+args+'flatpak run '+path
command = f''+args+' flatpak run '+path
if mesaon == "1":
command = f''+args+'LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'+mesa64+':'+mesa32+' flatpak run '+path
command = f''+args+' LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'+mesa64+':'+mesa32+' flatpak run '+path
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)

def onerun():
Expand Down

0 comments on commit f9026b3

Please sign in to comment.