@@ -53,50 +53,23 @@ modules:
5353 SKIP_WASM_BUILD : " 1"
5454
5555 build-commands :
56- # Vendor Node.js binary (sidecar for plugin runtime)
5756 - mkdir -p crates-tauri/yaak-app/vendored/node
5857 - install -Dm755 vendored-node/bin/node crates-tauri/yaak-app/vendored/node/yaaknode
59-
60- # Vendor protoc binary and includes
6158 - mkdir -p crates-tauri/yaak-app/vendored/protoc
6259 - install -Dm755 protoc-bin/protoc crates-tauri/yaak-app/vendored/protoc/yaakprotoc
6360 - mkdir -p crates-tauri/yaak-app/vendored/protoc/include && cp -r protoc-bin/google crates-tauri/yaak-app/vendored/protoc/include/google
64-
65- # Patch lockfile: add resolved URLs for nested workspace deps that npm
66- # omits (see https://github.com/npm/cli/issues/4460)
6761 - node flatpak/patch-lockfile.cjs
68-
69- # Install npm dependencies offline
7062 - npm ci --offline
71-
72- # Pre-fetch Cargo dependencies offline
7363 - cargo --offline fetch --manifest-path Cargo.toml
74-
75- # Build all workspace packages (frontend, plugins, wasm, plugin-runtime)
7664 - npm run build
77-
78- # Copy built plugins to vendored directory
7965 - npm run vendor:vendor-plugins
80-
81- # Build the Tauri app (cargo build directly to avoid inotify limits from tauri CLI)
8266 - cargo build --offline --release -p yaak-app
83-
84- # Install binary
8567 - install -Dm755 target/release/yaak-app /app/bin/yaak-app
86-
87- # Install icons from source
8868 - install -Dm644 crates-tauri/yaak-app/icons/release/32x32.png /app/share/icons/hicolor/32x32/apps/yaak-app.png
8969 - install -Dm644 crates-tauri/yaak-app/icons/release/64x64.png /app/share/icons/hicolor/64x64/apps/yaak-app.png
9070 - install -Dm644 crates-tauri/yaak-app/icons/release/128x128.png /app/share/icons/hicolor/128x128/apps/yaak-app.png
9171 - install -Dm644 crates-tauri/yaak-app/icons/release/icon.png /app/share/icons/hicolor/512x512/apps/yaak-app.png
92-
93- # Install desktop file
94- - >-
95- printf '[Desktop Entry]\nCategories=Development;\nComment=The API client for modern developers\nExec=yaak-app\nIcon=yaak-app\nName=Yaak\nStartupWMClass=yaak\nTerminal=false\nType=Application\n'
96- > yaak.desktop
97- - install -Dm644 yaak.desktop /app/share/applications/yaak.desktop
98-
99- # Install metainfo and license
72+ - install -Dm644 flatpak/yaak.desktop /app/share/applications/yaak.desktop
10073 - install -Dm644 flatpak/app.yaak.Yaak.metainfo.xml /app/share/metainfo/app.yaak.Yaak.metainfo.xml
10174 - install -Dm644 LICENSE /app/share/licenses/app.yaak.Yaak/LICENSE
10275
@@ -153,4 +126,3 @@ modules:
153126 # License file
154127 - type : file
155128 path : ../LICENSE
156-
0 commit comments