diff --git a/.gitignore b/.gitignore
index 2ff556f64..379e8c18b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -46,3 +46,8 @@ dev
*.key.pub
masks.json
+
+//builder file
+*.p8
+*.provisionprofile
+*.pkg
diff --git a/package.json b/package.json
index 8696f83b5..4d791c015 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
"export": "yarn mask && cross-env BUILD_MODE=export BUILD_APP=1 next build",
"export:dev": "concurrently -r \"yarn mask:watch\" \"cross-env BUILD_MODE=export BUILD_APP=1 next dev\"",
"app:dev": "concurrently -r \"yarn mask:watch\" \"yarn tauri dev\"",
- "app:build": "yarn mask && yarn tauri build",
+ "app:build": "yarn mask && yarn tauri build --target universal-apple-darwin",
"prompts": "node ./scripts/fetch-prompts.mjs",
"prepare": "husky install",
"proxy-dev": "sh ./scripts/init-proxy.sh && proxychains -f ./scripts/proxychains.conf yarn dev"
@@ -80,4 +80,4 @@
"lint-staged/yaml": "^2.2.2"
},
"packageManager": "yarn@1.22.19"
-}
\ No newline at end of file
+}
diff --git a/src-tauri/Entitlements.plist b/src-tauri/Entitlements.plist
new file mode 100644
index 000000000..a97938f6a
--- /dev/null
+++ b/src-tauri/Entitlements.plist
@@ -0,0 +1,14 @@
+
+
+
+
+ com.apple.security.app-sandbox
+
+ com.apple.application-identifier
+ DLKMC3ZRZQ.dev.nextchat.app
+ com.apple.developer.team-identifier
+ DLKMC3ZRZQ
+ com.apple.security.network.client
+
+
+
diff --git a/src-tauri/Info.plist b/src-tauri/Info.plist
new file mode 100644
index 000000000..c4544a461
--- /dev/null
+++ b/src-tauri/Info.plist
@@ -0,0 +1,20 @@
+
+
+
+
+ ITSAppUsesNonExemptEncryption
+
+ DTPlatformName
+ macosx
+ DTPlatformVersion
+ 14.5
+ DTSDKBuild
+ 23F73
+ DTSDKName
+ macosx14.5
+ DTXcode
+ 1540
+ DTXcodeBuild
+ 15F31d
+
+
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 2a19c9332..5f900c990 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -60,7 +60,7 @@
"bundle": {
"active": true,
"category": "DeveloperTool",
- "copyright": "2023, Zhang Yifei All Rights Reserved.",
+ "copyright": "Copyright © 2024 GPTsMotion Tech LLC All Rights Reserved.",
"deb": {
"depends": []
},
@@ -72,10 +72,10 @@
"icons/icon.icns",
"icons/icon.ico"
],
- "identifier": "com.yida.chatgpt.next.web",
- "longDescription": "NextChat is a cross-platform ChatGPT client, including Web/Win/Linux/OSX/PWA.",
+ "identifier": "dev.nextchat.app",
+ "longDescription": "Experience NextChat: Local-first, seamless, and designed for the ultimate chat experience",
"macOS": {
- "entitlements": null,
+ "entitlements": "./Entitlements.plist",
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
@@ -103,7 +103,7 @@
"windows": {
"installMode": "passive"
},
- "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IERFNDE4MENFM0Y1RTZBOTQKUldTVWFsNC96b0JCM3RqM2NmMnlFTmxIaStRaEJrTHNOU2VqRVlIV1hwVURoWUdVdEc1eDcxVEYK"
+ "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDEyNUYzMzNFMDgzMTFGM0MKUldROEh6RUlQak5mRW5iYWszdGJReGtzUU9Tam9qUVg3T0plbFNoRUlqM1BFNHBuWmZuR0pISHcK"
},
"windows": [
{