AI-native design editor. Open-source Figma alternative.
fix(tauri): correctly configure NSAllowsLocalNetworking
Joseph Cuminesc38223a7008f
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex b0e9b9457..0d7be46c2 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -14,6 +14,9 @@ bun install```bashbun run dev # Vite dev server on localhost:1420bun run tauri dev # Tauri desktop app with hot reload++# For macOS release builds with ad-hoc signing (no Apple Developer account, local testing only):+APPLE_SIGNING_IDENTITY=- bun run tauri build```## Quality checksdiff --git a/desktop/Info.plist b/desktop/Info.plistnew file mode 100644index 000000000..4f58cdce5--- /dev/null+++ b/desktop/Info.plist@@ -0,0 +1,11 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">+<plist version="1.0">+ <dict>+ <key>NSAppTransportSecurity</key>+ <dict>+ <key>NSAllowsLocalNetworking</key>+ <true/>+ </dict>+ </dict>+</plist>diff --git a/desktop/tauri.conf.json b/desktop/tauri.conf.jsonindex 80d44cee3..872527797 100644--- a/desktop/tauri.conf.json+++ b/desktop/tauri.conf.json@@ -32,12 +32,7 @@"icons/icon.ico"],"macOS": {- "signingIdentity": "Developer ID Application: Danila Poyarkov (N7D7M3Q3CD)",- "info": {- "NSAppTransportSecurity": {- "NSAllowsLocalNetworking": true- }- }+ "signingIdentity": "Developer ID Application: Danila Poyarkov (N7D7M3Q3CD)"}}}