mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 11:37:47 +01:00
chore: fix mac build (#138)
This commit is contained in:
1
Makefile
1
Makefile
@@ -40,6 +40,7 @@ build-mac-dmg:
|
||||
build-mac-universal-dmg:
|
||||
@echo "Building the desktop dmg package..."
|
||||
pnpm tauri build --target universal-apple-darwin --bundles dmg
|
||||
#pnpm tauri build --target x86_64-apple-darwin --bundles dmg
|
||||
|
||||
# Build nsis package for Windows
|
||||
build-win-nsis: install-dependencies
|
||||
|
||||
@@ -26,5 +26,12 @@
|
||||
<true/>
|
||||
<key>com.apple.security.inherit</key>
|
||||
<true/>
|
||||
<key>com.apple.security.app-sandbox</key>
|
||||
<true/>
|
||||
<key>com.apple.application-identifier</key>
|
||||
<string>6GVZT94974.rs.coco.app</string>
|
||||
<key>com.apple.developer.team-identifier</key>
|
||||
<string>6GVZT94974</string>
|
||||
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -6,17 +6,20 @@
|
||||
<string>Request camera access for WebRTC</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>Request microphone access for WebRTC</string>
|
||||
|
||||
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>rs.coco.app</string>
|
||||
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>coco</string>
|
||||
<key>NSPrefPaneIconLabel</key>
|
||||
<string>coco-ai</string>
|
||||
|
||||
<key>LSUIElement</key>
|
||||
<true/>
|
||||
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
||||
10
src-tauri/tauri.appstore.conf.json
Normal file
10
src-tauri/tauri.appstore.conf.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"bundle": {
|
||||
"macOS": {
|
||||
"entitlements": "./Entitlements.plist",
|
||||
"files": {
|
||||
"embedded.provisionprofile": "/Users/medcl/Coco_AI.provisionprofile"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
"decorations": false,
|
||||
"minimizable": false,
|
||||
"maximizable": false,
|
||||
"skipTaskbar": true,
|
||||
"skipTaskbar": false,
|
||||
"resizable": false,
|
||||
"alwaysOnTop": true,
|
||||
"acceptFirstMouse": true,
|
||||
@@ -72,6 +72,7 @@
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": "all",
|
||||
"category": "Utility",
|
||||
"shortDescription": "Coco AI",
|
||||
"icon": [
|
||||
"icons/32x32.png",
|
||||
@@ -92,7 +93,8 @@
|
||||
"icons/StoreLogo.png"
|
||||
],
|
||||
"macOS": {
|
||||
"entitlements": "./Entitlements.plist",
|
||||
"minimumSystemVersion": "12.0",
|
||||
"hardenedRuntime": true,
|
||||
"dmg": {
|
||||
"appPosition": {
|
||||
"x": 180,
|
||||
@@ -121,7 +123,7 @@
|
||||
"active": true,
|
||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM5RjNFQUM3NDdGMjgzNUIKUldSYmcvSkh4K3J6eWFrYlRGTjFPZTJXQWIyMGJtWjdLVUplZm9kcHcvdWQ0aTZjMUYvOUJ5K08K",
|
||||
"endpoints": [
|
||||
"https://api.coco.rs/update/{{target}}/{{current_version}}"
|
||||
"https://api.coco.rs/update/{{target}}/{{arch}}/{{current_version}}"
|
||||
]
|
||||
},
|
||||
"websocket": {},
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"identifier": "rs.coco.app",
|
||||
"bundle": {
|
||||
"linux": {
|
||||
"deb": {
|
||||
"depends": [],
|
||||
"desktopTemplate": "./Coco.desktop"
|
||||
},
|
||||
"rpm": {
|
||||
"depends": [],
|
||||
"desktopTemplate": "./Coco.desktop"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"identifier": "rs.coco.app",
|
||||
"bundle": {
|
||||
"externalBin": [
|
||||
],
|
||||
"resources": [
|
||||
"assets/tray-mac.ico",
|
||||
"assets/drag-icon.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"identifier": "rs.coco.app",
|
||||
"bundle": {
|
||||
"externalBin": [
|
||||
],
|
||||
"windows": {
|
||||
"digestAlgorithm": "sha256",
|
||||
"nsis": {
|
||||
"languages": [
|
||||
],
|
||||
"installMode": "both"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user