Skip to content

Commit b337564

Browse files
fix(linux): pull latest linuxdeploy appimage plugin (#362)
* fix(linux): pull latest linuxdeploy appimage plugin * fix file name * clippy * force binstall dioxus-cli * forcefully binstall tauri-cli as well (wtf) * allow cdla - ref rustls/webpki-roots@90c48f3 * time for me to go to sleep i guess
1 parent 6a227dd commit b337564

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.changes/update-appimage-plugin.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"cargo-packager": patch
3+
"@crabnebula/packager": patch
4+
---
5+
6+
Updated linuxdeploy's AppImage plugin to not require libfuse on the user's system anymore.

.github/workflows/build-examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: Swatinem/rust-cache@v2
3939
- run: go install github.com/wailsapp/wails/v2/cmd/wails@latest
4040
- run: cargo install cargo-binstall --locked
41-
- run: cargo binstall tauri-cli
42-
- run: cargo binstall dioxus-cli
41+
- run: cargo binstall tauri-cli --locked --force
42+
- run: cargo binstall dioxus-cli --locked --force
4343
- run: cargo r --package cargo-packager -- signer generate --password '123' --path ./signing-key -vvv
4444
- run: cargo r --package cargo-packager -- --release --private-key ./signing-key --password '123' --formats all -vvv

crates/packager/src/package/appimage/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ fn donwload_dependencies(
3232
format!("linuxdeploy-{linuxdeploy_arch}.AppImage"),
3333
format!("https://github.com/tauri-apps/binary-releases/releases/download/linuxdeploy/linuxdeploy-{linuxdeploy_arch}.AppImage")
3434
),
35+
// This path is incompatible with cross-platform compilation but linuxdeploy doens't support that anyway.
36+
(
37+
"linuxdeploy-plugin-appimage.AppImage".to_string(),
38+
format!("https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases/download/continuous/linuxdeploy-plugin-appimage-{arch}.AppImage")
39+
),
3540
];
3641

3742
let user_deps = ctx

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ allow = [
3131
"Unicode-DFS-2016",
3232
"Unicode-3.0",
3333
# Used by webpki-roots and option-ext which we are using without modifications in a larger work, therefore okay.
34+
"CDLA-Permissive-2.0",
3435
"MPL-2.0",
3536
"BSD-3-Clause",
3637
"BSD-2-Clause",

0 commit comments

Comments
 (0)