From 8f24eeffb5f83ca0df312e63f270c423867d7157 Mon Sep 17 00:00:00 2001 From: Kittizz <62899732+kittizz@users.noreply.github.com> Date: Wed, 5 Mar 2025 06:12:18 +0700 Subject: [PATCH 1/3] fix(cli.ts): multiple files in --inject option to allow injecting multiple .js or .css files --- bin/cli.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/cli.ts b/bin/cli.ts index dd8a369..671221a 100644 --- a/bin/cli.ts +++ b/bin/cli.ts @@ -30,7 +30,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()) From ab90e3f77e9cf78a5db2ef8f1a5c030925cc45bb Mon Sep 17 00:00:00 2001 From: Kittizz <62899732+kittizz@users.noreply.github.com> Date: Wed, 5 Mar 2025 06:13:18 +0700 Subject: [PATCH 2/3] build cli --- dist/cli.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/cli.js b/dist/cli.js index 9ddd49f..2f58f68 100644 --- a/dist/cli.js +++ b/dist/cli.js @@ -778,7 +778,6 @@ const DEFAULT_PAKE_OPTIONS = { height: 780, width: 1200, fullscreen: false, - resizable: true, hideTitleBar: false, alwaysOnTop: false, appVersion: '1.0.0', @@ -977,7 +976,7 @@ program .option('--fullscreen', 'Start in full screen', DEFAULT_PAKE_OPTIONS.fullscreen) .option('--hide-title-bar', 'For Mac, hide title bar', DEFAULT_PAKE_OPTIONS.hideTitleBar) .option('--multi-arch', 'For Mac, both Intel and M1', DEFAULT_PAKE_OPTIONS.multiArch) - .option('--inject ', 'Injection of .js or .css files', DEFAULT_PAKE_OPTIONS.inject) + .option('--inject <./style.css,./script.js,...>', 'Injection of .js or .css files', (val, previous) => (val ? val.split(',').map(item => item.trim()) : DEFAULT_PAKE_OPTIONS.inject), DEFAULT_PAKE_OPTIONS.inject) .option('--debug', 'Debug build and more output', DEFAULT_PAKE_OPTIONS.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_PAKE_OPTIONS.userAgent).hideHelp()) From 6f97225edc5259801912b97ea15b265bddb0e06d Mon Sep 17 00:00:00 2001 From: Tw93 Date: Tue, 5 Aug 2025 15:40:26 +0800 Subject: [PATCH 3/3] docs(contributor): contrib-readme-action has updated readme --- README.md | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 35f4e55..1debd83 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