diff --git a/bin/utils/url.ts b/bin/utils/url.ts index 6c19ff3..ec0350e 100644 --- a/bin/utils/url.ts +++ b/bin/utils/url.ts @@ -1,4 +1,4 @@ -import psl from 'psl'; +import * as psl from 'psl'; import isUrl from 'is-url'; // Extracts the domain from a given URL. diff --git a/package.json b/package.json index 5609139..719902b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pake-cli", - "version": "2.5.2", + "version": "3.0.0-beta", "description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。", "engines": { "node": ">=16.0.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e1aba94..33a5e4d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -7,6 +7,11 @@ "security": { "csp": null }, + "trayIcon": { + "iconPath": "png/weread_512.png", + "iconAsTemplate": false, + "id": "pake-tray" + }, "withGlobalTauri": true }, "build": {