mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 19:47:43 +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:
|
build-mac-universal-dmg:
|
||||||
@echo "Building the desktop dmg package..."
|
@echo "Building the desktop dmg package..."
|
||||||
pnpm tauri build --target universal-apple-darwin --bundles dmg
|
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 nsis package for Windows
|
||||||
build-win-nsis: install-dependencies
|
build-win-nsis: install-dependencies
|
||||||
|
|||||||
@@ -26,5 +26,12 @@
|
|||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.inherit</key>
|
<key>com.apple.security.inherit</key>
|
||||||
<true/>
|
<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>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
@@ -6,17 +6,20 @@
|
|||||||
<string>Request camera access for WebRTC</string>
|
<string>Request camera access for WebRTC</string>
|
||||||
<key>NSMicrophoneUsageDescription</key>
|
<key>NSMicrophoneUsageDescription</key>
|
||||||
<string>Request microphone access for WebRTC</string>
|
<string>Request microphone access for WebRTC</string>
|
||||||
|
|
||||||
|
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>rs.coco.app</string>
|
<string>rs.coco.app</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>coco</string>
|
||||||
<key>NSPrefPaneIconLabel</key>
|
<key>NSPrefPaneIconLabel</key>
|
||||||
<string>coco-ai</string>
|
<string>coco-ai</string>
|
||||||
|
|
||||||
<key>LSUIElement</key>
|
<key>LSUIElement</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
|
||||||
|
<key>ITSAppUsesNonExemptEncryption</key>
|
||||||
|
<false/>
|
||||||
|
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
<array>
|
<array>
|
||||||
<dict>
|
<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,
|
"decorations": false,
|
||||||
"minimizable": false,
|
"minimizable": false,
|
||||||
"maximizable": false,
|
"maximizable": false,
|
||||||
"skipTaskbar": true,
|
"skipTaskbar": false,
|
||||||
"resizable": false,
|
"resizable": false,
|
||||||
"alwaysOnTop": true,
|
"alwaysOnTop": true,
|
||||||
"acceptFirstMouse": true,
|
"acceptFirstMouse": true,
|
||||||
@@ -72,6 +72,7 @@
|
|||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": "all",
|
"targets": "all",
|
||||||
|
"category": "Utility",
|
||||||
"shortDescription": "Coco AI",
|
"shortDescription": "Coco AI",
|
||||||
"icon": [
|
"icon": [
|
||||||
"icons/32x32.png",
|
"icons/32x32.png",
|
||||||
@@ -92,7 +93,8 @@
|
|||||||
"icons/StoreLogo.png"
|
"icons/StoreLogo.png"
|
||||||
],
|
],
|
||||||
"macOS": {
|
"macOS": {
|
||||||
"entitlements": "./Entitlements.plist",
|
"minimumSystemVersion": "12.0",
|
||||||
|
"hardenedRuntime": true,
|
||||||
"dmg": {
|
"dmg": {
|
||||||
"appPosition": {
|
"appPosition": {
|
||||||
"x": 180,
|
"x": 180,
|
||||||
@@ -121,7 +123,7 @@
|
|||||||
"active": true,
|
"active": true,
|
||||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM5RjNFQUM3NDdGMjgzNUIKUldSYmcvSkh4K3J6eWFrYlRGTjFPZTJXQWIyMGJtWjdLVUplZm9kcHcvdWQ0aTZjMUYvOUJ5K08K",
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM5RjNFQUM3NDdGMjgzNUIKUldSYmcvSkh4K3J6eWFrYlRGTjFPZTJXQWIyMGJtWjdLVUplZm9kcHcvdWQ0aTZjMUYvOUJ5K08K",
|
||||||
"endpoints": [
|
"endpoints": [
|
||||||
"https://api.coco.rs/update/{{target}}/{{current_version}}"
|
"https://api.coco.rs/update/{{target}}/{{arch}}/{{current_version}}"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"websocket": {},
|
"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