Merge pull request #4853 from h3poteto/feat/appx2

Build appx2 for windows store
This commit is contained in:
AkiraFukushima 2024-03-01 20:19:05 +09:00 committed by GitHub
commit 585746415a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 270 additions and 6 deletions

View File

@ -9,6 +9,7 @@
"dev": "nextron",
"build": "nextron build",
"build:mas": "nextron build --config ./electron-builder.mas.yml",
"package:appx2": "nextron build --win --x64 && electron-windows-store --assets ./resources/icons --input-directory ./dist/win-unpacked --output-directory ./dist/appx --package-name Whalebird --package-display-name Whalebird --package-version 6.0.2.0 --publisher-display-name h3poteto --identity-name 45610h3poteto.Whalebird",
"postinstall": "electron-builder install-app-deps",
"typecheck": "tsc -p renderer --noEmit && tsc -p main --noEmit",
"lint": "eslint renderer --ext ts,tsx",
@ -42,6 +43,7 @@
"autoprefixer": "^10.4.16",
"electron": "^27.3.0",
"electron-builder": "^24.6.4",
"electron-windows-store": "^2.1.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.2",

274
yarn.lock
View File

@ -2688,6 +2688,7 @@ __metadata:
electron-builder: ^24.6.4
electron-serve: ^1.1.0
electron-store: ^8.1.0
electron-windows-store: ^2.1.0
emoji-mart: ^5.5.2
eslint: ^8.55.0
eslint-config-prettier: ^9.0.0
@ -2829,6 +2830,27 @@ __metadata:
languageName: node
linkType: hard
"ansi-escapes@npm:^3.2.0":
version: 3.2.0
resolution: "ansi-escapes@npm:3.2.0"
checksum: 0f94695b677ea742f7f1eed961f7fd8d05670f744c6ad1f8f635362f6681dcfbc1575cb05b43abc7bb6d67e25a75fb8c7ea8f2a57330eb2c76b33f18cb2cef0a
languageName: node
linkType: hard
"ansi-regex@npm:^3.0.0":
version: 3.0.1
resolution: "ansi-regex@npm:3.0.1"
checksum: 09daf180c5f59af9850c7ac1bd7fda85ba596cc8cbeb210826e90755f06c818af86d9fa1e6e8322fab2c3b9e9b03f56c537b42241139f824dd75066a1e7257cc
languageName: node
linkType: hard
"ansi-regex@npm:^4.1.0":
version: 4.1.1
resolution: "ansi-regex@npm:4.1.1"
checksum: b1a6ee44cb6ecdabaa770b2ed500542714d4395d71c7e5c25baa631f680fb2ad322eb9ba697548d498a6fd366949fc8b5bfcf48d49a32803611f648005b01888
languageName: node
linkType: hard
"ansi-regex@npm:^5.0.1":
version: 5.0.1
resolution: "ansi-regex@npm:5.0.1"
@ -3445,7 +3467,7 @@ __metadata:
languageName: node
linkType: hard
"chalk@npm:^2.4.2":
"chalk@npm:^2.4.1, chalk@npm:^2.4.2":
version: 2.4.2
resolution: "chalk@npm:2.4.2"
dependencies:
@ -3456,6 +3478,13 @@ __metadata:
languageName: node
linkType: hard
"chardet@npm:^0.7.0":
version: 0.7.0
resolution: "chardet@npm:0.7.0"
checksum: 6fd5da1f5d18ff5712c1e0aed41da200d7c51c28f11b36ee3c7b483f3696dabc08927fc6b227735eb8f0e1215c9a8abd8154637f3eff8cada5959df7f58b024d
languageName: node
linkType: hard
"chokidar@npm:^3.5.3":
version: 3.5.3
resolution: "chokidar@npm:3.5.3"
@ -3517,6 +3546,15 @@ __metadata:
languageName: node
linkType: hard
"cli-cursor@npm:^2.1.0":
version: 2.1.0
resolution: "cli-cursor@npm:2.1.0"
dependencies:
restore-cursor: ^2.0.0
checksum: d88e97bfdac01046a3ffe7d49f06757b3126559d7e44aa2122637eb179284dc6cd49fca2fac4f67c19faaf7e6dab716b6fe1dfcd309977407d8c7578ec2d044d
languageName: node
linkType: hard
"cli-truncate@npm:^2.1.0":
version: 2.1.0
resolution: "cli-truncate@npm:2.1.0"
@ -3527,6 +3565,13 @@ __metadata:
languageName: node
linkType: hard
"cli-width@npm:^2.0.0":
version: 2.2.1
resolution: "cli-width@npm:2.2.1"
checksum: 3c21b897a2ff551ae5b3c3ab32c866ed2965dcf7fb442f81adf0e27f4a397925c8f84619af7bcc6354821303f6ee9b2aa31d248306174f32c287986158cf4eed
languageName: node
linkType: hard
"cliui@npm:^8.0.1":
version: 8.0.1
resolution: "cliui@npm:8.0.1"
@ -3599,7 +3644,7 @@ __metadata:
languageName: node
linkType: hard
"commander@npm:^2.20.0":
"commander@npm:^2.19.0, commander@npm:^2.20.0":
version: 2.20.3
resolution: "commander@npm:2.20.3"
checksum: ab8c07884e42c3a8dbc5dd9592c606176c7eb5c1ca5ff274bcf907039b2c41de3626f684ea75ccf4d361ba004bbaff1f577d5384c155f3871e456bdf27becf9e
@ -4086,6 +4131,25 @@ __metadata:
languageName: node
linkType: hard
"electron-windows-store@npm:^2.1.0":
version: 2.1.0
resolution: "electron-windows-store@npm:2.1.0"
dependencies:
chalk: ^2.4.1
commander: ^2.19.0
debug: ^4.1.0
fs-extra: ^7.0.0
inquirer: ^6.2.0
lodash.defaults: ^4.2.0
lodash.merge: ^4.6.1
multiline: ^2.0.0
path-exists: ^3.0.0
bin:
electron-windows-store: bin/windowsstore.js
checksum: 3e13c8fa032543de6d84d442e54527220b4be04e139ef1586506527265c9bbd5831a49429d3ac65abdaa257d579670eecb4b820a584d05e8e477dead05798179
languageName: node
linkType: hard
"electron@npm:^27.3.0":
version: 27.3.2
resolution: "electron@npm:27.3.2"
@ -4497,6 +4561,17 @@ __metadata:
languageName: node
linkType: hard
"external-editor@npm:^3.0.3":
version: 3.1.0
resolution: "external-editor@npm:3.1.0"
dependencies:
chardet: ^0.7.0
iconv-lite: ^0.4.24
tmp: ^0.0.33
checksum: 1c2a616a73f1b3435ce04030261bed0e22d4737e14b090bb48e58865da92529c9f2b05b893de650738d55e692d071819b45e1669259b2b354bc3154d27a698c7
languageName: node
linkType: hard
"extract-zip@npm:^2.0.1":
version: 2.0.1
resolution: "extract-zip@npm:2.0.1"
@ -4573,6 +4648,15 @@ __metadata:
languageName: node
linkType: hard
"figures@npm:^2.0.0":
version: 2.0.0
resolution: "figures@npm:2.0.0"
dependencies:
escape-string-regexp: ^1.0.5
checksum: 081beb16ea57d1716f8447c694f637668322398b57017b20929376aaf5def9823b35245b734cdd87e4832dc96e9c6f46274833cada77bfe15e5f980fea1fd21f
languageName: node
linkType: hard
"file-entry-cache@npm:^6.0.1":
version: 6.0.1
resolution: "file-entry-cache@npm:6.0.1"
@ -4765,6 +4849,17 @@ __metadata:
languageName: node
linkType: hard
"fs-extra@npm:^7.0.0":
version: 7.0.1
resolution: "fs-extra@npm:7.0.1"
dependencies:
graceful-fs: ^4.1.2
jsonfile: ^4.0.0
universalify: ^0.1.0
checksum: 141b9dccb23b66a66cefdd81f4cda959ff89282b1d721b98cea19ba08db3dcbe6f862f28841f3cf24bb299e0b7e6c42303908f65093cb7e201708e86ea5a8dcf
languageName: node
linkType: hard
"fs-extra@npm:^8.1.0":
version: 8.1.0
resolution: "fs-extra@npm:8.1.0"
@ -5233,6 +5328,15 @@ __metadata:
languageName: node
linkType: hard
"iconv-lite@npm:^0.4.24":
version: 0.4.24
resolution: "iconv-lite@npm:0.4.24"
dependencies:
safer-buffer: ">= 2.1.2 < 3"
checksum: bd9f120f5a5b306f0bc0b9ae1edeb1577161503f5f8252a20f1a9e56ef8775c9959fd01c55f2d3a39d9a8abaf3e30c1abeb1895f367dcbbe0a8fd1c9ca01c4f6
languageName: node
linkType: hard
"iconv-lite@npm:^0.6.2":
version: 0.6.3
resolution: "iconv-lite@npm:0.6.3"
@ -5297,6 +5401,27 @@ __metadata:
languageName: node
linkType: hard
"inquirer@npm:^6.2.0":
version: 6.5.2
resolution: "inquirer@npm:6.5.2"
dependencies:
ansi-escapes: ^3.2.0
chalk: ^2.4.2
cli-cursor: ^2.1.0
cli-width: ^2.0.0
external-editor: ^3.0.3
figures: ^2.0.0
lodash: ^4.17.12
mute-stream: 0.0.7
run-async: ^2.2.0
rxjs: ^6.4.0
string-width: ^2.1.0
strip-ansi: ^5.1.0
through: ^2.3.6
checksum: 175ad4cd1ebed493b231b240185f1da5afeace5f4e8811dfa83cf55dcae59c3255eaed990aa71871b0fd31aa9dc212f43c44c50ed04fb529364405e72f484d28
languageName: node
linkType: hard
"internal-slot@npm:^1.0.5":
version: 1.0.6
resolution: "internal-slot@npm:1.0.6"
@ -5427,6 +5552,13 @@ __metadata:
languageName: node
linkType: hard
"is-fullwidth-code-point@npm:^2.0.0":
version: 2.0.0
resolution: "is-fullwidth-code-point@npm:2.0.0"
checksum: eef9c6e15f68085fec19ff6a978a6f1b8f48018fd1265035552078ee945573594933b09bbd6f562553e2a241561439f1ef5339276eba68d272001343084cfab8
languageName: node
linkType: hard
"is-fullwidth-code-point@npm:^3.0.0":
version: 3.0.0
resolution: "is-fullwidth-code-point@npm:3.0.0"
@ -5943,14 +6075,21 @@ __metadata:
languageName: node
linkType: hard
"lodash.merge@npm:^4.6.2":
"lodash.defaults@npm:^4.2.0":
version: 4.2.0
resolution: "lodash.defaults@npm:4.2.0"
checksum: 84923258235592c8886e29de5491946ff8c2ae5c82a7ac5cddd2e3cb697e6fbdfbbb6efcca015795c86eec2bb953a5a2ee4016e3735a3f02720428a40efbb8f1
languageName: node
linkType: hard
"lodash.merge@npm:^4.6.1, lodash.merge@npm:^4.6.2":
version: 4.6.2
resolution: "lodash.merge@npm:4.6.2"
checksum: ad580b4bdbb7ca1f7abf7e1bce63a9a0b98e370cf40194b03380a46b4ed799c9573029599caebc1b14e3f24b111aef72b96674a56cfa105e0f5ac70546cdc005
languageName: node
linkType: hard
"lodash@npm:^4.17.15":
"lodash@npm:^4.17.12, lodash@npm:^4.17.15":
version: 4.17.21
resolution: "lodash@npm:4.17.21"
checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7
@ -6102,6 +6241,13 @@ __metadata:
languageName: node
linkType: hard
"mimic-fn@npm:^1.0.0":
version: 1.2.0
resolution: "mimic-fn@npm:1.2.0"
checksum: 69c08205156a1f4906d9c46f9b4dc08d18a50176352e77fdeb645cedfe9f20c0b19865d465bd2dec27a5c432347f24dc07fc3695e11159d193f892834233e939
languageName: node
linkType: hard
"mimic-fn@npm:^2.1.0":
version: 2.1.0
resolution: "mimic-fn@npm:2.1.0"
@ -6264,6 +6410,22 @@ __metadata:
languageName: node
linkType: hard
"multiline@npm:^2.0.0":
version: 2.0.0
resolution: "multiline@npm:2.0.0"
dependencies:
strip-indent: ^2.0.0
checksum: dd9eb1550d1cdf1857fbdd149168373c688bddd98c987e3eb45f2ba59a4ede523cc3109fe231aa7b2ddffc9d151679718cf841c52876ec9f08bb4719980b9ba2
languageName: node
linkType: hard
"mute-stream@npm:0.0.7":
version: 0.0.7
resolution: "mute-stream@npm:0.0.7"
checksum: a9d4772c1c84206aa37c218ed4751cd060239bf1d678893124f51e037f6f22f4a159b2918c030236c93252638a74beb29c9b1fd3267c9f24d4b3253cf1eaa86f
languageName: node
linkType: hard
"mz@npm:^2.7.0":
version: 2.7.0
resolution: "mz@npm:2.7.0"
@ -6578,6 +6740,15 @@ __metadata:
languageName: node
linkType: hard
"onetime@npm:^2.0.0":
version: 2.0.1
resolution: "onetime@npm:2.0.1"
dependencies:
mimic-fn: ^1.0.0
checksum: bb44015ac7a525d0fb43b029a583d4ad359834632b4424ca209b438aacf6d669dda81b5edfbdb42c22636e607b276ba5589f46694a729e3bc27948ce26f4cc1a
languageName: node
linkType: hard
"onetime@npm:^5.1.2":
version: 5.1.2
resolution: "onetime@npm:5.1.2"
@ -6601,6 +6772,13 @@ __metadata:
languageName: node
linkType: hard
"os-tmpdir@npm:~1.0.2":
version: 1.0.2
resolution: "os-tmpdir@npm:1.0.2"
checksum: 5666560f7b9f10182548bf7013883265be33620b1c1b4a4d405c25be2636f970c5488ff3e6c48de75b55d02bde037249fe5dbfbb4c0fb7714953d56aed062e6d
languageName: node
linkType: hard
"p-cancelable@npm:^2.0.0":
version: 2.1.1
resolution: "p-cancelable@npm:2.1.1"
@ -7304,6 +7482,16 @@ __metadata:
languageName: node
linkType: hard
"restore-cursor@npm:^2.0.0":
version: 2.0.0
resolution: "restore-cursor@npm:2.0.0"
dependencies:
onetime: ^2.0.0
signal-exit: ^3.0.2
checksum: 482e13d02d834b6e5e3aa90304a8b5e840775d6f06916cc92a50038adf9f098dcc72405b567da8a37e137ae40ad3e31896fa3136ae62f7a426c2fbf53d036536
languageName: node
linkType: hard
"retry@npm:^0.12.0":
version: 0.12.0
resolution: "retry@npm:0.12.0"
@ -7343,6 +7531,13 @@ __metadata:
languageName: node
linkType: hard
"run-async@npm:^2.2.0":
version: 2.4.1
resolution: "run-async@npm:2.4.1"
checksum: a2c88aa15df176f091a2878eb840e68d0bdee319d8d97bbb89112223259cebecb94bc0defd735662b83c2f7a30bed8cddb7d1674eb48ae7322dc602b22d03797
languageName: node
linkType: hard
"run-parallel@npm:^1.1.9":
version: 1.2.0
resolution: "run-parallel@npm:1.2.0"
@ -7352,6 +7547,15 @@ __metadata:
languageName: node
linkType: hard
"rxjs@npm:^6.4.0":
version: 6.6.7
resolution: "rxjs@npm:6.6.7"
dependencies:
tslib: ^1.9.0
checksum: bc334edef1bb8bbf56590b0b25734ba0deaf8825b703256a93714308ea36dff8a11d25533671adf8e104e5e8f256aa6fdfe39b2e248cdbd7a5f90c260acbbd1b
languageName: node
linkType: hard
"safe-array-concat@npm:^1.0.1":
version: 1.0.1
resolution: "safe-array-concat@npm:1.0.1"
@ -7382,7 +7586,7 @@ __metadata:
languageName: node
linkType: hard
"safer-buffer@npm:>= 2.1.2 < 3.0.0":
"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0":
version: 2.1.2
resolution: "safer-buffer@npm:2.1.2"
checksum: cab8f25ae6f1434abee8d80023d7e72b598cf1327164ddab31003c51215526801e40b66c5e65d658a0af1e9d6478cadcb4c745f4bd6751f97d8644786c0978b0
@ -7555,7 +7759,7 @@ __metadata:
languageName: node
linkType: hard
"signal-exit@npm:^3.0.3":
"signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3":
version: 3.0.7
resolution: "signal-exit@npm:3.0.7"
checksum: a2f098f247adc367dffc27845853e9959b9e88b01cb301658cfe4194352d8d2bb32e18467c786a7fe15f1d44b233ea35633d076d5e737870b7139949d1ab6318
@ -7682,6 +7886,16 @@ __metadata:
languageName: node
linkType: hard
"string-width@npm:^2.1.0":
version: 2.1.1
resolution: "string-width@npm:2.1.1"
dependencies:
is-fullwidth-code-point: ^2.0.0
strip-ansi: ^4.0.0
checksum: d6173abe088c615c8dffaf3861dc5d5906ed3dc2d6fd67ff2bd2e2b5dce7fd683c5240699cf0b1b8aa679a3b3bd6b28b5053c824cb89b813d7f6541d8f89064a
languageName: node
linkType: hard
"string-width@npm:^5.0.1, string-width@npm:^5.1.2":
version: 5.1.2
resolution: "string-width@npm:5.1.2"
@ -7752,6 +7966,24 @@ __metadata:
languageName: node
linkType: hard
"strip-ansi@npm:^4.0.0":
version: 4.0.0
resolution: "strip-ansi@npm:4.0.0"
dependencies:
ansi-regex: ^3.0.0
checksum: d9186e6c0cf78f25274f6750ee5e4a5725fb91b70fdd79aa5fe648eab092a0ec5b9621b22d69d4534a56319f75d8944efbd84e3afa8d4ad1b9a9491f12c84eca
languageName: node
linkType: hard
"strip-ansi@npm:^5.1.0":
version: 5.2.0
resolution: "strip-ansi@npm:5.2.0"
dependencies:
ansi-regex: ^4.1.0
checksum: bdb5f76ade97062bd88e7723aa019adbfacdcba42223b19ccb528ffb9fb0b89a5be442c663c4a3fb25268eaa3f6ea19c7c3fbae830bd1562d55adccae1fcec46
languageName: node
linkType: hard
"strip-ansi@npm:^7.0.1":
version: 7.1.0
resolution: "strip-ansi@npm:7.1.0"
@ -7775,6 +8007,13 @@ __metadata:
languageName: node
linkType: hard
"strip-indent@npm:^2.0.0":
version: 2.0.0
resolution: "strip-indent@npm:2.0.0"
checksum: 7d9080d02ddace616ebbc17846e41d3880cb147e2a81e51142281322ded6b05b230a4fb12c2e5266f62735cf8f5fb9839e55d74799d11f26bcc8c71ca049a0ba
languageName: node
linkType: hard
"strip-json-comments@npm:^3.1.1":
version: 3.1.1
resolution: "strip-json-comments@npm:3.1.1"
@ -8006,6 +8245,13 @@ __metadata:
languageName: node
linkType: hard
"through@npm:^2.3.6":
version: 2.3.8
resolution: "through@npm:2.3.8"
checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd
languageName: node
linkType: hard
"tmp-promise@npm:^3.0.2":
version: 3.0.3
resolution: "tmp-promise@npm:3.0.3"
@ -8015,6 +8261,15 @@ __metadata:
languageName: node
linkType: hard
"tmp@npm:^0.0.33":
version: 0.0.33
resolution: "tmp@npm:0.0.33"
dependencies:
os-tmpdir: ~1.0.2
checksum: 902d7aceb74453ea02abbf58c203f4a8fc1cead89b60b31e354f74ed5b3fb09ea817f94fb310f884a5d16987dd9fa5a735412a7c2dd088dd3d415aa819ae3a28
languageName: node
linkType: hard
"tmp@npm:^0.2.0":
version: 0.2.1
resolution: "tmp@npm:0.2.1"
@ -8087,6 +8342,13 @@ __metadata:
languageName: node
linkType: hard
"tslib@npm:^1.9.0":
version: 1.14.1
resolution: "tslib@npm:1.14.1"
checksum: dbe628ef87f66691d5d2959b3e41b9ca0045c3ee3c7c7b906cc1e328b39f199bb1ad9e671c39025bd56122ac57dfbf7385a94843b1cc07c60a4db74795829acd
languageName: node
linkType: hard
"tslib@npm:^2.0.0, tslib@npm:^2.1.0, tslib@npm:^2.3.1, tslib@npm:^2.4.0":
version: 2.6.2
resolution: "tslib@npm:2.6.2"