You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
Ensure that your Node.js version is 18.0 or higher (e.g., 18.20.2). Avoid using `sudo` for the installation. If you encounter permission issues with npm, refer to [How to fix npm throwing error without sudo](https://stackoverflow.com/questions/16151018/how-to-fix-npm-throwing-error-without-sudo).
6
6
7
7
```bash
8
-
npm install pake-cli -g
8
+
npm install pake-cli -g
9
9
```
10
10
11
11
## Considerations for Windows & Linux Users
@@ -40,14 +40,15 @@ npm install pake-cli -g
40
40
## Usage
41
41
42
42
### Development
43
+
43
44
The `DEFAULT_DEV_PAKE_OPTIONS` configuration in `bin/defaults.ts` can be modified at development time to match the `pake-cli` configuration description.
Set the activation shortcut for the application. Default is ``, it does not take effect, you can customize the activation shortcut with the following commands, e.g. `CmdOrControl+Shift+P`, use can refer to [available-modifiers](https://www.electronjs.org/docs/latest/api/accelerator#available-modifiers).
@@ -221,7 +221,7 @@ Enable recursive copying. When the URL is a local file path, enabling this optio
221
221
222
222
#### [inject]
223
223
224
-
Using `inject`, you can inject local absolute and relative path `css` and `js` files into the page you specify the `url` to customize it. For example, an adblock script that can be applied to any web page, or a `css` that optimizes the `UI` of a page, you can write it once to customize it. would only need to write the `app` once to generalize it to any other page.
224
+
Using `inject`, you can inject local absolute and relative path `css` and `js` files into the page you specify the `url` to customize it. For example, an adblock script that can be applied to any web page, or a `css` that optimizes the `UI` of a page, you can write it once to customize it. would only need to write the `app` once to generalize it to any other page.
225
225
226
226
```shell
227
227
--inject ./tools/style.css,./tools/hotkey.js
@@ -248,4 +248,3 @@ The typed package has dev-tools for debugging, in addition to outputting more lo
248
248
## Conclusion
249
249
250
250
After completing the above steps, your application should be successfully packaged. Please note that the packaging process may take some time depending on your system configuration and network conditions. Be patient, and once the packaging is complete, you can find the application installer in the specified directory.
// Tray icon, default same as app icon for Windows and Linux, macOS requires separate png or ico
43
43
systemTrayIcon: string;
44
44
45
-
// Recursive copy, when url is a local file path, if this option is enabled, the url path file and all its subfiles will be copied to the pake static file folder, default off
45
+
// Recursive copy, when url is a local file path, if this option is enabled, the url path file and all its subFiles will be copied to the pake static file folder, default off
46
46
useLocalFile: false;
47
47
48
48
// Multi arch, supports both Intel and M1 chips, only for Mac
0 commit comments