Skip to content

Commit

Permalink
add builder parm
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiram committed Feb 14, 2024
1 parent 4bd9bb9 commit 06a27ed
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 20 deletions.
12 changes: 12 additions & 0 deletions build/entitlements.mac.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
</dict>
</plist>
10 changes: 8 additions & 2 deletions electron-builder.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
{
"productName": "zyplayer",
"appId": "com.zyplayer",
"appId": "com.hiram.zyplayer",
"copyright": "Copyright © 2023 zyplayer Team Inc.",
"asar": true,
"directories": {
Expand All @@ -21,8 +21,10 @@
"arch": ["x64", "arm64", "universal"]
}
],
"notarize": false,
"darkModeSupport": true,
"category": "public.app-category.utilities"
"category": "public.app-category.video",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"win": {
"artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
Expand All @@ -35,6 +37,7 @@
},
"linux": {
"artifactName": "${productName}-${os}-${version}-${arch}.${ext}",
"category": "Audio;Video",
"target": [
{
"target": "AppImage",
Expand All @@ -55,5 +58,8 @@
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
"electronDownload": {
"mirror": "https://npmmirror.com/mirrors/electron/"
}
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"electron:prebuild": "vite build"
},
"dependencies": {
"@cliqz/adblocker-electron": "^1.26.15",
"@electron-toolkit/preload": "^3.0.0",
"@electron-toolkit/utils": "^3.0.0",
"@electron/remote": "^2.1.2",
Expand All @@ -34,12 +35,15 @@
"axios": "^1.6.7",
"axios-retry": "^4.0.0",
"cheerio": "^1.0.0-rc.12",
"cross-fetch": "^4.0.0",
"dexie": "^3.2.4",
"dotenv": "^16.4.1",
"dplayer": "^1.27.1",
"electron-log": "^5.1.1",
"electron-store": "^8.1.0",
"electron-updater": "^6.1.7",
"fast-xml-parser": "^4.3.4",
"file-type": "^19.0.0",
"flv.js": "^1.6.2",
"hls.js": "^1.5.3",
"iconv-lite": "^0.6.3",
Expand All @@ -49,6 +53,7 @@
"lodash": "^4.17.21",
"lowdb": "^7.0.1",
"moment": "^2.30.1",
"node-fetch": "^3.3.2",
"p-queue": "^8.0.1",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
Expand All @@ -65,7 +70,6 @@
"vite-plugin-electron": "^0.15.6",
"vite-plugin-electron-renderer": "^0.14.5",
"vite-plugin-imagemin": "^0.6.1",
"vite-plugin-require-transform": "^1.0.21",
"vite-svg-loader": "^5.1.0",
"vue": "~3.3.8",
"vue-i18n": "^9.9.1",
Expand Down
Loading

0 comments on commit 06a27ed

Please sign in to comment.