mirror of
https://github.com/FAUSheppy/homelab_gamevault
synced 2025-12-06 23:11:36 +01:00
fix: handle empty run_exe field
This commit is contained in:
@@ -156,7 +156,7 @@ def create_details_page(app, software, backswitch_function):
|
|||||||
|
|
||||||
# install button #
|
# install button #
|
||||||
print(software.run_exe)
|
print(software.run_exe)
|
||||||
print(os.path.join(software.backend.install_dir, software.run_exe))
|
print(os.path.join(software.backend.install_dir, software.run_exe or ""))
|
||||||
if not software.run_exe or not (os.path.isfile(software.run_exe)
|
if not software.run_exe or not (os.path.isfile(software.run_exe)
|
||||||
or os.path.isfile(os.path.join(software.backend.install_dir, software.title, software.run_exe))):
|
or os.path.isfile(os.path.join(software.backend.install_dir, software.title, software.run_exe))):
|
||||||
run_button.configure(state=tkinter.DISABLED)
|
run_button.configure(state=tkinter.DISABLED)
|
||||||
|
|||||||
Reference in New Issue
Block a user