Skip to content

Commit

Permalink
flatpak launcher now uses latest (alvr-org#2383)
Browse files Browse the repository at this point in the history
* build the launcher inside flatpak, rather than downloading it

* change versio number in desktop shortcut to 1.0 (this is version of launcher, not version of alvr)

---------

Co-authored-by: failboat <[email protected]>
  • Loading branch information
failboat78 and failboat authored Sep 14, 2024
1 parent 49d68b5 commit 6b29398
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=21.0
Version=1.0
Type=Application
Name=ALVR Launcher
GenericName=Game
Expand Down
27 changes: 14 additions & 13 deletions alvr/xtask/flatpak/com.valvesoftware.Steam.Utility.alvr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
"id": "com.valvesoftware.Steam.Utility.alvr",
"branch": "stable",
"sdk": "org.freedesktop.Sdk//23.08",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.llvm16",
"org.freedesktop.Sdk.Extension.rust-stable"
],
"runtime": "com.valvesoftware.Steam",
"runtime-version": "stable",
"appstream-compose": false,
"separate-locales": false,
"build-extension": true,
"build-options": {
"build-args": [ "--share=network", "--filesystem=xdg-data" ]
"append-path": "/usr/lib/sdk/llvm16/bin:/usr/lib/sdk/rust-stable/bin",
"build-args": [ "--share=network", "--filesystem=xdg-data" ],
"strip": true,
"env": { "RUST_BACKTRACE": "full" }
},
"finish-args": [
"--share=ipc",
Expand All @@ -22,21 +29,15 @@
"name": "alvr",
"buildsystem": "simple",
"build-commands": [
"mkdir -p /app/utils/alvr/bin && mkdir -p /app/utils/alvr/share/applications",
"mv '/run/build/alvr/ALVR Launcher' /app/utils/alvr/bin/alvr_launcher",
" # get read-only errors from following lines - because this is an extension - so leave as comments",
"mkdir -p /app/utils/alvr/bin",
"cd alvr/launcher",
"cargo xtask build-launcher",
"mv '/run/build/alvr/build/alvr_launcher_linux/ALVR Launcher' /app/utils/alvr/bin/alvr_launcher",
" # get read-only errors from following lines - because this is an extension - so leave as comments until someone figures this out",
" # install -D dashboard.ico /app/share/icons/alvr_launcher.ico",
" # install -D com.valvesoftware.Steam.Utility.alvr.desktop /app/share/applications/com.valvesoftware.Steam.Utility.alvr.desktop"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/alvr-org/ALVR/releases/download/v20.9.1/alvr_launcher_linux.tar.gz",
"sha256": "736201b3fb52d42bdfdb43e0f3d24eda36ea345e45f0a3ec466652d3f8670e2a"
},
{ "type": "file", "path": "com.valvesoftware.Steam.Utility.alvr.desktop" },
{ "type": "file", "path": "../../dashboard/resources/dashboard.ico" }
]
"sources": [ { "type": "dir", "path": "../../../" } ]
}
]
}

0 comments on commit 6b29398

Please sign in to comment.