Merge branch 'main' into dev
This commit is contained in:
29
README.md
29
README.md
@@ -300,14 +300,21 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|||||||
<sub><b>GoodbyeNJN</b></sub>
|
<sub><b>GoodbyeNJN</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/kittizz">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/62899732?v=4" width="90;" alt="kittizz"/>
|
||||||
|
<br />
|
||||||
|
<sub><b>Kittizz</b></sub>
|
||||||
|
</a>
|
||||||
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/mattbajorek">
|
<a href="https://github.com/mattbajorek">
|
||||||
<img src="https://avatars.githubusercontent.com/u/17235301?v=4" width="90;" alt="mattbajorek"/>
|
<img src="https://avatars.githubusercontent.com/u/17235301?v=4" width="90;" alt="mattbajorek"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Matt Bajorek</b></sub>
|
<sub><b>Matt Bajorek</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/QingZ11">
|
<a href="https://github.com/QingZ11">
|
||||||
<img src="https://avatars.githubusercontent.com/u/38887077?v=4" width="90;" alt="QingZ11"/>
|
<img src="https://avatars.githubusercontent.com/u/38887077?v=4" width="90;" alt="QingZ11"/>
|
||||||
@@ -349,15 +356,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>孟世博</b></sub>
|
<sub><b>孟世博</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/2nthony">
|
<a href="https://github.com/2nthony">
|
||||||
<img src="https://avatars.githubusercontent.com/u/19513289?v=4" width="90;" alt="2nthony"/>
|
<img src="https://avatars.githubusercontent.com/u/19513289?v=4" width="90;" alt="2nthony"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>2nthony</b></sub>
|
<sub><b>2nthony</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/ACGNnsj">
|
<a href="https://github.com/ACGNnsj">
|
||||||
<img src="https://avatars.githubusercontent.com/u/22112141?v=4" width="90;" alt="ACGNnsj"/>
|
<img src="https://avatars.githubusercontent.com/u/22112141?v=4" width="90;" alt="ACGNnsj"/>
|
||||||
@@ -399,15 +406,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Fechin</b></sub>
|
<sub><b>Fechin</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/ImgBotApp">
|
<a href="https://github.com/ImgBotApp">
|
||||||
<img src="https://avatars.githubusercontent.com/u/31427850?v=4" width="90;" alt="ImgBotApp"/>
|
<img src="https://avatars.githubusercontent.com/u/31427850?v=4" width="90;" alt="ImgBotApp"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Imgbot</b></sub>
|
<sub><b>Imgbot</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/droid-Q">
|
<a href="https://github.com/droid-Q">
|
||||||
<img src="https://avatars.githubusercontent.com/u/708277?v=4" width="90;" alt="droid-Q"/>
|
<img src="https://avatars.githubusercontent.com/u/708277?v=4" width="90;" alt="droid-Q"/>
|
||||||
@@ -449,15 +456,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/houhoz">
|
<a href="https://github.com/houhoz">
|
||||||
<img src="https://avatars.githubusercontent.com/u/19684376?v=4" width="90;" alt="houhoz"/>
|
<img src="https://avatars.githubusercontent.com/u/19684376?v=4" width="90;" alt="houhoz"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Hyzhao</b></sub>
|
<sub><b>Hyzhao</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/lakca">
|
<a href="https://github.com/lakca">
|
||||||
<img src="https://avatars.githubusercontent.com/u/16255922?v=4" width="90;" alt="lakca"/>
|
<img src="https://avatars.githubusercontent.com/u/16255922?v=4" width="90;" alt="lakca"/>
|
||||||
|
|||||||
7
bin/cli.ts
vendored
7
bin/cli.ts
vendored
@@ -39,7 +39,12 @@ program
|
|||||||
.option('--fullscreen', 'Start in full screen', DEFAULT.fullscreen)
|
.option('--fullscreen', 'Start in full screen', DEFAULT.fullscreen)
|
||||||
.option('--hide-title-bar', 'For Mac, hide title bar', DEFAULT.hideTitleBar)
|
.option('--hide-title-bar', 'For Mac, hide title bar', DEFAULT.hideTitleBar)
|
||||||
.option('--multi-arch', 'For Mac, both Intel and M1', DEFAULT.multiArch)
|
.option('--multi-arch', 'For Mac, both Intel and M1', DEFAULT.multiArch)
|
||||||
.option('--inject <url...>', 'Injection of .js or .css files', DEFAULT.inject)
|
.option(
|
||||||
|
'--inject <./style.css,./script.js,...>',
|
||||||
|
'Injection of .js or .css files',
|
||||||
|
(val, previous) => (val ? val.split(',').map(item => item.trim()) : DEFAULT.inject),
|
||||||
|
DEFAULT.inject,
|
||||||
|
)
|
||||||
.option('--debug', 'Debug build and more output', DEFAULT.debug)
|
.option('--debug', 'Debug build and more output', DEFAULT.debug)
|
||||||
.addOption(new Option('--proxy-url <url>', 'Proxy URL for all network requests').default(DEFAULT_PAKE_OPTIONS.proxyUrl).hideHelp())
|
.addOption(new Option('--proxy-url <url>', 'Proxy URL for all network requests').default(DEFAULT_PAKE_OPTIONS.proxyUrl).hideHelp())
|
||||||
.addOption(new Option('--user-agent <string>', 'Custom user agent').default(DEFAULT.userAgent).hideHelp())
|
.addOption(new Option('--user-agent <string>', 'Custom user agent').default(DEFAULT.userAgent).hideHelp())
|
||||||
|
|||||||
1
dist/cli.js
vendored
1
dist/cli.js
vendored
@@ -785,7 +785,6 @@ const DEFAULT_PAKE_OPTIONS = {
|
|||||||
height: 780,
|
height: 780,
|
||||||
width: 1200,
|
width: 1200,
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
resizable: true,
|
|
||||||
hideTitleBar: false,
|
hideTitleBar: false,
|
||||||
alwaysOnTop: false,
|
alwaysOnTop: false,
|
||||||
appVersion: '1.0.0',
|
appVersion: '1.0.0',
|
||||||
|
|||||||
Reference in New Issue
Block a user