mirror of
https://github.com/kuaifan/dootask.git
synced 2026-10-29 22:10:42 +00:00
fix(electron): 打包工具白名单支持 app-builder-lib 26.18.0
This commit is contained in:
parent
775ad00cca
commit
1c0228f7e0
2
electron/scripts/patch-mac-keychain.js
vendored
2
electron/scripts/patch-mac-keychain.js
vendored
@ -13,7 +13,7 @@ const replacements = [
|
||||
];
|
||||
|
||||
function patchSource(source, version) {
|
||||
if (!['26.8.1', '26.15.3'].includes(version)) {
|
||||
if (!['26.8.1', '26.15.3', '26.18.0'].includes(version)) {
|
||||
throw new Error(`Unsupported app-builder-lib ${version}; review the macOS keychain workaround before building.`);
|
||||
}
|
||||
const count = (text) => source.split(text).length - 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user