diff --git a/.gitignore b/.gitignore index d1256aed..a5336e4e 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,7 @@ backup .old tmp .godot + +# Python # +########## +__pycache__ diff --git a/tools/Lutris/shortcut.py b/functions/steam-sync/steam-sync.py similarity index 100% rename from tools/Lutris/shortcut.py rename to functions/steam-sync/steam-sync.py diff --git a/tools/Lutris/vdf/__init__.py b/functions/steam-sync/vdf/__init__.py similarity index 100% rename from tools/Lutris/vdf/__init__.py rename to functions/steam-sync/vdf/__init__.py diff --git a/tools/Lutris/vdf/vdict.py b/functions/steam-sync/vdf/vdict.py similarity index 100% rename from tools/Lutris/vdf/vdict.py rename to functions/steam-sync/vdf/vdict.py diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index c700fbce..3ba86cb9 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -27,6 +27,7 @@ finish-args: - --filesystem=home - --filesystem=/run/media - --filesystem=/media + - --filesystem=home/.var/app/com.valvesoftware.Steam - --allow=multiarch - --talk-name=org.freedesktop.ScreenSaver - --talk-name=org.freedesktop.PowerManagement.Inhibit @@ -1320,7 +1321,7 @@ modules: # Function libraries - mkdir -p /app/libexec - - cp -r functions/* "/app/libexec/" + - cp -r functions/** "/app/libexec/" # Desktop entries - cp net.retrodeck.retrodeck.desktop /app/share/applications/net.retrodeck.retrodeck.desktop diff --git a/tools/Lutris/__pycache__/shortcut.cpython-310.pyc b/tools/Lutris/__pycache__/shortcut.cpython-310.pyc deleted file mode 100644 index 0b8cfb8d..00000000 Binary files a/tools/Lutris/__pycache__/shortcut.cpython-310.pyc and /dev/null differ diff --git a/tools/Lutris/vdf/__pycache__/__init__.cpython-310.pyc b/tools/Lutris/vdf/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 61f807c8..00000000 Binary files a/tools/Lutris/vdf/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/tools/configurator.sh b/tools/configurator.sh index eae26a36..f4153b02 100644 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -1103,7 +1103,7 @@ configurator_about_retrodeck_dialog() { } configurator_add_steam() { - python3 /app/tools/Lutris/shortcut.py + python3 /app/libexec/steam-sync/steam-sync.py configurator_welcome_dialog }