We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da96668 commit a33d447Copy full SHA for a33d447
Makefile
@@ -1,7 +1,12 @@
1
build: prebuild
2
- @# i need the nO_STRIP=true for some reason, otherwise:
3
- @# > Error failed to bundle project: `failed to run linuxdeploy`"
4
- NO_STRIP=true npm run tauri build
+ @# Set NO_STRIP=true on Linux to avoid "failed to run linuxdeploy" error
+ @if [ "$$(uname)" = "Linux" ]; then \
+ echo "Building on Linux, setting NO_STRIP=true..."; \
5
+ NO_STRIP=true npm run tauri build; \
6
+ else \
7
+ echo "Building on non-Linux platform..."; \
8
+ npm run tauri build; \
9
+ fi
10
11
dev: prebuild
12
npm run tauri dev
0 commit comments