diff --git a/org.openwinecomponents.ulwgl.launcher.yml b/org.openwinecomponents.ulwgl.launcher.yml index d9d3f88..0bdeb53 100644 --- a/org.openwinecomponents.ulwgl.launcher.yml +++ b/org.openwinecomponents.ulwgl.launcher.yml @@ -138,31 +138,19 @@ add-extensions: no-autodownload: true autodelete: true -cleanup: - - /lib/*.a - - /lib/*.la - - /lib32/*.a - - /lib32/*.la - - /share/doc - - /share/gtk-doc - - /share/man - -cleanup-commands: - - python3 -m compileall --invalidation-mode=unchecked-hash /app - modules: # --- ULWGL --- - name: ulwgl-run buildsystem: simple build-commands: - install -D ulwgl-run /app/bin/ulwgl-run - - install -D ULWGL-launcher.tar.gz /app/bin/ULWGL-launcher.tar.gz + - install -D ULWGL-launcher.tar.gz /app/share/ULWGL/ULWGL-launcher.tar.gz sources: - type: file path: ulwgl-run - type: file - url: https://github.com/Open-Wine-Components/ULWGL-launcher/releases/download/0.1-RC1/ULWGL-launcher.tar.gz - sha256: 11a85f0acaf5a3bec8dbef7c7f97e111e7d2eb5932c980346907cc5a9aad8811 + url: https://github.com/Open-Wine-Components/ULWGL-launcher/releases/download/0.1-RC2/ULWGL-launcher.tar.gz + sha256: 9c7a5102d2e010165527b4d903d77ca4a453401d9a654b1edfa101dc17236930 - name: platform-bootstrap buildsystem: simple diff --git a/ulwgl-run b/ulwgl-run index cfd85c7..e2821ad 100755 --- a/ulwgl-run +++ b/ulwgl-run @@ -13,12 +13,16 @@ fi ULWGL_PROTON_VER="ULWGL-Proton-8.0-5" ULWGL_LAUNCHER_VER="0.1-RC2" +me="$(readlink -f "$0")" +#here="${me%/*}" + +# This is how we update on flatpak. For distro packages it will be similar -- tarball placed in /usr/share which auto-extracts to the user's ~/.local/share/ULWGL/ if [[ ! -d "$HOME"/.local/share/ULWGL/ ]]; then - tar -zxvf ULWGL-launcher.tar.gz --one-top-level="$HOME"/.local/share/ULWGL + tar -zxvf ${me%/*/*}/share/ULWGL/ULWGL-launcher.tar.gz --one-top-level="$HOME"/.local/share/ULWGL else if [[ "$ULWGL_LAUNCHER_VER" != $(cat "$HOME"/.local/share/ULWGL/ULWGL-VERSION) ]]; then rm -Rf "$HOME"/.local/share/ULWGL/ - tar -zxvf ULWGL-launcher.tar.gz --one-top-level="$HOME"/.local/share/ULWGL + tar -zxvf ${me%/*/*}/share/ULWGL/ULWGL-launcher.tar.gz --one-top-level="$HOME"/.local/share/ULWGL fi fi @@ -128,9 +132,6 @@ if [[ "$EXE" == "createprefix" ]]; then fi shift 1 -#me="$(readlink -f "$0")" -#here="${me%/*}" - export STEAM_COMPAT_TOOL_PATHS="$PROTONPATH:$here" export STEAM_COMPAT_MOUNTS="$PROTONPATH:$here"