added appargs for application arguments in dev mode

This commit is contained in:
Lukas Crepaz
2021-11-01 08:57:10 +01:00
parent 3948c8ca61
commit b5f68e24d6
6 changed files with 25 additions and 4 deletions

View File

@@ -134,6 +134,7 @@ Your system is ready for Wails development!
| -wailsjsdir | The directory to generate the generated Wails JS modules | Value in `wails.json` |
| -debounce | The time to wait for reload after an asset change is detected | 100 (milliseconds) |
| -devserverurl "url" | Use 3rd party dev server url, EG Vite | "http://localhost:34115" |
| -appargs "args" | Arguments passed to the application in shell style | |
If the `assetdir`, `wailsjsdir`, `debounce` or `devserverurl` flags are provided on the command line, they are saved in
`wails.json`, and become the defaults for subsequent invocations.