mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
chore(rust/gui-client): fix Tauri build scripts (#7077)
- We don't need to control our deb's deps since we're sticking with Tauri - Specifying `pnpm tauri` fixes an odd issue on one dev system - `tauri-cli` is a dev dep, not a runtime dep
This commit is contained in:
@@ -11,4 +11,4 @@ REM Compile CSS
|
||||
call pnpm tailwindcss -i src\input.css -o src\output.css
|
||||
|
||||
REM Compile Rust and bundle
|
||||
call tauri build
|
||||
call pnpm tauri build
|
||||
|
||||
@@ -31,10 +31,6 @@ INTERMEDIATE_DIR=$(ls -d "$BUNDLES_DIR"/*/)
|
||||
cp src-tauri/deb_files/postinst src-tauri/deb_files/prerm "$INTERMEDIATE_DIR/control/"
|
||||
|
||||
pushd "$INTERMEDIATE_DIR"
|
||||
# Substitute our own list of deps
|
||||
# This does nothing right now, but we'll need it for replacing Tauri
|
||||
sed '/^Depends:/c\Depends: libayatana-appindicator3-1, libwebkit2gtk-4.0-37, libgtk-3-0' control/control > control/control.new
|
||||
mv control/control.new control/control
|
||||
|
||||
# Rebuild the control tarball
|
||||
tar -C "control" -czf "control.tar.gz" control md5sums postinst prerm
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^1.6",
|
||||
"@tauri-apps/cli": "^1.6",
|
||||
"flowbite": "^2.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tauri-apps/cli": "^1.6",
|
||||
"@types/node": "22",
|
||||
"http-server": "^14.1.1",
|
||||
"run-script-os": "^1.1.6",
|
||||
|
||||
6
rust/gui-client/pnpm-lock.yaml
generated
6
rust/gui-client/pnpm-lock.yaml
generated
@@ -11,13 +11,13 @@ importers:
|
||||
'@tauri-apps/api':
|
||||
specifier: ^1.6
|
||||
version: 1.6.0
|
||||
'@tauri-apps/cli':
|
||||
specifier: ^1.6
|
||||
version: 1.6.2
|
||||
flowbite:
|
||||
specifier: ^2.5.2
|
||||
version: 2.5.2
|
||||
devDependencies:
|
||||
'@tauri-apps/cli':
|
||||
specifier: ^1.6
|
||||
version: 1.6.2
|
||||
'@types/node':
|
||||
specifier: '22'
|
||||
version: 22.7.5
|
||||
|
||||
Reference in New Issue
Block a user