Skip to content

Commit 77e212d

Browse files
committed
3.5.1
1 parent 4fc524e commit 77e212d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

dist/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import sharp from 'sharp';
2323
import * as psl from 'psl';
2424

2525
var name = "pake-cli";
26-
var version = "3.5.0";
26+
var version = "3.5.1";
2727
var description = "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。";
2828
var engines = {
2929
node: ">=18.0.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pake-cli",
3-
"version": "3.5.0",
3+
"version": "3.5.1",
44
"description": "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。",
55
"engines": {
66
"node": ">=18.0.0"

src-tauri/src/inject/event.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,9 @@ document.addEventListener("DOMContentLoaded", () => {
422422

423423
if (target === "_new") {
424424
if (forceInternalNavigation) {
425+
e.preventDefault();
426+
e.stopImmediatePropagation();
427+
window.location.href = absoluteUrl;
425428
return;
426429
}
427430

0 commit comments

Comments
 (0)