fix: build for linux
This commit is contained in:
1 parent
78c7fdb756
commit
eaffc35288
1 file changed
+3
@@ -34,4 +34,7 @@ function run(cmd: string, args: string[]): Promise<void> {
|
|||||||
|
|
||||||
await run('bun', ['./scripts/sync-version.ts']);
|
await run('bun', ['./scripts/sync-version.ts']);
|
||||||
await runVite();
|
await runVite();
|
||||||
|
|
||||||
|
//set NO_STRIP=1 in env for linux to prevent stripping of debug symbols in tauri builds, which causes issues with source maps
|
||||||
|
if (process.platform === 'linux') process.env.NO_STRIP = '1';
|
||||||
await run('bunx', ['tauri', 'build']);
|
await run('bunx', ['tauri', 'build']);
|
||||||
Reference in new issue
Block a user