Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

:bug: Fix packaging issues under Windows

Tw932685a801e3bf
diff --git a/dist/cli.js b/dist/cli.js
index f5d98160..6e542948 100755
--- a/dist/cli.js
+++ b/dist/cli.js
@@ -64,6 +64,7 @@ var scripts = {
"cli:build": "cross-env NODE_ENV=production rollup -c",
test: "pnpm run cli:build && cross-env PAKE_CREATE_APP=1 node tests/index.js",
format: "prettier --write . --ignore-unknown && find tests -name '*.js' -exec sed -i '' 's/[[:space:]]*$//' {} \\; && cd src-tauri && cargo fmt --verbose",
+ "format:check": "prettier --check . --ignore-unknown",
prepublishOnly: "pnpm run cli:build"
};
var type = "module";
diff --git a/tests/index.js b/tests/index.js
index 8a78a169..fe1cfb40 100644
--- a/tests/index.js
+++ b/tests/index.js
@@ -624,7 +624,7 @@ class PakeTestRunner {
win32: {
app: path.join(
config.PROJECT_ROOT,
- `src-tauri/target/x86_64-pc-windows-msvc/release/pake.exe`,
+ `src-tauri/target/x86_64-pc-windows-msvc/release/bundle/msi/${testName}_*.msi`,
),
installer: path.join(
config.PROJECT_ROOT,