add start.sh
This commit is contained in:
parent
a41ece4af7
commit
a3d7fc4389
|
@ -40,11 +40,14 @@ class GameSettings(QWidget):
|
||||||
self.layout.addWidget(self.linux_settings)
|
self.layout.addWidget(self.linux_settings)
|
||||||
|
|
||||||
self.possible_proton_wrappers = []
|
self.possible_proton_wrappers = []
|
||||||
for i in os.listdir(os.path.expanduser("~/.steam/steam/steamapps/common")):
|
try:
|
||||||
if i.startswith("Proton"):
|
for i in os.listdir(os.path.expanduser("~/.steam/steam/steamapps/common")):
|
||||||
wrapper = '"' + os.path.join(os.path.expanduser("~/.steam/steam/steamapps/common"), i,
|
if i.startswith("Proton"):
|
||||||
"proton") + '" run'
|
wrapper = '"' + os.path.join(os.path.expanduser("~/.steam/steam/steamapps/common"), i,
|
||||||
self.possible_proton_wrappers.append(wrapper)
|
"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 = QComboBox()
|
||||||
self.select_proton.addItems(["Don't use Proton"] + self.possible_proton_wrappers)
|
self.select_proton.addItems(["Don't use Proton"] + self.possible_proton_wrappers)
|
||||||
self.select_proton.currentIndexChanged.connect(self.change_proton)
|
self.select_proton.currentIndexChanged.connect(self.change_proton)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
legendary-gl
|
git+https://github.com/ChemicalXandco/legendary.git@c1db2b9#egg=legendary-gl
|
||||||
requests
|
requests
|
||||||
Pillow
|
Pillow
|
||||||
PyQt5
|
PyQt5
|
||||||
QtAwesome
|
QtAwesome
|
||||||
notify-py
|
notify-py
|
||||||
|
|
Loading…
Reference in a new issue