Revert "only enable notarize when release"

This reverts commit 1e3febdc805b946fb768274e60bb25db5f2da7b1.
This commit is contained in:
Pompurin404 2024-12-31 14:40:12 +08:00
parent 0c345faddb
commit 0b06d2ac9d
No known key found for this signature in database
4 changed files with 3512 additions and 3250 deletions

View File

@ -197,10 +197,6 @@ jobs:
pnpm install
pnpm add @mihomo-party/sysproxy-darwin-${{ matrix.arch }}
pnpm prepare --${{ matrix.arch }}
- name: Enable Notarization
if: startsWith(github.ref, 'refs/tags/v')
run: |
sed -i "" -e "s/notarize: false/notarize: true/" electron-builder.yml
- name: Build
env:
npm_config_arch: ${{ matrix.arch }}
@ -256,10 +252,6 @@ jobs:
pnpm add @mihomo-party/sysproxy-darwin-${{ matrix.arch }}
pnpm add -D electron@32.2.2
pnpm prepare --${{ matrix.arch }}
- name: Enable Notarization
if: startsWith(github.ref, 'refs/tags/v')
run: |
sed -i "" -e "s/notarize: false/notarize: true/" electron-builder.yml
- name: Build
env:
npm_config_arch: ${{ matrix.arch }}

View File

@ -44,7 +44,7 @@ mac:
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false
notarize: true
artifactName: ${name}-macos-${version}-${arch}.${ext}
pkg:
allowAnywhere: false

View File

@ -25,70 +25,70 @@
"dependencies": {
"@electron-toolkit/preload": "^3.0.1",
"@electron-toolkit/utils": "^3.0.0",
"@mihomo-party/sysproxy": "^2.0.7",
"@mihomo-party/sysproxy": "^2.0.4",
"@types/crypto-js": "^4.2.2",
"adm-zip": "^0.5.16",
"axios": "^1.7.9",
"chokidar": "^4.0.3",
"axios": "^1.7.7",
"chokidar": "^4.0.1",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.13",
"express": "^5.0.1",
"iconv-lite": "^0.6.3",
"webdav": "^5.7.1",
"ws": "^8.18.0",
"yaml": "^2.7.0"
"yaml": "^2.6.0"
},
"devDependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/sortable": "^8.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@electron-toolkit/eslint-config-prettier": "^2.0.0",
"@electron-toolkit/eslint-config-ts": "^2.0.0",
"@electron-toolkit/tsconfig": "^1.0.1",
"@nextui-org/react": "^2.6.10",
"@types/adm-zip": "^0.5.7",
"@nextui-org/react": "^2.4.8",
"@types/adm-zip": "^0.5.6",
"@types/express": "^5.0.0",
"@types/node": "^22.10.2",
"@types/node": "^22.9.0",
"@types/pubsub-js": "^1.8.6",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/ws": "^8.5.13",
"@vitejs/plugin-react": "^4.3.4",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"cron-validator": "^1.3.1",
"driver.js": "^1.3.1",
"electron": "^33.2.1",
"electron": "^33.1.0",
"electron-builder": "25.0.4",
"electron-vite": "^2.3.0",
"electron-window-state": "^5.0.3",
"eslint": "8.57.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react": "^7.37.2",
"form-data": "^4.0.1",
"framer-motion": "11.5.6",
"lodash": "^4.17.21",
"meta-json-schema": "^1.19.0",
"meta-json-schema": "^1.18.9",
"monaco-yaml": "^5.2.3",
"nanoid": "^5.0.9",
"next-themes": "^0.4.4",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"nanoid": "^5.0.8",
"next-themes": "^0.4.3",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"pubsub-js": "^1.9.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.1.2",
"react-icons": "^5.4.0",
"react-icons": "^5.3.0",
"react-markdown": "^9.0.1",
"react-monaco-editor": "^0.56.2",
"react-router-dom": "^6.28.1",
"react-virtuoso": "^4.12.3",
"recharts": "^2.15.0",
"swr": "^2.3.0",
"tailwindcss": "^3.4.17",
"react-router-dom": "^6.28.0",
"react-virtuoso": "^4.12.0",
"recharts": "^2.13.3",
"swr": "^2.2.5",
"tailwindcss": "^3.4.14",
"tar": "^7.4.3",
"tsx": "^4.19.2",
"types-pac": "^1.0.3",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vite-plugin-monaco-editor": "^1.1.0"
}
}

6700
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff