Comparing version 2.4.0 to 2.5.0
@@ -23,3 +23,3 @@ import chalk from 'chalk'; | ||
var name = "pake-cli"; | ||
var version = "2.4.0"; | ||
var version = "2.5.0"; | ||
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。"; | ||
@@ -478,3 +478,3 @@ var engines = { | ||
async function mergeConfig(url, options, tauriConf) { | ||
const { width, height, fullscreen, hideTitleBar, alwaysOnTop, disabledWebShortcuts, activationShortcut, userAgent, showSystemTray, systemTrayIcon, iterCopyFile, identifier, name, resizable = true, inject, safeDomain, } = options; | ||
const { width, height, fullscreen, hideTitleBar, alwaysOnTop, disabledWebShortcuts, activationShortcut, userAgent, showSystemTray, systemTrayIcon, useLocalFile, identifier, name, resizable = true, inject, safeDomain, } = options; | ||
const { platform } = process; | ||
@@ -504,3 +504,3 @@ // Set Windows parameters. | ||
const distBakDir = path.join(npmDirectory, 'dist_bak'); | ||
if (!iterCopyFile) { | ||
if (!useLocalFile) { | ||
const urlPath = path.join(distDir, fileName); | ||
@@ -844,3 +844,3 @@ await fsExtra.copy(url, urlPath); | ||
targets: 'deb', | ||
iterCopyFile: false, | ||
useLocalFile: false, | ||
systemTrayIcon: '', | ||
@@ -1031,2 +1031,3 @@ debug: false, | ||
.option('--height <number>', 'Window height', validateNumberInput, DEFAULT_PAKE_OPTIONS.height) | ||
.option('--use-local-file', 'Use local file packaging', DEFAULT_PAKE_OPTIONS.useLocalFile) | ||
.option('--fullscreen', 'Start in full screen', DEFAULT_PAKE_OPTIONS.fullscreen) | ||
@@ -1037,3 +1038,2 @@ .option('--hide-title-bar', 'Only for Mac, hide title bar', DEFAULT_PAKE_OPTIONS.hideTitleBar) | ||
.option('--inject [injects...]', 'Injection of .js or .css Files', DEFAULT_PAKE_OPTIONS.inject) | ||
.option('--safe-domain [domains...]', 'Domains that Require Security Configuration"', DEFAULT_PAKE_OPTIONS.safeDomain) | ||
.option('--debug', 'Debug build and more output', DEFAULT_PAKE_OPTIONS.debug) | ||
@@ -1044,2 +1044,3 @@ .addOption(new Option('--user-agent <string>', 'Custom user agent').default(DEFAULT_PAKE_OPTIONS.userAgent).hideHelp()) | ||
.addOption(new Option('--disabled-web-shortcuts', 'Disabled webPage shortcuts').default(DEFAULT_PAKE_OPTIONS.disabledWebShortcuts).hideHelp()) | ||
.addOption(new Option('--safe-domain [domains...]', 'Domains that Require Security Configuration').default(DEFAULT_PAKE_OPTIONS.safeDomain).hideHelp()) | ||
.addOption(new Option('--show-system-tray', 'Show system tray in app').default(DEFAULT_PAKE_OPTIONS.showSystemTray).hideHelp()) | ||
@@ -1046,0 +1047,0 @@ .addOption(new Option('--system-tray-icon <string>', 'Custom system tray icon').default(DEFAULT_PAKE_OPTIONS.systemTrayIcon).hideHelp()) |
{ | ||
"name": "pake-cli", | ||
"version": "2.4.0", | ||
"version": "2.5.0", | ||
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。", | ||
@@ -5,0 +5,0 @@ "engines": { |
121
README.md
@@ -282,27 +282,27 @@ <h4 align="right"><strong>English</strong> | <a href="https://github.com/tw93/Pake/blob/master/README_CN.md">简体中文</a></h4> | ||
<td align="center"> | ||
<a href="https://github.com/exposir"> | ||
<img src="https://avatars.githubusercontent.com/u/33340988?v=4" width="90;" alt="exposir"/> | ||
<a href="https://github.com/QingZ11"> | ||
<img src="https://avatars.githubusercontent.com/u/38887077?v=4" width="90;" alt="QingZ11"/> | ||
<br /> | ||
<sub><b>孟世博</b></sub> | ||
<sub><b>Steam</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/QingZ11"> | ||
<img src="https://avatars.githubusercontent.com/u/38887077?v=4" width="90;" alt="QingZ11"/> | ||
<a href="https://github.com/exposir"> | ||
<img src="https://avatars.githubusercontent.com/u/33340988?v=4" width="90;" alt="exposir"/> | ||
<br /> | ||
<sub><b>Steam</b></sub> | ||
<sub><b>孟世博</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/hetz"> | ||
<img src="https://avatars.githubusercontent.com/u/820141?v=4" width="90;" alt="hetz"/> | ||
<a href="https://github.com/2nthony"> | ||
<img src="https://avatars.githubusercontent.com/u/19513289?v=4" width="90;" alt="2nthony"/> | ||
<br /> | ||
<sub><b>贺天卓</b></sub> | ||
<sub><b>2nthony</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/piaoyidage"> | ||
<img src="https://avatars.githubusercontent.com/u/5135405?v=4" width="90;" alt="piaoyidage"/> | ||
<a href="https://github.com/ACGNnsj"> | ||
<img src="https://avatars.githubusercontent.com/u/22112141?v=4" width="90;" alt="ACGNnsj"/> | ||
<br /> | ||
<sub><b>Ranger</b></sub> | ||
<sub><b>Null</b></sub> | ||
</a> | ||
@@ -312,48 +312,48 @@ </td></tr> | ||
<td align="center"> | ||
<a href="https://github.com/liusishan"> | ||
<img src="https://avatars.githubusercontent.com/u/33129823?v=4" width="90;" alt="liusishan"/> | ||
<a href="https://github.com/imabutahersiddik"> | ||
<img src="https://avatars.githubusercontent.com/u/138387257?v=4" width="90;" alt="imabutahersiddik"/> | ||
<br /> | ||
<sub><b>Liusishan</b></sub> | ||
<sub><b>Abu Taher Siddik</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/liudonghua123"> | ||
<img src="https://avatars.githubusercontent.com/u/2276718?v=4" width="90;" alt="liudonghua123"/> | ||
<a href="https://github.com/kidylee"> | ||
<img src="https://avatars.githubusercontent.com/u/841310?v=4" width="90;" alt="kidylee"/> | ||
<br /> | ||
<sub><b>Liudonghua</b></sub> | ||
<sub><b>An Li</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/lakca"> | ||
<img src="https://avatars.githubusercontent.com/u/16255922?v=4" width="90;" alt="lakca"/> | ||
<a href="https://github.com/nekomeowww"> | ||
<img src="https://avatars.githubusercontent.com/u/11081491?v=4" width="90;" alt="nekomeowww"/> | ||
<br /> | ||
<sub><b>Null</b></sub> | ||
<sub><b>Ayaka Neko</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/houhoz"> | ||
<img src="https://avatars.githubusercontent.com/u/19684376?v=4" width="90;" alt="houhoz"/> | ||
<a href="https://github.com/turkyden"> | ||
<img src="https://avatars.githubusercontent.com/u/24560160?v=4" width="90;" alt="turkyden"/> | ||
<br /> | ||
<sub><b>Hyzhao</b></sub> | ||
<sub><b>Dengju Deng</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/geekvest"> | ||
<img src="https://avatars.githubusercontent.com/u/126322776?v=4" width="90;" alt="geekvest"/> | ||
<a href="https://github.com/Fechin"> | ||
<img src="https://avatars.githubusercontent.com/u/2541482?v=4" width="90;" alt="Fechin"/> | ||
<br /> | ||
<sub><b>Null</b></sub> | ||
<sub><b>Fechin</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/princemaple"> | ||
<img src="https://avatars.githubusercontent.com/u/1329716?v=4" width="90;" alt="princemaple"/> | ||
<a href="https://github.com/eltociear"> | ||
<img src="https://avatars.githubusercontent.com/u/22633385?v=4" width="90;" alt="eltociear"/> | ||
<br /> | ||
<sub><b>Po Chen</b></sub> | ||
<sub><b>Ikko Eltociear Ashimine</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/Milo123459"> | ||
<img src="https://avatars.githubusercontent.com/u/50248166?v=4" width="90;" alt="Milo123459"/> | ||
<a href="https://github.com/droid-Q"> | ||
<img src="https://avatars.githubusercontent.com/u/708277?v=4" width="90;" alt="droid-Q"/> | ||
<br /> | ||
<sub><b>Milo</b></sub> | ||
<sub><b>Jiaqi Gu</b></sub> | ||
</a> | ||
@@ -363,48 +363,48 @@ </td></tr> | ||
<td align="center"> | ||
<a href="https://github.com/eltociear"> | ||
<img src="https://avatars.githubusercontent.com/u/22633385?v=4" width="90;" alt="eltociear"/> | ||
<a href="https://github.com/Milo123459"> | ||
<img src="https://avatars.githubusercontent.com/u/50248166?v=4" width="90;" alt="Milo123459"/> | ||
<br /> | ||
<sub><b>Ikko Eltociear Ashimine</b></sub> | ||
<sub><b>Milo</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/Fechin"> | ||
<img src="https://avatars.githubusercontent.com/u/2541482?v=4" width="90;" alt="Fechin"/> | ||
<a href="https://github.com/princemaple"> | ||
<img src="https://avatars.githubusercontent.com/u/1329716?v=4" width="90;" alt="princemaple"/> | ||
<br /> | ||
<sub><b>Fechin</b></sub> | ||
<sub><b>Po Chen</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/turkyden"> | ||
<img src="https://avatars.githubusercontent.com/u/24560160?v=4" width="90;" alt="turkyden"/> | ||
<a href="https://github.com/geekvest"> | ||
<img src="https://avatars.githubusercontent.com/u/126322776?v=4" width="90;" alt="geekvest"/> | ||
<br /> | ||
<sub><b>Dengju Deng</b></sub> | ||
<sub><b>Null</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/nekomeowww"> | ||
<img src="https://avatars.githubusercontent.com/u/11081491?v=4" width="90;" alt="nekomeowww"/> | ||
<a href="https://github.com/houhoz"> | ||
<img src="https://avatars.githubusercontent.com/u/19684376?v=4" width="90;" alt="houhoz"/> | ||
<br /> | ||
<sub><b>Ayaka Neko</b></sub> | ||
<sub><b>Hyzhao</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/kidylee"> | ||
<img src="https://avatars.githubusercontent.com/u/841310?v=4" width="90;" alt="kidylee"/> | ||
<a href="https://github.com/lakca"> | ||
<img src="https://avatars.githubusercontent.com/u/16255922?v=4" width="90;" alt="lakca"/> | ||
<br /> | ||
<sub><b>An Li</b></sub> | ||
<sub><b>Null</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/imabutahersiddik"> | ||
<img src="https://avatars.githubusercontent.com/u/138387257?v=4" width="90;" alt="imabutahersiddik"/> | ||
<a href="https://github.com/liudonghua123"> | ||
<img src="https://avatars.githubusercontent.com/u/2276718?v=4" width="90;" alt="liudonghua123"/> | ||
<br /> | ||
<sub><b>Abu Taher Siddik</b></sub> | ||
<sub><b>Liudonghua</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/ACGNnsj"> | ||
<img src="https://avatars.githubusercontent.com/u/22112141?v=4" width="90;" alt="ACGNnsj"/> | ||
<a href="https://github.com/liusishan"> | ||
<img src="https://avatars.githubusercontent.com/u/33129823?v=4" width="90;" alt="liusishan"/> | ||
<br /> | ||
<sub><b>Null</b></sub> | ||
<sub><b>Liusishan</b></sub> | ||
</a> | ||
@@ -414,7 +414,14 @@ </td></tr> | ||
<td align="center"> | ||
<a href="https://github.com/2nthony"> | ||
<img src="https://avatars.githubusercontent.com/u/19513289?v=4" width="90;" alt="2nthony"/> | ||
<a href="https://github.com/piaoyidage"> | ||
<img src="https://avatars.githubusercontent.com/u/5135405?v=4" width="90;" alt="piaoyidage"/> | ||
<br /> | ||
<sub><b>2nthony</b></sub> | ||
<sub><b>Ranger</b></sub> | ||
</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/hetz"> | ||
<img src="https://avatars.githubusercontent.com/u/820141?v=4" width="90;" alt="hetz"/> | ||
<br /> | ||
<sub><b>贺天卓</b></sub> | ||
</a> | ||
</td></tr> | ||
@@ -421,0 +428,0 @@ </table> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11327090
2760
437