pake-cli 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +22 -2
  2. package/dist/cli.js +1 -1918
  3. package/package.json +10 -4
  4. package/src-tauri/src/main.rs +1 -3
  5. package/src-tauri/tauri.conf.json +1 -1
  6. package/.ecrc.json +0 -3
  7. package/.editorconfig +0 -24
  8. package/.github/FUNDING.yml +0 -2
  9. package/.github/ISSUE_TEMPLATE/bug.md +0 -13
  10. package/.github/workflows/editorconfig-check.yml +0 -23
  11. package/.github/workflows/main.yml +0 -17
  12. package/.github/workflows/rust-code-quality-check.yml +0 -89
  13. package/.prettierignore +0 -4
  14. package/.vscode/settings.json +0 -8
  15. package/CODE_OF_CONDUCT.md +0 -128
  16. package/CONTRIBUTING.md +0 -26
  17. package/README_EN.md +0 -148
  18. package/app.csv +0 -9
  19. package/bin/README.md +0 -72
  20. package/bin/builders/BuilderFactory.ts +0 -12
  21. package/bin/builders/LinuxBuilder.ts +0 -0
  22. package/bin/builders/MacBuilder.ts +0 -65
  23. package/bin/builders/WinBulider.ts +0 -0
  24. package/bin/builders/base.ts +0 -16
  25. package/bin/builders/common.ts +0 -11
  26. package/bin/cli.ts +0 -36
  27. package/bin/defaults.ts +0 -13
  28. package/bin/helpers/rust.ts +0 -21
  29. package/bin/helpers/tauriConfig.ts +0 -8
  30. package/bin/options/icon.ts +0 -97
  31. package/bin/options/index.ts +0 -22
  32. package/bin/types.ts +0 -29
  33. package/bin/utils/platform.ts +0 -5
  34. package/bin/utils/shell.ts +0 -13
  35. package/bin/utils/tlds.ts +0 -1489
  36. package/bin/utils/url.ts +0 -47
  37. package/bin/utils/validate.ts +0 -18
  38. package/icns2png.py +0 -38
  39. package/pake-default.icns +0 -0
  40. package/rollup.config.js +0 -24
  41. package/script/build.bat +0 -80
  42. package/script/build.sh +0 -122
  43. package/script/sd-apple-x64 +0 -0
  44. package/script/sd-linux-x64 +0 -0
  45. package/script/sd.exe +0 -0
  46. package/tsconfig.json +0 -17
package/README.md CHANGED
@@ -74,7 +74,7 @@
74
74
  | <kbd>⌘</kbd> + <kbd>r</kbd> | <kbd>Ctrl</kbd> + <kbd>r</kbd> | 刷新页面 |
75
75
  | <kbd>⌘</kbd> + <kbd>w</kbd> | <kbd>Ctrl</kbd> + <kbd>w</kbd> | 隐藏窗口,非退出 |
76
76
  | <kbd>⌘</kbd> + <kbd>-</kbd> | <kbd>Ctrl</kbd> + <kbd>-</kbd> | 缩小页面 |
77
- | <kbd>⌘</kbd> + <kbd>w</kbd> | <kbd>Ctrl</kbd> + <kbd>+</kbd> | 放大页面 |
77
+ | <kbd>⌘</kbd> + <kbd>+</kbd> | <kbd>Ctrl</kbd> + <kbd>+</kbd> | 放大页面 |
78
78
  | <kbd>⌘</kbd> + <kbd>=</kbd> | <kbd>Ctrl</kbd> + <kbd>=</kbd> | 放大页面 |
79
79
  | <kbd>⌘</kbd> + <kbd>0</kbd> | <kbd>Ctrl</kbd> + <kbd>0</kbd> | 重置页面缩放 |
80
80
 
@@ -82,9 +82,29 @@
82
82
 
83
83
  ## 注意点
84
84
 
85
- - Windows 下不能安装到 C:\Program File,会直接闪退。建议安装到其他目录,比如 D:\Program Files。
85
+ - Windows 下不能安装到 C:\Program File,会直接闪退。建议安装到其他非管理员权限目录,比如 D:\Program Files (x86)
86
86
  - Linux 下暂时不能存 cookie,即应用关闭后数据清空,账号自动推出。
87
87
 
88
+ ## 使用命令行打包
89
+
90
+ Pake 提供了命令行工具,可以更快捷方便地打包。(目前仅支持 MacOS)
91
+
92
+ ### 安装
93
+
94
+ ```bash
95
+ npm install -g pake-cli
96
+ ```
97
+
98
+ 如果安装失败提示没有权限,请使用 `sudo` 运行。
99
+
100
+ ### 用法
101
+
102
+ ```bash
103
+ pake [options] url
104
+ ```
105
+
106
+ 更多用法可查看[文档](./bin//README.md)。
107
+
88
108
  ## 开发
89
109
 
90
110
  开始前参考 [Tauri](https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-macos) 快速配置好环境。