🐛 Fix the problem of packaging bash under Windows

This commit is contained in:
Tw93
2025-08-20 16:11:58 +08:00
parent fe10dc7848
commit 4685d3fb67
4 changed files with 45 additions and 48 deletions

4
dist/cli.js vendored
View File

@@ -22,7 +22,7 @@ import sharp from 'sharp';
import * as psl from 'psl';
var name = "pake-cli";
var version$1 = "3.2.1";
var version$1 = "3.2.2";
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。";
var engines = {
node: ">=16.0.0"
@@ -662,7 +662,7 @@ class BaseBuilder {
return process.platform === 'win32' ? 600000 : 300000;
}
getBuildTimeout() {
return 300000; // 5 minutes for build process
return 900000; // 15 minutes for all builds
}
async prepare() {
const tauriSrcPath = path.join(npmDirectory, 'src-tauri');