mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 06:23:08 +00:00
feature add authority for mac os.
This commit is contained in:
@@ -130,10 +130,47 @@
|
||||
<string>NSApplication</string>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<true/>
|
||||
<key>NSLocalNetworkUsageDescription</key>
|
||||
<string>Snapmaker Orca needs access to your local network to discover and connect to your 3D printer(s), and to serve the app's device interface on localhost.</string>
|
||||
<key>NSBonjourServices</key>
|
||||
<array>
|
||||
<string>_http._tcp</string>
|
||||
<string>_printer._tcp</string>
|
||||
</array>
|
||||
<key>LSEnvironment</key>
|
||||
<dict>
|
||||
<key>ASAN_OPTIONS</key>
|
||||
<string>detect_container_overflow=0</string>
|
||||
</dict>
|
||||
<!-- Allow HTTP connections to localhost for local web server (required for newer macOS versions) -->
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<!-- Completely disable ATS for localhost (allows HTTP instead of HTTPS) -->
|
||||
<key>NSAllowsLocalNetworking</key>
|
||||
<true/>
|
||||
<!-- Allow arbitrary loads for local development server -->
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<false/>
|
||||
<!-- Specific exception for localhost connections -->
|
||||
<key>NSExceptionDomains</key>
|
||||
<dict>
|
||||
<!-- Allow HTTP (not HTTPS) for localhost -->
|
||||
<key>localhost</key>
|
||||
<dict>
|
||||
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
||||
<true/>
|
||||
<key>NSIncludesSubdomains</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<!-- Allow HTTP for 127.0.0.1 -->
|
||||
<key>127.0.0.1</key>
|
||||
<dict>
|
||||
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
||||
<true/>
|
||||
<key>NSIncludesSubdomains</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user