We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f86ee6 commit 16aa2a0Copy full SHA for 16aa2a0
1 file changed
packaging/snap/snapcraft.yaml
@@ -48,7 +48,16 @@ parts:
48
- libgtk-3-0
49
- libayatana-appindicator3-1
50
override-build: |
51
+ # Install Node.js 22 manually (System node is too old)
52
+ curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
53
+ apt-get install -y nodejs
54
+
55
+ # Install Dependencies
56
npm ci
- npm run tauri build -- --bundles none
57
58
+ # Build (without invalid bundles flag)
59
+ npm run tauri build
60
61
+ # Install binary
62
mkdir -p $CRAFT_PART_INSTALL/bin
63
cp src-tauri/target/release/glance-linuxoptimizer $CRAFT_PART_INSTALL/bin/
0 commit comments