5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 11:40:56 +08:00
wails/website/docs/guides/troubleshooting.mdx
Lea Anthony 51dd1361e3
Feature/docs update (#1218)
* Doc updates

* Add carousel

* Add more images to carousel

* Add search

* Fix CSS

* Cheeky fix for 1px bug
2022-03-06 22:29:26 +11:00

27 lines
835 B
Plaintext

# Troubleshooting
An assortment of troubleshooting tips.
## My application is displaying a white/blank screen
Check that your application includes the assets from the correct directory. In your `main.go` file, you will have
something similar to the following code:
```go
//go:embed frontend/dist
var assets embed.FS
```
Check that `frontend/dist` contains your application assets.
## Mac application not valid
If your built application looks like this in finder:
<p className="text--center">
<img src="/img/troubleshooting/invalid_mac_app.png"></img>
</p>
it's likely that your application's `info.plist` is invalid. Update the file in `build/<yourapp>.app/Contents/info.plist`
and check if the data is valid, EG check the binary name is correct. To persist the changes, copy the file back to
the `build/darwin` directory.