1
0
Fork 0
mirror of synced 2024-05-18 11:32:50 +12:00

add start.sh

This commit is contained in:
ChemicalXandco 2021-03-14 12:53:12 +00:00
parent a41ece4af7
commit a3d7fc4389
4 changed files with 12 additions and 7 deletions

View file

@ -40,11 +40,14 @@ class GameSettings(QWidget):
self.layout.addWidget(self.linux_settings)
self.possible_proton_wrappers = []
for i in os.listdir(os.path.expanduser("~/.steam/steam/steamapps/common")):
if i.startswith("Proton"):
wrapper = '"' + os.path.join(os.path.expanduser("~/.steam/steam/steamapps/common"), i,
"proton") + '" run'
self.possible_proton_wrappers.append(wrapper)
try:
for i in os.listdir(os.path.expanduser("~/.steam/steam/steamapps/common")):
if i.startswith("Proton"):
wrapper = '"' + os.path.join(os.path.expanduser("~/.steam/steam/steamapps/common"), i,
"proton") + '" run'
self.possible_proton_wrappers.append(wrapper)
except FileNotFoundError as e:
print("Unable to find Proton:", e)
self.select_proton = QComboBox()
self.select_proton.addItems(["Don't use Proton"] + self.possible_proton_wrappers)
self.select_proton.currentIndexChanged.connect(self.change_proton)

View file

@ -1,6 +1,6 @@
legendary-gl
git+https://github.com/ChemicalXandco/legendary.git@c1db2b9#egg=legendary-gl
requests
Pillow
PyQt5
QtAwesome
notify-py
notify-py

2
start.sh Normal file
View file

@ -0,0 +1,2 @@
export PYTHONPATH=$PWD
python3 Rare