From 19555702646b56a9192a389355ac8f9b09eaef0f Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 8 Aug 2022 20:08:32 +1000 Subject: [PATCH] v2.0.0-beta.43 --- v2/cmd/wails/internal/version.txt | 2 +- website/src/pages/changelog.md | 34 +++++++++++++++++ .../appendix/_category_.json | 0 .../community/_category_.json | 0 .../community/links.mdx | 0 .../community/showcase/_category_.json | 0 .../community/showcase/encrypteasy.mdx | 3 +- .../community/showcase/filehound.mdx | 3 +- .../community/showcase/mollywallet.mdx | 3 +- .../community/showcase/october.mdx | 2 +- .../community/showcase/optimus.mdx | 3 +- .../community/showcase/portfall.mdx | 3 +- .../community/showcase/restic-browser.mdx | 3 +- .../community/showcase/riftshare.mdx | 3 +- .../community/showcase/surge.mdx | 3 +- .../community/showcase/wally.mdx | 3 +- .../community/showcase/wombat.mdx | 3 +- .../community/showcase/ytd.mdx | 3 +- .../community/templates.mdx | 1 + .../contributing/_category_.json | 0 .../contributing/developing-new-features.mdx} | 0 .../contributing/documenting.mdx | 0 .../contributing/fixing-bugs.mdx} | 0 .../contributing/helping-others.mdx} | 0 .../setting-up-a-dev-environment.mdx} | 0 .../contributing/testing.mdx | 0 .../contributing/ways-of-contributing.mdx} | 0 .../gettingstarted/_category_.json | 0 .../gettingstarted/building.mdx | 3 +- .../gettingstarted/development.mdx | 0 .../gettingstarted/firstproject.mdx | 2 +- .../gettingstarted/installation.mdx | 3 +- .../guides/_category_.json | 0 .../guides/application-development.mdx | 13 ++++--- .../guides/bleeding-edge.mdx | 1 + .../guides/dynamic-assets.mdx | 0 .../guides/frameless.mdx | 3 +- .../guides/frontend.mdx | 1 + .../guides/ides.mdx | 1 + .../guides/linux-distro-support.mdx | 1 + .../guides/manual-builds.mdx | 7 ++-- .../guides/migrating.mdx | 37 +++++++++---------- .../guides/mouse-buttons.mdx | 2 +- .../guides/overscroll.mdx | 1 + .../guides/routing.mdx | 1 + .../guides/signing.mdx | 24 ++++++------ .../guides/templates.mdx | 5 ++- .../guides/troubleshooting.mdx | 0 .../guides/windows-installer.mdx | 2 +- .../guides/windows.mdx | 1 + .../howdoesitwork.mdx | 16 ++++---- .../introduction.mdx | 0 .../reference/_category_.json | 0 .../reference/cli.mdx | 26 +++++++------ .../reference/menus.mdx | 12 +++--- .../reference/options.mdx | 10 ++--- .../reference/project-config.mdx | 4 +- .../reference/runtime/_category_.json | 0 .../reference/runtime/browser.mdx | 0 .../reference/runtime/dialog.mdx | 17 +++------ .../reference/runtime/events.mdx | 0 .../reference/runtime/intro.mdx | 23 ++++++++++++ .../reference/runtime/log.mdx | 0 .../reference/runtime/menu.mdx | 2 +- .../reference/runtime/window.mdx | 0 .../tutorials/_category_.json | 0 .../tutorials/helloworld.mdx | 0 ...n => version-v2.0.0-beta.43-sidebars.json} | 0 website/versions.json | 4 +- 69 files changed, 184 insertions(+), 110 deletions(-) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/appendix/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/links.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/encrypteasy.mdx (91%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/filehound.mdx (93%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/mollywallet.mdx (83%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/october.mdx (91%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/optimus.mdx (81%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/portfall.mdx (77%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/restic-browser.mdx (80%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/riftshare.mdx (92%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/surge.mdx (83%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/wally.mdx (87%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/wombat.mdx (71%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/showcase/ytd.mdx (86%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/community/templates.mdx (95%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/contributing/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39/contributing/developing_new_features.mdx => version-v2.0.0-beta.43/contributing/developing-new-features.mdx} (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/contributing/documenting.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39/contributing/fixing_bugs.mdx => version-v2.0.0-beta.43/contributing/fixing-bugs.mdx} (100%) rename website/versioned_docs/{version-v2.0.0-beta.39/contributing/helping_others.mdx => version-v2.0.0-beta.43/contributing/helping-others.mdx} (100%) rename website/versioned_docs/{version-v2.0.0-beta.39/contributing/setting_up_a_dev_environment.mdx => version-v2.0.0-beta.43/contributing/setting-up-a-dev-environment.mdx} (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/contributing/testing.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39/contributing/ways_of_contributing.mdx => version-v2.0.0-beta.43/contributing/ways-of-contributing.mdx} (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/gettingstarted/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/gettingstarted/building.mdx (71%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/gettingstarted/development.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/gettingstarted/firstproject.mdx (95%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/gettingstarted/installation.mdx (96%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/application-development.mdx (94%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/bleeding-edge.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/dynamic-assets.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/frameless.mdx (92%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/frontend.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/ides.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/linux-distro-support.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/manual-builds.mdx (95%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/migrating.mdx (74%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/mouse-buttons.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/overscroll.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/routing.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/signing.mdx (94%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/templates.mdx (97%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/troubleshooting.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/windows-installer.mdx (95%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/guides/windows.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/howdoesitwork.mdx (95%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/introduction.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/cli.mdx (89%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/menus.mdx (97%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/options.mdx (97%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/project-config.mdx (88%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/runtime/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/runtime/browser.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/runtime/dialog.mdx (91%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/runtime/events.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/runtime/intro.mdx (70%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/runtime/log.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/runtime/menu.mdx (90%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/reference/runtime/window.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/tutorials/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.39 => version-v2.0.0-beta.43}/tutorials/helloworld.mdx (100%) rename website/versioned_sidebars/{version-v2.0.0-beta.39-sidebars.json => version-v2.0.0-beta.43-sidebars.json} (100%) diff --git a/v2/cmd/wails/internal/version.txt b/v2/cmd/wails/internal/version.txt index fc0cc74fc..7910077e5 100644 --- a/v2/cmd/wails/internal/version.txt +++ b/v2/cmd/wails/internal/version.txt @@ -1 +1 @@ -v2.0.0-beta.42 \ No newline at end of file +v2.0.0-beta.43 \ No newline at end of file diff --git a/website/src/pages/changelog.md b/website/src/pages/changelog.md index 28d6a704b..08676507d 100644 --- a/website/src/pages/changelog.md +++ b/website/src/pages/changelog.md @@ -7,6 +7,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [v2.0.0-beta.42] - 2022-08-08 + +## Added + +* Add support for retrieving the release notes from Github by @leaanthony in https://github.com/wailsapp/wails/pull/1679 +* Add `frontend:dev:install` configuration by @LGiki in https://github.com/wailsapp/wails/pull/1666 + +## Fixed + +* Fix formatting of some error messages by @stffabi in https://github.com/wailsapp/wails/pull/1665 +* Windows dialogs now work when window is not visible yet by @leaanthony in https://github.com/wailsapp/wails/pull/1662 +* Multiple fixes for MacOS asset requests by @stffabi in https://github.com/wailsapp/wails/pull/1668 + and https://github.com/wailsapp/wails/pull/1681 +* Fix for Go 1.19 by @stffabi in https://github.com/wailsapp/wails/pull/1689 +* Removed Linux warnings by @leaanthony in https://github.com/wailsapp/wails/pull/1656 +* Better support for doubleclick events in drag regions by @leaanthony in https://github.com/wailsapp/wails/pull/1704 +* Allow MacOS frameless window to be miniturisable by @leaanthony in https://github.com/wailsapp/wails/pull/1705 + +## What's Changed + +* add wails-sveltekit-template by @h8gi in https://github.com/wailsapp/wails/pull/1671 +* wails doctor now reports correct MacOS os id by @stffabi in https://github.com/wailsapp/wails/pull/1673 +* Update application-development.mdx by @SamHennessy in https://github.com/wailsapp/wails/pull/1682 +* Move SetMin/Max calls to main thread by @leaanthony in https://github.com/wailsapp/wails/pull/1684 +* Change `frontend:dev` to `frontend:dev:build` by @LGiki in https://github.com/wailsapp/wails/pull/1691 +* Build frontend only before starting the dev watcher command by @stffabi in https://github.com/wailsapp/wails/pull/1694 +* Improve error message for auto dev server discovery without a dev watcher by @stffabi + in https://github.com/wailsapp/wails/pull/1711 + +## New Contributors + +* @h8gi made their first contribution in https://github.com/wailsapp/wails/pull/1671 +* @SamHennessy made their first contribution in https://github.com/wailsapp/wails/pull/1682 + ## [v2.0.0-beta.42] - 2022-07-25 ## Added diff --git a/website/versioned_docs/version-v2.0.0-beta.39/appendix/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/appendix/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/appendix/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/appendix/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/community/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/community/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/community/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/links.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/links.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/community/links.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/links.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/encrypteasy.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/encrypteasy.mdx similarity index 91% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/encrypteasy.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/encrypteasy.mdx index 32833f349..31d7b6ad5 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/encrypteasy.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/encrypteasy.mdx @@ -1,7 +1,8 @@ + # EncryptEasy

-
+

**[EncryptEasy](https://www.encrypteasy.app) is a simple and easy to use PGP encryption tool, managing all your and your contacts keys. Encryption should be simple. Developed with Wails.** diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/filehound.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/filehound.mdx similarity index 93% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/filehound.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/filehound.mdx index ff9929640..687be3870 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/filehound.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/filehound.mdx @@ -1,7 +1,8 @@ + # FileHound Export Utility

-
+

diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/mollywallet.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/mollywallet.mdx similarity index 83% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/mollywallet.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/mollywallet.mdx index 24912f0ab..b75238028 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/mollywallet.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/mollywallet.mdx @@ -1,7 +1,8 @@ + # Molley Wallet

-
+

[Molly Wallet](https://github.com/grvlle/constellation_wallet/) the official $DAG wallet of the Constellation Network. It'll let users interact with the Hypergraph Network in various ways, not limited to producing $DAG transactions. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/october.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/october.mdx similarity index 91% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/october.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/october.mdx index 83bc64672..fbabff01e 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/october.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/october.mdx @@ -1,7 +1,7 @@ # October

-
+

[October](https://october.utf9k.net) is a small Wails application that makes it really easy to extract highlights from [Kobo eReaders](https://en.wikipedia.org/wiki/Kobo_eReader) and then forward them to [Readwise](https://readwise.io). diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/optimus.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/optimus.mdx similarity index 81% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/optimus.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/optimus.mdx index bb0b0d4a1..36cbf2fdf 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/optimus.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/optimus.mdx @@ -1,7 +1,8 @@ + # Optimus

-
+

[Optimus](https://github.com/splode/optimus) is a desktop image optimization application. It supports conversion and compression between WebP, JPEG, and PNG image formats. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/portfall.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/portfall.mdx similarity index 77% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/portfall.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/portfall.mdx index 792821349..211009424 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/portfall.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/portfall.mdx @@ -1,7 +1,8 @@ + # Portfall

-
+

[Portfall](https://github.com/rekon-oss/portfall) - A desktop k8s port-forwarding portal for easy access to all your cluster UIs diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/restic-browser.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/restic-browser.mdx similarity index 80% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/restic-browser.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/restic-browser.mdx index 77c724daf..5642bb298 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/restic-browser.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/restic-browser.mdx @@ -1,7 +1,8 @@ + # Restic Browser

-
+

[Restic-Browser](https://github.com/emuell/restic-browser) - A simple, cross-platform [restic](https://github.com/restic/restic) backup GUI for browsing and restoring restic repositories. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/riftshare.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/riftshare.mdx similarity index 92% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/riftshare.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/riftshare.mdx index cbbbcdf48..59680bdb3 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/riftshare.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/riftshare.mdx @@ -1,7 +1,8 @@ + # RiftShare

-
+

Easy, Secure, and Free file sharing for everyone. Learn more at [Riftshare.app](https://riftshare.app) diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/surge.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/surge.mdx similarity index 83% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/surge.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/surge.mdx index e2facf648..b1693a6de 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/surge.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/surge.mdx @@ -1,7 +1,8 @@ + # Surge

-
+

[Surge](https://getsurge.io/) is a p2p filesharing app designed to utilize blockchain technologies to enable 100% anonymous file transfers. Surge is end-to-end encrypted, decentralized and open source. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/wally.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/wally.mdx similarity index 87% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/wally.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/wally.mdx index 2a0d14ab0..3e842af40 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/wally.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/wally.mdx @@ -1,7 +1,8 @@ + # Wally

-
+

[Wally](https://ergodox-ez.com/pages/wally) is the official firmware flasher for [Ergodox](https://ergodox-ez.com/) keyboards. It looks great and is a fantastic example of what you can achieve with Wails: the ability to combine the power of Go and the rich graphical tools of the web development world. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/wombat.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/wombat.mdx similarity index 71% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/wombat.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/wombat.mdx index d806f8c92..8fdbe7cd8 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/wombat.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/wombat.mdx @@ -1,7 +1,8 @@ + # Wombat

-
+

diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/ytd.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/ytd.mdx similarity index 86% rename from website/versioned_docs/version-v2.0.0-beta.39/community/showcase/ytd.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/showcase/ytd.mdx index fe3c47912..7ccd32e26 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/showcase/ytd.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/showcase/ytd.mdx @@ -1,7 +1,8 @@ + # Ytd

-
+

diff --git a/website/versioned_docs/version-v2.0.0-beta.39/community/templates.mdx b/website/versioned_docs/version-v2.0.0-beta.43/community/templates.mdx similarity index 95% rename from website/versioned_docs/version-v2.0.0-beta.39/community/templates.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/community/templates.mdx index 6d090bb3d..3f2fe6dba 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/community/templates.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/community/templates.mdx @@ -42,6 +42,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for - [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - A template using Svelte - [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - A template using Svelte and Vite - [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3 +- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - A template using SvelteKit ## Elm diff --git a/website/versioned_docs/version-v2.0.0-beta.39/contributing/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/contributing/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/contributing/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/contributing/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/contributing/developing_new_features.mdx b/website/versioned_docs/version-v2.0.0-beta.43/contributing/developing-new-features.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/contributing/developing_new_features.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/contributing/developing-new-features.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/contributing/documenting.mdx b/website/versioned_docs/version-v2.0.0-beta.43/contributing/documenting.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/contributing/documenting.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/contributing/documenting.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/contributing/fixing_bugs.mdx b/website/versioned_docs/version-v2.0.0-beta.43/contributing/fixing-bugs.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/contributing/fixing_bugs.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/contributing/fixing-bugs.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/contributing/helping_others.mdx b/website/versioned_docs/version-v2.0.0-beta.43/contributing/helping-others.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/contributing/helping_others.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/contributing/helping-others.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/contributing/setting_up_a_dev_environment.mdx b/website/versioned_docs/version-v2.0.0-beta.43/contributing/setting-up-a-dev-environment.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/contributing/setting_up_a_dev_environment.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/contributing/setting-up-a-dev-environment.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/contributing/testing.mdx b/website/versioned_docs/version-v2.0.0-beta.43/contributing/testing.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/contributing/testing.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/contributing/testing.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/contributing/ways_of_contributing.mdx b/website/versioned_docs/version-v2.0.0-beta.43/contributing/ways-of-contributing.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/contributing/ways_of_contributing.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/contributing/ways-of-contributing.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/building.mdx b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/building.mdx similarity index 71% rename from website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/building.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/building.mdx index 741659e81..8c6957117 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/building.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/building.mdx @@ -10,8 +10,7 @@ This will compile your project and save the production-ready binary in the `buil If you run the binary, you should see the default application:
- +

diff --git a/website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/development.mdx b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/development.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/development.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/development.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/firstproject.mdx b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/firstproject.mdx similarity index 95% rename from website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/firstproject.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/firstproject.mdx index 4d0674718..3af3ed856 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/firstproject.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/firstproject.mdx @@ -10,7 +10,7 @@ Now that the CLI is installed, you can generate a new project by using the `wail Pick your favourite framework: -import TabsFrameworks from "../../../src/components/frameworktabs"; +import TabsFrameworks from "../../src/components/frameworktabs";
diff --git a/website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/installation.mdx b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/installation.mdx similarity index 96% rename from website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/installation.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/installation.mdx index 77e5e8372..b1dd17d9d 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/gettingstarted/installation.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/installation.mdx @@ -37,10 +37,9 @@ Run `npm --version` to verify. You will also need to install platform specific dependencies: -import TabsInstaller from "../../../src/components/tabinstall"; +import TabsInstaller from "../../src/components/tabinstall"; - ## Optional Dependencies - [UPX](https://upx.github.io/) for compressing your applications. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/guides/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/guides/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/application-development.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/application-development.mdx similarity index 94% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/application-development.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/application-development.mdx index 03710de05..13b1b7382 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/application-development.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/application-development.mdx @@ -1,3 +1,4 @@ + # Application Development There are no hard and fast rules for developing applications with Wails, but there are some basic guidelines. @@ -27,13 +28,13 @@ func (a *App) shutdown(ctx context.Context) { ``` - The startup method is called as soon as Wails allocates the resources it needs and is a good place for creating resources, -setting up event listeners and anything else the application needs at startup. -It is given a `context.Context` which is usually saved in a struct field. This context is needed for calling the -[runtime](../reference/runtime/intro.mdx). If this method returns an error, the application will terminate. -In dev mode, the error will be output to the console. + setting up event listeners and anything else the application needs at startup. + It is given a `context.Context` which is usually saved in a struct field. This context is needed for calling the + [runtime](../reference/runtime/intro.mdx). If this method returns an error, the application will terminate. + In dev mode, the error will be output to the console. - The shutdown method will be called by Wails right at the end of the shutdown process. This is a good place to deallocate -memory and perform any shutdown tasks. + memory and perform any shutdown tasks. The `main.go` file generally consists of a single call to `wails.Run()`, which accepts the application configuration. The pattern used by the templates is that before the call to `wails.Run()`, an instance of the struct we defined in @@ -82,7 +83,7 @@ func (a *App) shutdown(ctx context.Context) { } func (a *App) Greet(name string) string { - return fmt.Printf("Hello %s!", name) + return fmt.Sprintf("Hello %s!", name) } ``` diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/bleeding-edge.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/bleeding-edge.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/bleeding-edge.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/bleeding-edge.mdx index a44a155de..292b9d523 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/bleeding-edge.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/bleeding-edge.mdx @@ -1,3 +1,4 @@ + # Bleeding Edge ## Overview diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/dynamic-assets.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/dynamic-assets.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/dynamic-assets.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/dynamic-assets.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/frameless.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/frameless.mdx similarity index 92% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/frameless.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/frameless.mdx index c98aef3fd..cd78d3937 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/frameless.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/frameless.mdx @@ -1,3 +1,4 @@ + # Frameless Applications Wails supports applications with no frame. This can be achieved by using the [frameless](../reference/options.mdx#frameless) @@ -30,5 +31,5 @@ The `
` is tagged as being not draggable. ``` :::info Fullscreen -If you allow your application to go fullscreen, this drag functionality will be disabled. + If you allow your application to go fullscreen, this drag functionality will be disabled. ::: diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/frontend.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/frontend.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/frontend.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/frontend.mdx index 7b94345ad..6c9d0cf27 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/frontend.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/frontend.mdx @@ -1,3 +1,4 @@ + # Frontend ## Script Injection diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/ides.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/ides.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/ides.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/ides.mdx index 14adde0d0..5e47152b3 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/ides.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/ides.mdx @@ -1,3 +1,4 @@ + # IDEs Wails aims to provide a great development experience. To that aim, we now support generating IDE specific configuration diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/linux-distro-support.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/linux-distro-support.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/linux-distro-support.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/linux-distro-support.mdx index a050ccc53..db9dde55a 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/linux-distro-support.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/linux-distro-support.mdx @@ -1,3 +1,4 @@ + # Linux Distro Support ## Overview diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/manual-builds.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/manual-builds.mdx similarity index 95% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/manual-builds.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/manual-builds.mdx index 4594e527a..e3be40d0b 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/manual-builds.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/manual-builds.mdx @@ -1,3 +1,4 @@ + # Manual Builds The Wails CLI does a lot of heavy lifting for the project, but sometimes it's desirable to manually build your project. @@ -23,10 +24,10 @@ When either `wails build` or `wails dev` are used, the Wails CLI performs a comm - If there is, it checks if `package.json` exists in the frontend directory. If it doesn't exist, it skips this step - An MD5 sum is generated from the `package.json` file contents - It checks for the existence of `package.json.md5` and if it exists, will compare the contents of it (an MD5 sum) -with the one generated to see if the contents have changed. If they are the same, this step is skipped + with the one generated to see if the contents have changed. If they are the same, this step is skipped - If `package.json.md5` does not exist, it creates it using the generated MD5 sum - If a build is now required, or `node_modules` does not exist, or the `-f` flag is given, the install command is -executed in the frontend directory + executed in the frontend directory #### Manual Steps @@ -74,7 +75,7 @@ This step could be done from the command line or a script with `npm run build` o - If the `-clean` flag is provided, the `build` directory is deleted and recreated - For `wails dev`, the following default Go flags are used: `-tags dev -gcflags "all=-N -l"` - For `wails build`, the following default Go flags are used: `-tags desktop,production -ldflags "-w -s"` -- On Windows, `-ldflags "-w -h -H windowsgui"` + - On Windows, `-ldflags "-w -h -H windowsgui"` - Additional tags passed to the CLI using `-tags` are added to the defaults - Additional ldflags passed to the CLI using `-ldflags` are added to the defaults - The `-o` flag is passed through diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/migrating.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/migrating.mdx similarity index 74% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/migrating.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/migrating.mdx index c391596a8..1474131f8 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/migrating.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/migrating.mdx @@ -1,3 +1,4 @@ + # Migrating from v1 ## Overview @@ -183,25 +184,23 @@ The format of the file is slightly different. Here is a comparison:

- | v1 | v2 | Notes | - | ------------------ | ---------------- | --------------------------------------------------- | - | name | name | | - | description | | Removed | - | author / name | author / name | | - | author / email | author / email | | - | version | version | | - | binaryname | outputfilename | Changed | - | frontend / dir | | Removed | - | frontend / install | frontend:install | Changed | - | frontend / build | frontend:build | Changed | - | frontend / bridge | | Removed | - | frontend / serve | | Removed | - | tags | | Removed | - | | wailsjsdir | The directory to generate wailsjs modules | - | | assetdir | The directory of the compiled frontend assets for `dev` mode. This is normally inferred and could be - left empty. | - | | reloaddirs | Comma separated list of additional directories to watch for changes and to trigger reloads in `dev` - mode. This is only needed for some more advanced asset configurations. | +| v1 | v2 | Notes | +| ------------------ | ---------------- | --------------------------------------------------- | +| name | name | | +| description | | Removed | +| author / name | author / name | | +| author / email | author / email | | +| version | version | | +| binaryname | outputfilename | Changed | +| frontend / dir | | Removed | +| frontend / install | frontend:install | Changed | +| frontend / build | frontend:build | Changed | +| frontend / bridge | | Removed | +| frontend / serve | | Removed | +| tags | | Removed | +| | wailsjsdir | The directory to generate wailsjs modules | +| | assetdir | The directory of the compiled frontend assets for `dev` mode. This is normally inferred and could be left empty. | +| | reloaddirs | Comma separated list of additional directories to watch for changes and to trigger reloads in `dev` mode. This is only needed for some more advanced asset configurations. |

diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/mouse-buttons.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/mouse-buttons.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/mouse-buttons.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/mouse-buttons.mdx index 570f45c7e..0a3a45740 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/mouse-buttons.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/mouse-buttons.mdx @@ -1,7 +1,7 @@ # Mouse Buttons The Wails runtime intercepts mouse clicks to determine whether a frameless window needs resizing or a window needs to be moved. -It has been asked how to detect when a mouse click has occurred, because `window.onclick` doesn't report the mouse buttons correctly. +It has been asked how to detect when a mouse click has occurred, because `window.onclick` doesn't report the mouse buttons correctly. The following code shows how to detect mouse clicks: ```javascript diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/overscroll.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/overscroll.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/overscroll.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/overscroll.mdx index e5f5edb6a..bbe593bc7 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/overscroll.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/overscroll.mdx @@ -1,3 +1,4 @@ + # Overscroll [Overscroll](https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior) is the "bounce effect" you sometimes diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/routing.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/routing.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/routing.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/routing.mdx index d4a55ee61..3e1f255d8 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/routing.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/routing.mdx @@ -1,3 +1,4 @@ + # Routing Routing is a popular way to switch views in an application. This page offers some guidance around how to do that. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/signing.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/signing.mdx similarity index 94% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/signing.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/signing.mdx index b8a5b70db..3da981dfa 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/signing.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/signing.mdx @@ -10,11 +10,11 @@ Please note that an EV certificate is not required unless you need to write kern software such as device drivers. For signing your Wails app, a standard code signing certificate will do just fine. -It may be a good idea to check with your certificate provider -how to sign your binaries on your local machine before targeting automated build systems, just so you know if there -are any special requirements. For instance, [here](https://www.ssl.com/how-to/using-your-code-signing-certificate/) is SSL.com's code signing guide for Windows. +It may be a good idea to check with your certificate provider +how to sign your binaries on your local machine before targeting automated build systems, just so you know if there +are any special requirements. For instance, [here](https://www.ssl.com/how-to/using-your-code-signing-certificate/) is SSL.com's code signing guide for Windows. If you know how to sign locally, it will be easier to -troubleshoot any potential issues in a CI environment. +troubleshoot any potential issues in a CI environment. For instance, SSL.com code signing certificates require the `/tr` flag for [SignTool.exe](https://docs.microsoft.com/en-us/windows/win32/seccrypto/signtool) while other providers may only need the `/t` flag for providing the timestamping server. Popular GitHub Actions for signing Windows binaries like [this one](https://github.com/Dana-Prajea/code-sign-action) does not support the `/tr` flag on SignTool.exe. @@ -66,13 +66,13 @@ jobs: ``` Next we need to give the GitHub workflow access to our signing certificate. This is done by encoding your .pfx or .p12 certificate -into a base64 string. To do this in PowerShell, you can use the following command assuming your certificate is called 'my-cert.p12': +into a base64 string. To do this in PowerShell, you can use the following command assuming your certificate is called 'my-cert.p12': ```PowerShell certutil -encode .\my-cert.p12 my-cert-base64.txt ``` You should now have your .txt file with the base64 encoded certificate. It should start with *-----BEGIN CERTIFICATE-----* and -end with *-----END CERTIFICATE-----*. Now you need to make two action secrets on GitHub. Navigate to *Settings -> Secrets -> Actions* and create the +end with *-----END CERTIFICATE-----*. Now you need to make two action secrets on GitHub. Navigate to *Settings -> Secrets -> Actions* and create the two following secrets: * **WIN_SIGNING_CERT** with the contents of your base64 encoded certificate text. * **WIN_SIGNING_CERT_PASSWORD** with the contents of your certificate password. @@ -220,8 +220,8 @@ jobs: path: build/bin/* ``` -For code signing on macOS, [gon](https://github.com/mitchellh/gon) is a very handy tool for code signing and communicating with Apple servers, also written in Go, and -will be used in this guide. +For code signing on macOS, [gon](https://github.com/mitchellh/gon) is a very handy tool for code signing and communicating with Apple servers, also written in Go, and +will be used in this guide. After the `Build Wails app` step, add the following to the workflow: ```yaml @@ -247,8 +247,8 @@ Now we need to configure some gon config files in our `build/darwin` directory: } } ``` -Where `source` is your Wails binary, `bundle_id` is your bundle ID, `apple_id` contains your Apple ID username and App-Specific password -which you created earlier, and `sign.application_identity` is your identity which you can find by running the following command: + Where `source` is your Wails binary, `bundle_id` is your bundle ID, `apple_id` contains your Apple ID username and App-Specific password + which you created earlier, and `sign.application_identity` is your identity which you can find by running the following command: ```bash security find-identity -v -p codesigning ``` @@ -271,9 +271,9 @@ which you created earlier, and `sign.application_identity` is your identity whic ``` -In this file you configure the entitlements you need for you app, e.g. camera permissions if your app uses the camera. Read more about entitlements [here](https://developer.apple.com/documentation/bundleresources/entitlements). + In this file you configure the entitlements you need for you app, e.g. camera permissions if your app uses the camera. Read more about entitlements [here](https://developer.apple.com/documentation/bundleresources/entitlements). -Make sure you have updated your `Info.plist` file with the same bundle ID as you entered in `gon-sign.json`. +Make sure you have updated your `Info.plist` file with the same bundle ID as you entered in `gon-sign.json`. Here's an example `Info.plist` file: ```plist diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/templates.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/templates.mdx similarity index 97% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/templates.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/templates.mdx index d2517423f..090cf8a9e 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/templates.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/templates.mdx @@ -1,3 +1,4 @@ + # Templates Wails generates projects from pre-created templates. In v1, this was a difficult to maintain set of projects that were @@ -60,7 +61,7 @@ the template. We will now walk through how to create a Vue 3 template: - Install the vue cli: `npm install -g @vue/cli` - Create the default project: `vue create vue3-base` -- Select `Default (Vue 3) ([Vue 3] babel, eslint)` + - Select `Default (Vue 3) ([Vue 3] babel, eslint)` - After the project has been generated, run: ```shell @@ -80,7 +81,7 @@ Renaming package-lock.json -> package-lock.tmpl.json... - You should have a fully functioning Vue3 application:
- +
## Publishing Templates diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/troubleshooting.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/troubleshooting.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/troubleshooting.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/troubleshooting.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/windows-installer.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/windows-installer.mdx similarity index 95% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/windows-installer.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/windows-installer.mdx index 76f91dd70..f6a5b2f39 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/windows-installer.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/windows-installer.mdx @@ -1,7 +1,7 @@ # NSIS installer

-
+

Wails supports generating Windows installers using the [NSIS installer](https://nsis.sourceforge.io/). diff --git a/website/versioned_docs/version-v2.0.0-beta.39/guides/windows.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/windows.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.39/guides/windows.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/guides/windows.mdx index e3c2ee027..520f0bd86 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/guides/windows.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/windows.mdx @@ -1,3 +1,4 @@ + # Windows This page has miscellaneous guides related to developing Wails applications for Windows. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/howdoesitwork.mdx b/website/versioned_docs/version-v2.0.0-beta.43/howdoesitwork.mdx similarity index 95% rename from website/versioned_docs/version-v2.0.0-beta.39/howdoesitwork.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/howdoesitwork.mdx index c22aada7a..9a2bed0c2 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/howdoesitwork.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/howdoesitwork.mdx @@ -11,7 +11,7 @@ version of the runtime library. Finally, it is possible to bind Go methods to th Javascript methods that can be called, just as if they were local Javascript methods.
- +
## The Main Application @@ -130,7 +130,7 @@ by the frontend code. :::info Note -Wails requires that you pass in an *instance* of the struct for it to bind it correctly + Wails requires that you pass in an *instance* of the struct for it to bind it correctly ::: @@ -207,7 +207,7 @@ This makes it incredibly simple to call Go code from the frontend, using the sam ### Overview -The frontend is a collection of files rendered by webkit. It''s like a browser and webserver in one. +The frontend is a collection of files rendered by webkit. It's like a browser and webserver in one. There is virtually[^1] no limit to which frameworks or libraries you can use. The main points of interaction between the frontend and your Go code are: @@ -215,8 +215,8 @@ the frontend and your Go code are: - Calling runtime methods [^1]: -There is a very small subset of libraries that use features unsupported in WebViews. There are often alternatives and -workarounds for such cases. + There is a very small subset of libraries that use features unsupported in WebViews. There are often alternatives and + workarounds for such cases. ### Calling bound Go methods @@ -253,7 +253,7 @@ export function Greet(arg1:string):Promise; ``` The generated methods return a Promise. A successful call will result in the first return value from the Go call to be passed -to the `resolve` handler. An unsuccessful call is when a Go method that has an error type as it''s second return value, +to the `resolve` handler. An unsuccessful call is when a Go method that has an error type as it's second return value, passes an error instance back to the caller. This is passed back via the `reject` handler. In the example above, `Greet` only returns a `string` so the Javascript call will never reject - unless invalid data is passed to it. @@ -268,12 +268,12 @@ Anonymous nested structs are not supported at this time. It is possible to send structs back to Go. Any Javascript map/class passed as an argument that is expecting a struct, will be converted to that struct type. To make this process a lot easier, in `dev` mode, -a TypeScript module is generated, defining all the struct types used in bound methods. Using this module, it''s possible +a TypeScript module is generated, defining all the struct types used in bound methods. Using this module, it's possible to construct and send native Javascript objects to the Go code. There is also support for Go methods that use structs in their signature. All Go structs specified by a bound method (either as parameters or return types) will have Typescript versions auto -generated as part of the Go code wrapper module. Using these, it''s possible to share the same data +generated as part of the Go code wrapper module. Using these, it's possible to share the same data model between Go and Javascript. Example: We update our `Greet` method to accept a `Person` instead of a string: diff --git a/website/versioned_docs/version-v2.0.0-beta.39/introduction.mdx b/website/versioned_docs/version-v2.0.0-beta.43/introduction.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/introduction.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/introduction.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/reference/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/reference/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/cli.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/cli.mdx similarity index 89% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/cli.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/cli.mdx index 14081ca93..ee584c439 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/reference/cli.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/cli.mdx @@ -24,7 +24,7 @@ The Wails CLI has a number of commands that are used for managing your projects. | -f | Force build application | false | Example: -`wails init -n test -d mytestproject -g -ide vscode -q` + `wails init -n test -d mytestproject -g -ide vscode -q` This will generate a a project called "test" in the "mytestproject" directory, initialise git, generate vscode project files and do so silently. @@ -36,15 +36,15 @@ More information on using IDEs with Wails can be found [here](../guides/ides.mdx Remote templates (hosted on GitHub) are supported and can be installed by using the template's project URL. Example: -`wails init -n test -t https://github.com/leaanthony/testtemplate[@v1.0.0]` + `wails init -n test -t https://github.com/leaanthony/testtemplate[@v1.0.0]` A list of community maintained templates can be found [here](../community/templates.mdx) :::warning Attention -**The Wails project does not maintain, is not responsible nor liable for 3rd party templates!** + **The Wails project does not maintain, is not responsible nor liable for 3rd party templates!** -If you are unsure about a template, inspect `package.json` and `wails.json` for what scripts are run and what packages are installed. + If you are unsure about a template, inspect `package.json` and `wails.json` for what scripts are run and what packages are installed. ::: @@ -54,13 +54,13 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for | Flag | Description | Default | | :------------------- | :-------------------------------------- | :------------------------- | -| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | runtime.GOOS/runtime.GOARCH | +| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` envrionment variable if given else `runtime.GOARCH`. | | -clean | Cleans the `build/bin` directory | | | -compiler "compiler"| Use a different go compiler to build, eg go1.15beta1 | go | | -ldflags "flags" | Additional ldflags to pass to the compiler | | | -nopackage | Do not package application | | | -o filename | Output filename | | -| -s | Skip building the frontend | | +| -s | Skip building the frontend | false | | -f | Force build application | false | | -tags "extra tags" | Build tags to pass to compiler (quoted and space separated) | | | -upx | Compress final binary using "upx" | | @@ -84,13 +84,13 @@ Example: :::info UPX on Apple Silicon -There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Apple Silicon. + There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Apple Silicon. ::: :::info UPX on Windows -Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437). + Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437). ::: @@ -155,8 +155,8 @@ Your system is ready for Wails development! - A webserver is started on `http://localhost:34115` which serves your application (not just frontend) over http. This allows you to use your favourite browser development extensions - All application assets are loaded from disk. If they are changed, the application will automatically reload (not rebuild). All connected browsers will also reload - A JS module is generated that provides the following: -- Javascript wrappers of your Go methods with autogenerated JSDoc, providing code hinting -- TypeScript versions of your Go structs, that can be constructed and passed to your go methods + - Javascript wrappers of your Go methods with autogenerated JSDoc, providing code hinting + - TypeScript versions of your Go structs, that can be constructed and passed to your go methods - A second JS module is generated that provides a wrapper + TS declaration for the runtime | Flag | Description | Default | @@ -177,9 +177,9 @@ Your system is ready for Wails development! | -devserver "host:port" | The address to bind the wails dev server to | "localhost:34115" | | -frontenddevserverurl "url" | Use 3rd party dev server url to serve assets, EG Vite | "" | | -appargs "args" | Arguments passed to the application in shell style | | -| -platform "platform" | Platform/Arch to target | `runtime.GOOS` | | -save | Saves the given `assetdir`, `reloaddirs`, `wailsjsdir`, `debounce`, `devserver` and `frontenddevserverurl` flags in `wails.json` to become the defaults for subsequent invocations. | | | -race | Build with Go's race detector | false | +| -s | Skip building the frontend | false | Example: @@ -208,6 +208,10 @@ it may be used for generating projects. For more details on creating templates, consult the [Templates guide](../guides/templates.mdx). +### module + +The `wails generate module` command allows you to manually generate the `wailsjs` directory for your application. + ## update `wails update` will update the version of the Wails CLI. diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/menus.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/menus.mdx similarity index 97% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/menus.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/menus.mdx index 8fd52d7c7..ac083ef51 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/reference/menus.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/menus.mdx @@ -12,16 +12,16 @@ An example of how to create a menu: ```go AppMenu := menu.NewMenu() - if runtime.GOOS == "darwin" { - AppMenu.Append(menu.AppMenu()) // On MacOS platform, the first menu will always be fixed - AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut - } FileMenu := AppMenu.AddSubmenu("File") FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile) FileMenu.AddSeparator() FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) { - a.Quit() // Must define a Quit function in app.go with context + runtime.Quit() }) + + if runtime.GOOS == "darwin" { + AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut + } err := wails.Run(&options.App{ Title: "Menus Demo", @@ -258,7 +258,7 @@ using radio groups that may share a callback. :::info Roles -Roles are currently supported on Mac only. + Roles are currently supported on Mac only. ::: diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/options.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/options.mdx similarity index 97% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/options.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/options.mdx index 0c0393e10..7b81e5ca0 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/reference/options.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/options.mdx @@ -19,7 +19,7 @@ func main() { Width: 800, Height: 600, DisableResize: false, - //Fullscreen: false, // This option is deprecated. Use WindowStartState instead + Fullscreen: false, Frameless: true, MinWidth: 400, MinHeight: 400, @@ -135,8 +135,6 @@ Type: bool Setting this to `true` will make the window fullscreen at startup. -Note: Fullscreen is deprecated. Use WindowStartState: options.Fullscreen instead - ### Frameless Name: Frameless @@ -704,16 +702,14 @@ func main() { The "About" menu item will appear in the app menu:
- +

When clicked, that will open an about message box:
- +

diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/project-config.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/project-config.mdx similarity index 88% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/project-config.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/project-config.mdx index 503c7089c..936e3fd5f 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/reference/project-config.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/project-config.mdx @@ -13,7 +13,9 @@ The project config resides in the `wails.json` file in the project directory. Th "reloaddirs": "[Additional directories to trigger reloads (comma separated), this is only used for some advanced asset configurations]", "frontend:install": "[The command to install node dependencies, run in the frontend directory - often `npm install`]", "frontend:build": "[The command to build the assets, run in the frontend directory - often `npm run build`]", - "frontend:dev": "[This command is the dev equivalent of frontend:build. If not specified falls back to frontend:build]", + "frontend:dev": "[This command has been replaced by frontend:dev:build. If frontend:dev:build is not specified will falls back to this command. If this command is also not specified will falls back to frontend:build]", + "frontend:dev:build": "[This command is the dev equivalent of frontend:build. If not specified falls back to frontend:dev]", + "frontend:dev:install": "[This command is the dev equivalent of frontend:install. If not specified falls back to frontend:install]", "frontend:dev:watcher": "[This command is run in a separate process on `wails dev`. Useful for 3rd party watchers or starting 3d party dev servers]", "frontend:dev:serverUrl": "[URL to a 3rd party dev server to be used to serve assets, EG Vite. If this is set to 'auto' then the devServerUrl will be inferred from the Vite output]", "wailsjsdir": "[Relative path to the directory that the auto-generated JS modules will be created]", diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/browser.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/browser.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/browser.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/browser.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/dialog.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/dialog.mdx similarity index 91% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/dialog.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/dialog.mdx index 1f8a4000c..88fc5ea40 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/dialog.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/dialog.mdx @@ -9,7 +9,7 @@ sidebar_position: 5 This part of the runtime provides access to native dialogs, such as File Selectors and Message boxes. :::info Javascript -Dialog is currently unsupported in the JS runtime. + Dialog is currently unsupported in the JS runtime. ::: ### OpenDirectoryDialog @@ -157,8 +157,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` the first button is shown as default:
- +

@@ -173,8 +172,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` the second button is shown as default. When `return` is pressed, the value "two" is returned.
- +

@@ -190,8 +188,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` the button with "three" is shown at the bottom of the dialog. When `escape` is pressed, the value "three" is returned:
- +


@@ -224,8 +221,7 @@ Windows allows you to use multiple file filters in dialog boxes. Each FileFilter dialog:
- +


@@ -237,8 +233,7 @@ Linux allows you to use multiple file filters in dialog boxes. Each FileFilter w dialog:
- +


diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/events.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/events.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/events.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/events.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/intro.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/intro.mdx similarity index 70% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/intro.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/intro.mdx index 583c84791..0a33acdf9 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/intro.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/intro.mdx @@ -24,6 +24,29 @@ The Javascript library is available to the frontend via the `window.runtime` map mode that provides Typescript declarations for the runtime. This should be located in the `wailsjs` directory in your frontend directory. +### Hide + +Go Signature: `Hide(ctx context.Context)` + +Hides the application. + +:::info Note +On Mac, this will hide the application in the same way as the `Hide` menu item in standard Mac applications. +This is different to hiding the window, but the application still being in the foreground. +For Windows and Linux, this is currently the same as `WindowHide`. +::: + +### Show + +Go Signature: `Show(ctx context.Context)` + +Shows the application. + +:::info Note +On Mac, this will bring the application back into the foreground. +For Windows and Linux, this is currently the same as `WindowShow`. +::: + ### Quit Go Signature: `Quit(ctx context.Context)` diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/log.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/log.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/log.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/log.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/menu.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/menu.mdx similarity index 90% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/menu.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/menu.mdx index 95bed2d97..7d2d01783 100644 --- a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/menu.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/menu.mdx @@ -9,7 +9,7 @@ sidebar_position: 6 These methods are related to the application menu. :::info Javascript -Menu is currently unsupported in the JS runtime. + Menu is currently unsupported in the JS runtime. ::: ### MenuSetApplicationMenu diff --git a/website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/window.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/window.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/reference/runtime/window.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/window.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.39/tutorials/_category_.json b/website/versioned_docs/version-v2.0.0-beta.43/tutorials/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/tutorials/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.43/tutorials/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.39/tutorials/helloworld.mdx b/website/versioned_docs/version-v2.0.0-beta.43/tutorials/helloworld.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.39/tutorials/helloworld.mdx rename to website/versioned_docs/version-v2.0.0-beta.43/tutorials/helloworld.mdx diff --git a/website/versioned_sidebars/version-v2.0.0-beta.39-sidebars.json b/website/versioned_sidebars/version-v2.0.0-beta.43-sidebars.json similarity index 100% rename from website/versioned_sidebars/version-v2.0.0-beta.39-sidebars.json rename to website/versioned_sidebars/version-v2.0.0-beta.43-sidebars.json diff --git a/website/versions.json b/website/versions.json index 77e92afc9..2a314a1a3 100644 --- a/website/versions.json +++ b/website/versions.json @@ -1,4 +1,4 @@ [ - "v2.0.0-beta.40", - "v2.0.0-beta.39" + "v2.0.0-beta.43", + "v2.0.0-beta.40" ] \ No newline at end of file