diff --git a/README.md b/README.md index a918ec7..9f6fae5 100644 --- a/README.md +++ b/README.md @@ -300,14 +300,21 @@ Pake's development can not be without these Hackers. They contributed a lot of c GoodbyeNJN + + + kittizz +
+ Kittizz +
+ + mattbajorek
Matt Bajorek
- - + QingZ11 @@ -349,15 +356,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
孟世博
- + + 2nthony
2nthony
- - + ACGNnsj @@ -399,15 +406,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
Fechin
- + + ImgBotApp
Imgbot
- - + droid-Q @@ -449,15 +456,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
Null
- + + houhoz
Hyzhao
- - + lakca diff --git a/bin/cli.ts b/bin/cli.ts index f295a3b..cc42da2 100644 --- a/bin/cli.ts +++ b/bin/cli.ts @@ -39,7 +39,12 @@ program .option('--fullscreen', 'Start in full screen', DEFAULT.fullscreen) .option('--hide-title-bar', 'For Mac, hide title bar', DEFAULT.hideTitleBar) .option('--multi-arch', 'For Mac, both Intel and M1', DEFAULT.multiArch) - .option('--inject ', '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) .addOption(new Option('--proxy-url ', 'Proxy URL for all network requests').default(DEFAULT_PAKE_OPTIONS.proxyUrl).hideHelp()) .addOption(new Option('--user-agent ', 'Custom user agent').default(DEFAULT.userAgent).hideHelp()) diff --git a/dist/cli.js b/dist/cli.js index 91f8e17..22d8487 100644 --- a/dist/cli.js +++ b/dist/cli.js @@ -785,7 +785,6 @@ const DEFAULT_PAKE_OPTIONS = { height: 780, width: 1200, fullscreen: false, - resizable: true, hideTitleBar: false, alwaysOnTop: false, appVersion: '1.0.0',