From 2fb9beff00992a848adc345e7a2ee36abe0ec13e Mon Sep 17 00:00:00 2001
From: AkiraFukushima
Date: Sun, 26 Feb 2023 00:15:29 +0900
Subject: [PATCH] Change appID to social.whalebird.app
---
electron-builder.json | 2 +-
package.json | 2 +-
plist/parent.plist | 2 +-
src/main/index.ts | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/electron-builder.json b/electron-builder.json
index fe31e176..5b02dd51 100644
--- a/electron-builder.json
+++ b/electron-builder.json
@@ -1,6 +1,6 @@
{
"productName": "Whalebird",
- "appId": "social.whalebird.desktop",
+ "appId": "social.whalebird.app",
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"directories": {
"output": "build"
diff --git a/package.json b/package.json
index 02472dea..07736bd5 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,7 @@
"build": "node .electron-vue/build.js",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
- "build:mas": "yarn run build:clean && yarn run pack && electron-packager ./ 'Whalebird' --platform=mas --arch=x64 --arch=arm64 --electron-version=20.3.12 --asar.unpackDir='build/sounds' --out=packages --ignore='^/src' --ignore='^/.electron-vue' --ignore='^/.envrc' --ignore='^/packages' --ignore='^/plist' --ignore='^/static' --ignore='^/whalebird.db' --ignore='^/screenshot.png' --prune=true --icon=./build/icons/icon.icns --overwrite --app-bundle-id=social.whalebird.desktop --app-version=$npm_package_config_appVersion --build-version=$npm_package_config_buildVersion --extend-info='./plist/team.plist' --app-category-type=public.app-category.social-networking && node ./packages/universal.js",
+ "build:mas": "yarn run build:clean && yarn run pack && electron-packager ./ 'Whalebird' --platform=mas --arch=x64 --arch=arm64 --electron-version=20.3.12 --asar.unpackDir='build/sounds' --out=packages --ignore='^/src' --ignore='^/.electron-vue' --ignore='^/.envrc' --ignore='^/packages' --ignore='^/plist' --ignore='^/static' --ignore='^/whalebird.db' --ignore='^/screenshot.png' --prune=true --icon=./build/icons/icon.icns --overwrite --app-bundle-id=social.whalebird.app --app-version=$npm_package_config_appVersion --build-version=$npm_package_config_buildVersion --extend-info='./plist/team.plist' --app-category-type=public.app-category.social-networking && node ./packages/universal.js",
"package:mac": "electron-builder --mac --publish never --config electron-builder.json",
"package:linux": "electron-builder --linux --publish never --config electron-builder.json",
"package:win32": "electron-builder --win --ia32 --publish never --config electron-builder.json",
diff --git a/plist/parent.plist b/plist/parent.plist
index cdc2f11f..027273df 100644
--- a/plist/parent.plist
+++ b/plist/parent.plist
@@ -5,7 +5,7 @@
com.apple.security.app-sandbox
com.apple.security.application-groups
- HB4N6B2YVM.social.whalebird.desktop
+ HB4N6B2YVM.social.whalebird.app
com.apple.security.files.user-selected.read-only
com.apple.security.network.client
diff --git a/src/main/index.ts b/src/main/index.ts
index ca9ee036..99266129 100644
--- a/src/main/index.ts
+++ b/src/main/index.ts
@@ -108,7 +108,7 @@ if (process.platform !== 'darwin') {
}
}
-const appId = 'social.whalebird.desktop'
+const appId = 'social.whalebird.app'
const splashURL =
process.env.NODE_ENV === 'development'