* Override platform with GOOS and GOARCH
* Update v2/cmd/wails/internal/commands/build/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* Only use GOOS and GOARCH env vars for default target
* Update docs. Add dryrun flag for testing
* Update v2/cmd/wails/internal/commands/build/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* Fix scenario where no arch specified
* Fixed banner
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* [website] Fix devserver default value doc
* [v2] Add support for AssetsHandler
AssetsHandler is a http.Handler delegate, which gets called
as a fallback for all Non-GET requests and for GET requests
for which the Assets didn’t find the file.
Known Limitations on Linux:
- All requests are GET requests
- No request headers
- No request body
- No response status code, only StatusOK will be returned
- No response headers
Known Limitations on Windows:
- Request body is leaking memory. Seems to be a bug in
WebView2, investigation angoing.
Most of these limitations on Linux will be fixed in the future with
adding support for Webkit2Gtk 2.36.0+.
* [v2, linux] Add response streaming support
The complete response won’t be held anymore in memory and will
be streamed to WebKit2.
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* [v2] Consolidate AssetServers
* [v2] Support starturl for webview on linux and darwin
* [v2] Add support for frontend DevServer
* [v2] Activate frontend DevServer in svelte template
* [website] Add bleeding edge guide for PRs
* DoNotMerge: Bump Version for testing
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* v2: linux: add icon to linux specific app option and load it during window creation
Signed-off-by: Martin Gysel <me@bearsh.org>
* doc: linux specific option: icon
* [v2] Add support for post build hooks
Currently only supports build-level hooks
* [v2] Improve build assets handling and use single source for manifest generation
The manifest asset files are now a go template and data will be
resolved before they are included into the build output.
Breaking Change: Windows manifest file must be named
“wails.exe.manifest” and doesn’t depend on the project name
anymore.
* [v2, windows] NSIS installer generation
* feat(website): update dependencies and optimize some terms
* docs: optimize english documents
* docs: sync documents
* chore(website): the website project adds the recommended configuration of the vscode plugin
* ensure data doesn't get garbage collected too soon (#1113)
* ensure data doesn't get garbage collected too soon
* Update v2/internal/frontend/desktop/linux/frontend.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* revert: undo lock-file changes
* Feature/v2 linux menus (#1114)
* Render menubar + text menu items
* Support disabled menuitems + callbacks
* Support checkboxes
* Support reusing checkboxes
* Support submenus
* Support Radio menuitems
* Support Menu Accelerators
* Support MenuUpdateApplicationMenu
* Fixes#1108 (#1115)
* chore(action): add auto sync script (#1109)
* Support RGBA, fix compilation error
* Fix fullscreen drag
* Ignore setenv error
* ensure data doesn't get garbage collected too soon (#1113)
* ensure data doesn't get garbage collected too soon
* Update v2/internal/frontend/desktop/linux/frontend.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* Feature/v2 linux menus (#1114)
* Render menubar + text menu items
* Support disabled menuitems + callbacks
* Support checkboxes
* Support reusing checkboxes
* Support submenus
* Support Radio menuitems
* Support Menu Accelerators
* Support MenuUpdateApplicationMenu
* Fixes#1108 (#1115)
* chore(action): add auto sync script (#1109)
* Support RGBA, fix compilation error
* Fix fullscreen drag
* Ignore setenv error
* feat(website): update dependencies and optimize some terms
* docs: optimize english documents
* docs: sync documents
* chore(website): the website project adds the recommended configuration of the vscode plugin
* revert: undo lock-file changes
* [linux] better error handling
* [linux] Better Go 1.16 support
* [linux] Remove Go based dispatcher
* feat(website): update dependencies and optimize some terms
Co-authored-by: Travis McLane <tmclane@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>