mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 19:50:15 +08:00
doc: white screen fix for Mac. Closes #1508
This commit is contained in:
parent
4726b72708
commit
c48ad9be67
@ -20,6 +20,20 @@ var assets embed.FS
|
||||
```
|
||||
Check that `frontend/dist` contains your application assets.
|
||||
|
||||
### Mac
|
||||
|
||||
If this happens on Mac, try adding the following to your `Info.plist`:
|
||||
|
||||
```xml
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsLocalNetworking</key>
|
||||
<true/>
|
||||
</dict>
|
||||
```
|
||||
|
||||
Reference: https://github.com/wailsapp/wails/issues/1504#issuecomment-1174317433
|
||||
|
||||
## Mac application not valid
|
||||
|
||||
If your built application looks like this in finder:
|
||||
|
Loading…
Reference in New Issue
Block a user