3.5.1
This commit is contained in:
2
dist/cli.js
vendored
2
dist/cli.js
vendored
@@ -23,7 +23,7 @@ import sharp from 'sharp';
|
||||
import * as psl from 'psl';
|
||||
|
||||
var name = "pake-cli";
|
||||
var version = "3.5.0";
|
||||
var version = "3.5.1";
|
||||
var description = "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。";
|
||||
var engines = {
|
||||
node: ">=18.0.0"
|
||||
|
||||
2
package.json
vendored
2
package.json
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pake-cli",
|
||||
"version": "3.5.0",
|
||||
"version": "3.5.1",
|
||||
"description": "🤱🏻 Turn any webpage into a desktop app with one command. 🤱🏻 一键打包网页生成轻量桌面应用。",
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
|
||||
3
src-tauri/src/inject/event.js
vendored
3
src-tauri/src/inject/event.js
vendored
@@ -422,6 +422,9 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
|
||||
if (target === "_new") {
|
||||
if (forceInternalNavigation) {
|
||||
e.preventDefault();
|
||||
e.stopImmediatePropagation();
|
||||
window.location.href = absoluteUrl;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user