File tree Expand file tree Collapse file tree 5 files changed +4
-54
lines changed
Expand file tree Collapse file tree 5 files changed +4
-54
lines changed Original file line number Diff line number Diff line change 5252 steps :
5353 - uses : actions/checkout@v4
5454 - uses : actions/download-artifact@v4
55-
56- # Kiwi browser https://github.com/kiwibrowser/src.next/issues/1138
57- - run : npm install dot-json@1 -g
58- - run : npm run manifest artifact 3
59-
6055 - run : npx chrome-webstore-upload-cli@3
6156 working-directory : artifact
6257 env :
7368 steps :
7469 - uses : actions/checkout@v4
7570 - uses : actions/download-artifact@v4
76-
77- # Firefox https://github.com/refined-github/refined-github/issues/7477
78- - run : npm install dot-json@1
79- - run : npm run manifest artifact 2
80-
8171 - name : Upload build and source code
8272 run : npx web-ext@8 sign --channel listed
8373 working-directory : artifact
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 66 "build" : " run-p build:* --continue-on-error" ,
77 "build:typescript" : " tsc --noEmit" ,
88 "build:bundle" : " rollup -c" ,
9- "manifest" : " node build/manifest.js" ,
109 "fix" : " run-p \" lint:css -- --fix\" \" lint:js -- --fix\" fix:prettier \" vitest -- --update\" --continue-on-error" ,
1110 "fix:prettier" : " prettier . --write" ,
1211 "lint" : " run-p lint:* --continue-on-error" ,
Original file line number Diff line number Diff line change @@ -46,8 +46,7 @@ handleMessages({
4646 } ,
4747} ) ;
4848
49- // `browserAction` needed for Firefox MV2 https://github.com/refined-github/refined-github/issues/7477
50- ( chrome . action ?? chrome . browserAction ) . onClicked . addListener ( async tab => {
49+ chrome . action . onClicked . addListener ( async tab => {
5150 if ( doesBrowserActionOpenOptions ) {
5251 void chrome . runtime . openOptionsPage ( ) ;
5352 return ;
Original file line number Diff line number Diff line change 1919
2020 $ : if (stepValid === 3 ) {
2121 setTimeout (() => {
22- location .href = ' https://github.com/refined-github/refined-github/wiki' ;
22+ location .replace ( ' https://github.com/refined-github/refined-github/wiki' ) ;
2323 }, 2000 );
2424 }
2525
5252 }
5353
5454 async function verifyToken() {
55- try {
56- await hasValidGitHubComToken (tokenInput );
55+ if (await hasValidGitHubComToken (tokenInput )) {
5756 stepValid = 3 ;
5857 tokenError = ' ' ;
59- } catch {
58+ } else {
6059 tokenError = ' Invalid token' ;
6160 }
6261 }
You can’t perform that action at this time.
0 commit comments