From 25e86e754d36ffca1f0edc4cb2d58cce10fab98d Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Wed, 10 Dec 2025 19:18:52 -0800 Subject: [PATCH] remove external bin for now, tauri wont bundle with daemon in release mode until this is solved, but you can use the CLI. this unblocks compile. --- apps/tauri/src-tauri/tauri.conf.json | 198 ++++++++++++--------------- 1 file changed, 91 insertions(+), 107 deletions(-) diff --git a/apps/tauri/src-tauri/tauri.conf.json b/apps/tauri/src-tauri/tauri.conf.json index c9c0c2dae..c78eb5fa0 100644 --- a/apps/tauri/src-tauri/tauri.conf.json +++ b/apps/tauri/src-tauri/tauri.conf.json @@ -1,108 +1,92 @@ { - "productName": "Spacedrive", - "version": "2.0.0-pre.1", - "identifier": "com.spacedrive.desktop", - "build": { - "beforeDevCommand": "bun run dev:with-daemon", - "beforeBuildCommand": "bun run build", - "devUrl": "http://localhost:1420", - "frontendDist": "../dist" - }, - "app": { - "withGlobalTauri": true, - "macOSPrivateApi": true, - "windows": [ - { - "title": "Spacedrive", - "width": 1400, - "height": 750, - "minWidth": 768, - "minHeight": 500, - "resizable": true, - "fullscreen": false, - "hiddenTitle": true, - "transparent": true, - "center": true, - "visible": false, - "dragDropEnabled": true, - "decorations": true, - "windowEffects": { - "effects": [ - "sidebar" - ], - "state": "followsWindowActiveState", - "radius": 9 - } - } - ], - "security": { - "csp": { - "default-src": "'self' customprotocol: asset:", - "connect-src": "ipc: http://ipc.localhost http://127.0.0.1:* http://localhost:*", - "img-src": "'self' asset: http://asset.localhost http://127.0.0.1:* http://localhost:* blob: data:", - "style-src": "'self' 'unsafe-inline'" - }, - "assetProtocol": { - "enable": true, - "scope": [ - "$HOME/**", - "/Volumes/**" - ] - } - } - }, - "bundle": { - "active": true, - "targets": "all", - "publisher": "Spacedrive Technology Inc.", - "icon": [ - "icons/32x32.png", - "icons/128x128.png", - "icons/128x128@2x.png", - "icons/icon.icns", - "icons/icon.ico" - ], - "externalBin": [ - "../../../target/release/sd-daemon" - ], - "resources": { - "gen/**/*": "./" - }, - "fileAssociations": [ - { - "ext": [ - "memory" - ], - "name": "Spacedrive Memory", - "description": "Spacedrive Memory File", - "role": "Editor", - "mimeType": "application/x-spacedrive-memory" - } - ], - "linux": { - "deb": { - "depends": [ - "libc6", - "libxdo3", - "libwebkit2gtk-4.1-0", - "libgtk-3-0" - ] - } - }, - "macOS": { - "minimumSystemVersion": "10.15", - "signingIdentity": "-", - "infoPlist": "Info.plist", - "frameworks": [ - "../../.deps/Spacedrive.framework" - ] - }, - "windows": { - "webviewInstallMode": { - "type": "embedBootstrapper", - "silent": true - } - } - }, - "plugins": {} -} \ No newline at end of file + "productName": "Spacedrive", + "version": "2.0.0-pre.1", + "identifier": "com.spacedrive.desktop", + "build": { + "beforeDevCommand": "bun run dev:with-daemon", + "beforeBuildCommand": "bun run build", + "devUrl": "http://localhost:1420", + "frontendDist": "../dist" + }, + "app": { + "withGlobalTauri": true, + "macOSPrivateApi": true, + "windows": [ + { + "title": "Spacedrive", + "width": 1400, + "height": 750, + "minWidth": 768, + "minHeight": 500, + "resizable": true, + "fullscreen": false, + "hiddenTitle": true, + "transparent": true, + "center": true, + "visible": false, + "dragDropEnabled": true, + "decorations": true, + "windowEffects": { + "effects": ["sidebar"], + "state": "followsWindowActiveState", + "radius": 9 + } + } + ], + "security": { + "csp": { + "default-src": "'self' customprotocol: asset:", + "connect-src": "ipc: http://ipc.localhost http://127.0.0.1:* http://localhost:*", + "img-src": "'self' asset: http://asset.localhost http://127.0.0.1:* http://localhost:* blob: data:", + "style-src": "'self' 'unsafe-inline'" + }, + "assetProtocol": { + "enable": true, + "scope": ["$HOME/**", "/Volumes/**"] + } + } + }, + "bundle": { + "active": true, + "targets": "all", + "publisher": "Spacedrive Technology Inc.", + "icon": [ + "icons/32x32.png", + "icons/128x128.png", + "icons/128x128@2x.png", + "icons/icon.icns", + "icons/icon.ico" + ], + + "resources": { + "gen/**/*": "./" + }, + "fileAssociations": [ + { + "ext": ["memory"], + "name": "Spacedrive Memory", + "description": "Spacedrive Memory File", + "role": "Editor", + "mimeType": "application/x-spacedrive-memory" + } + ], + "linux": { + "deb": { + "depends": ["libc6", "libxdo3", "libwebkit2gtk-4.1-0", "libgtk-3-0"] + } + }, + "macOS": { + "minimumSystemVersion": "10.15", + "signingIdentity": "-", + "infoPlist": "Info.plist", + "frameworks": ["../../.deps/Spacedrive.framework"] + }, + "windows": { + "webviewInstallMode": { + "type": "embedBootstrapper", + "silent": true + } + } + }, + "plugins": {} +}