From 58d3ffd241b3bb4d07c98123034fc11038ffb702 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sat, 20 Aug 2022 09:58:18 +1000 Subject: [PATCH] v2.0.0-beta.44 --- v2/cmd/wails/internal/version.txt | 2 +- v2/tools/release/release.go | 5 ++-- .../2021-09-27-v2-beta1-release-notes.mdx | 12 ++++----- .../2021-11-08-v2-beta2-release-notes.mdx | 14 +++++----- .../2022-02-22-v2-beta3-release-notes.mdx | 8 +++--- website/docs/gettingstarted/building.mdx | 2 +- website/docs/reference/options.mdx | 4 +-- website/docs/reference/runtime/dialog.mdx | 10 +++---- .../current/tutorials/helloworld.mdx | 2 +- .../current/tutorials/helloworld.mdx | 2 +- .../current/tutorials/helloworld.mdx | 3 +-- website/src/pages/changelog.md | 26 +++++++++++++++++++ .../gettingstarted/building.mdx | 2 +- .../reference/options.mdx | 4 +-- .../reference/runtime/dialog.mdx | 10 +++---- .../tutorials/helloworld.mdx | 3 +-- .../appendix/_category_.json | 0 .../community/_category_.json | 0 .../community/links.mdx | 0 .../community/showcase/_category_.json | 0 .../community/showcase/emailit.mdx | 8 ++++++ .../community/showcase/encrypteasy.mdx | 0 .../community/showcase/filehound.mdx | 0 .../community/showcase/modalfilemanager.mdx | 10 +++++++ .../community/showcase/mollywallet.mdx | 0 .../community/showcase/october.mdx | 0 .../community/showcase/optimus.mdx | 0 .../community/showcase/portfall.mdx | 0 .../community/showcase/restic-browser.mdx | 0 .../community/showcase/riftshare.mdx | 0 .../community/showcase/scriptbar.mdx | 7 +++++ .../community/showcase/surge.mdx | 0 .../community/showcase/wally.mdx | 0 .../community/showcase/wombat.mdx | 0 .../community/showcase/ytd.mdx | 0 .../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 | 2 +- .../gettingstarted/development.mdx | 0 .../gettingstarted/firstproject.mdx | 6 ++--- .../gettingstarted/installation.mdx | 6 ++--- .../guides/_category_.json | 0 .../guides/application-development.mdx | 2 +- .../guides/bleeding-edge.mdx | 0 .../guides/dynamic-assets.mdx | 0 .../guides/frameless.mdx | 12 +++++++++ .../guides/frontend.mdx | 0 .../guides/ides.mdx | 1 - .../guides/linux-distro-support.mdx | 0 .../version-v2.0.0-beta.44/guides/linux.mdx | 20 ++++++++++++++ .../guides/manual-builds.mdx | 2 +- .../guides/migrating.mdx | 0 .../guides/mouse-buttons.mdx | 0 .../guides/overscroll.mdx | 0 .../guides/routing.mdx | 22 +++++++++++++++- .../guides/signing.mdx | 0 .../guides/templates.mdx | 0 .../guides/troubleshooting.mdx | 6 +---- .../guides/windows-installer.mdx | 0 .../guides/windows.mdx | 19 +++++++++++++- .../howdoesitwork.mdx | 0 .../introduction.mdx | 0 .../reference/_category_.json | 0 .../reference/cli.mdx | 4 +++ .../reference/menus.mdx | 0 .../reference/options.mdx | 4 +-- .../reference/project-config.mdx | 4 ++- .../reference/runtime/_category_.json | 0 .../reference/runtime/browser.mdx | 0 .../reference/runtime/dialog.mdx | 10 +++---- .../reference/runtime/events.mdx | 2 +- .../reference/runtime/intro.mdx | 0 .../reference/runtime/log.mdx | 0 .../reference/runtime/menu.mdx | 0 .../reference/runtime/window.mdx | 0 .../tutorials/_category_.json | 0 .../tutorials/helloworld.mdx | 3 +-- .../version-v2.0.0-beta.40-sidebars.json | 8 ------ ...n => version-v2.0.0-beta.44-sidebars.json} | 0 website/versions.json | 5 +--- 88 files changed, 190 insertions(+), 83 deletions(-) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/appendix/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/links.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/_category_.json (100%) create mode 100644 website/versioned_docs/version-v2.0.0-beta.44/community/showcase/emailit.mdx rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/encrypteasy.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/filehound.mdx (100%) create mode 100644 website/versioned_docs/version-v2.0.0-beta.44/community/showcase/modalfilemanager.mdx rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/mollywallet.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/october.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/optimus.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/portfall.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/restic-browser.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/riftshare.mdx (100%) create mode 100644 website/versioned_docs/version-v2.0.0-beta.44/community/showcase/scriptbar.mdx rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/surge.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/wally.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/wombat.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/showcase/ytd.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/community/templates.mdx (95%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/contributing/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/contributing/developing-new-features.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/contributing/documenting.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/contributing/fixing-bugs.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/contributing/helping-others.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/contributing/setting-up-a-dev-environment.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/contributing/testing.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/contributing/ways-of-contributing.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/gettingstarted/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/gettingstarted/building.mdx (73%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/gettingstarted/development.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/gettingstarted/firstproject.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/gettingstarted/installation.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/application-development.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/bleeding-edge.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/dynamic-assets.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/frameless.mdx (76%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/frontend.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/ides.mdx (99%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/linux-distro-support.mdx (100%) create mode 100644 website/versioned_docs/version-v2.0.0-beta.44/guides/linux.mdx rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/manual-builds.mdx (97%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/migrating.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/mouse-buttons.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/overscroll.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/routing.mdx (56%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/signing.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/templates.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/troubleshooting.mdx (94%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/windows-installer.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/guides/windows.mdx (78%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/howdoesitwork.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/introduction.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/cli.mdx (98%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/menus.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/options.mdx (98%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/project-config.mdx (88%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/runtime/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/runtime/browser.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/runtime/dialog.mdx (92%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/runtime/events.mdx (95%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/runtime/intro.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/runtime/log.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/runtime/menu.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/reference/runtime/window.mdx (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/tutorials/_category_.json (100%) rename website/versioned_docs/{version-v2.0.0-beta.40 => version-v2.0.0-beta.44}/tutorials/helloworld.mdx (92%) delete mode 100644 website/versioned_sidebars/version-v2.0.0-beta.40-sidebars.json rename website/versioned_sidebars/{version-v2.0.0-beta.39.3-sidebars.json => version-v2.0.0-beta.44-sidebars.json} (100%) diff --git a/v2/cmd/wails/internal/version.txt b/v2/cmd/wails/internal/version.txt index 7910077e5..502e7f74e 100644 --- a/v2/cmd/wails/internal/version.txt +++ b/v2/cmd/wails/internal/version.txt @@ -1 +1 @@ -v2.0.0-beta.43 \ No newline at end of file +v2.0.0-beta.44 \ No newline at end of file diff --git a/v2/tools/release/release.go b/v2/tools/release/release.go index 11d37c7fb..f26c2c831 100644 --- a/v2/tools/release/release.go +++ b/v2/tools/release/release.go @@ -62,7 +62,8 @@ func main() { s.ECHO("Removing old version: " + oldestVersion) s.CD("versioned_docs") s.RMDIR("version-" + oldestVersion) - s.CD("../../versioned_sidebars") + s.CD("../versioned_sidebars") s.RM("version-" + oldestVersion + "-sidebars.json") - + s.CD("..") + s.EXEC("Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass; yarn build") } diff --git a/website/blog/2021-09-27-v2-beta1-release-notes.mdx b/website/blog/2021-09-27-v2-beta1-release-notes.mdx index 44748dd18..14f73e577 100644 --- a/website/blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/blog/2021-09-27-v2-beta1-release-notes.mdx @@ -7,7 +7,7 @@ tags: [wails, v2]
- +

@@ -44,7 +44,7 @@ possible, but also being open to someone taking those projects and building on t ### WebView2 Chromium Renderer
- +

@@ -64,7 +64,7 @@ Gophers rejoice! The single binary dream lives on! ### New Features
- +

@@ -82,7 +82,7 @@ in a supported IDE, it will already be configured for building and debugging you but we hope to support other IDEs such as Goland soon.
- +

@@ -104,7 +104,7 @@ They don't even need to be in the top directory - Wails will just work it out fo ### New Development Experience
- +

@@ -134,7 +134,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code ### Remote Templates
- +

diff --git a/website/blog/2021-11-08-v2-beta2-release-notes.mdx b/website/blog/2021-11-08-v2-beta2-release-notes.mdx index 632454087..fcde9ede6 100644 --- a/website/blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/blog/2021-11-08-v2-beta2-release-notes.mdx @@ -7,7 +7,7 @@ tags: [wails, v2]
- +

@@ -25,7 +25,7 @@ So what's new for Wails v2 for Mac vs v1? Hint: It's pretty similar to the Windo ### New Features
- +

@@ -89,7 +89,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code ### Remote Templates
- +

@@ -110,21 +110,21 @@ Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wa builds:
- +

You can also specify `darwin/amd64` as a target too:
- +

Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
- +

@@ -133,7 +133,7 @@ Oh, I almost forgot.... you can also do `darwin/universal`.... :wink: Because Wails v2 for Windows is pure Go, you can target Windows builds without docker.
- +

diff --git a/website/blog/2022-02-22-v2-beta3-release-notes.mdx b/website/blog/2022-02-22-v2-beta3-release-notes.mdx index e7c010d80..686c6b8c2 100644 --- a/website/blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/blog/2022-02-22-v2-beta3-release-notes.mdx @@ -7,7 +7,7 @@ tags: [wails, v2]
- +

@@ -18,7 +18,7 @@ is very different from those first experiments. So without further ado, let's go ### New Features
- +

@@ -73,7 +73,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code ### Remote Templates
- +

@@ -93,7 +93,7 @@ community can create! Because Wails v2 for Windows is pure Go, you can target Windows builds without docker.
- +

diff --git a/website/docs/gettingstarted/building.mdx b/website/docs/gettingstarted/building.mdx index 8c6957117..f40605490 100644 --- a/website/docs/gettingstarted/building.mdx +++ b/website/docs/gettingstarted/building.mdx @@ -10,7 +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/docs/reference/options.mdx b/website/docs/reference/options.mdx index 7b81e5ca0..2446fe9eb 100644 --- a/website/docs/reference/options.mdx +++ b/website/docs/reference/options.mdx @@ -702,14 +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/docs/reference/runtime/dialog.mdx b/website/docs/reference/runtime/dialog.mdx index 88fc5ea40..2778010ff 100644 --- a/website/docs/reference/runtime/dialog.mdx +++ b/website/docs/reference/runtime/dialog.mdx @@ -157,7 +157,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` the first button is shown as default:
- +

@@ -172,7 +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.
- +

@@ -188,7 +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:
- +


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


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


diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx index 2a1246343..509e7a391 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx @@ -107,6 +107,6 @@ You should see the application working as expected:
>255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/> + className="screenshot"/>

diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx index 2a1246343..509e7a391 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx @@ -107,6 +107,6 @@ You should see the application working as expected:
>255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/> + className="screenshot"/>

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx index f5553c182..a024189d7 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx @@ -119,7 +119,6 @@ On Linux, you can run the application using `./helloworld` from the `build/bin` You should see the application working as expected:
- >255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/> +

diff --git a/website/src/pages/changelog.md b/website/src/pages/changelog.md index 5a9bf5360..155b06c6e 100644 --- a/website/src/pages/changelog.md +++ b/website/src/pages/changelog.md @@ -19,6 +19,32 @@ UseCSSDrag: true, }, ``` +### Added +* Set file permissions for generated files by @leaanthony in https://github.com/wailsapp/wails/pull/1763 +* Experimental support for CSS Drag detection by @leaanthony in https://github.com/wailsapp/wails/pull/1750 + +### Fixed +* Bug fix collecting of output binaries for platforms by @stffabi in https://github.com/wailsapp/wails/pull/1715 +* Fix registration of exposed fields by @ValentinTrinque in https://github.com/wailsapp/wails/pull/1727 +* Fix column widths for doctor command's dependencies table by @ianmjones in https://github.com/wailsapp/wails/pull/1717 +* Do not generate bindings for `OnBeforeClose` method + +### What's Changed +* Misc code refactors and removal by @leaanthony in https://github.com/wailsapp/wails/pull/1713 +* Add react-router to routing.mdx by @Maicarons2022 in https://github.com/wailsapp/wails/pull/1755 +* Add Japanese to doc by @RyoTagami in https://github.com/wailsapp/wails/pull/1716 +* Added EmailIt and Modal File Manager by @raguay in https://github.com/wailsapp/wails/pull/1728 +* Adding my ScriptBar program by @raguay in https://github.com/wailsapp/wails/pull/1761 +* Link to general webview2 runtime download page and not to a specific language by @stffabi in https://github.com/wailsapp/wails/pull/1764 +* Updated translations in https://github.com/wailsapp/wails/pull/1719 and https://github.com/wailsapp/wails/pull/1720 +* Remove text outside style's brackets by @DragoSpiro98 in https://github.com/wailsapp/wails/pull/1765 + +### New Contributors +* @RyoTagami made their first contribution in https://github.com/wailsapp/wails/pull/1716 +* @raguay made their first contribution in https://github.com/wailsapp/wails/pull/1728 +* @Maicarons2022 made their first contribution in https://github.com/wailsapp/wails/pull/1755 +* @DragoSpiro98 made their first contribution in https://github.com/wailsapp/wails/pull/1765 + ## [v2.0.0-beta.43] - 2022-08-08 ### Added diff --git a/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/building.mdx b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/building.mdx index 8c6957117..f40605490 100644 --- a/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/building.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/gettingstarted/building.mdx @@ -10,7 +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.43/reference/options.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/options.mdx index 7b81e5ca0..2446fe9eb 100644 --- a/website/versioned_docs/version-v2.0.0-beta.43/reference/options.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/options.mdx @@ -702,14 +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.43/reference/runtime/dialog.mdx b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/dialog.mdx index 88fc5ea40..2778010ff 100644 --- a/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/dialog.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/reference/runtime/dialog.mdx @@ -157,7 +157,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` the first button is shown as default:
- +

@@ -172,7 +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.
- +

@@ -188,7 +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:
- +


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


@@ -233,7 +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.43/tutorials/helloworld.mdx b/website/versioned_docs/version-v2.0.0-beta.43/tutorials/helloworld.mdx index 837313d4d..72e900f4a 100644 --- a/website/versioned_docs/version-v2.0.0-beta.43/tutorials/helloworld.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/tutorials/helloworld.mdx @@ -108,7 +108,6 @@ On Linux, you can run the application using `./helloworld` from the `build/bin` You should see the application working as expected:
- 255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/> +

diff --git a/website/versioned_docs/version-v2.0.0-beta.40/appendix/_category_.json b/website/versioned_docs/version-v2.0.0-beta.44/appendix/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/appendix/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.44/appendix/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/_category_.json b/website/versioned_docs/version-v2.0.0-beta.44/community/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.44/community/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/links.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/links.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/links.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/links.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/_category_.json b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/emailit.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/emailit.mdx new file mode 100644 index 000000000..d3ef84996 --- /dev/null +++ b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/emailit.mdx @@ -0,0 +1,8 @@ +# EmailIt + +

+
+

+ +[EmailIt](https://github.com/raguay/EmailIt/) is a Wails 2 program that is a markdown based email sender only with nine notepads, scripts to manipulate the text, and templates. It also has a builtin [Node-Red](https://nodered.org/) server, scripts terminal, and the [ScriptBar](https://github.com/raguay/ScriptBarApp) program for displaying results from Node-Red or a script on your system. Documentation is very scarce, but the programs works. It’s built using Wails2 and Svelte, and the download is a universal macOS application. + diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/encrypteasy.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/encrypteasy.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/encrypteasy.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/encrypteasy.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/filehound.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/filehound.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/filehound.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/filehound.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/modalfilemanager.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/modalfilemanager.mdx new file mode 100644 index 000000000..f5016466b --- /dev/null +++ b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/modalfilemanager.mdx @@ -0,0 +1,10 @@ +# Modal File Manager + +

+
+

+ +[Modal File Manager](https://github.com/raguay/ModalFileManager) is a dual pane file manager using web technologies. My original design was based on NW.js and can be found [here](https://github.com/raguay/ModalFileManager-NWjs). This version uses the same Svelte based frontend code (but it has be greatly modified since the departure from NW.js), but the backend is a [Wails 2](https://wails.io/) implementation. By using this implementation, I no longer use command line `rm`, `cp`, etc. commands. It is fully coded using Go and runs much faster than the previous versions. + +This file manager is designed around the same principle as Vim: a state controlled keyboard actions. The number of states isn't fixed, but very programmable. Therefore, an infinite number of keyboard configurations can be created and used. This is the main difference from other file managers. + diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/mollywallet.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/mollywallet.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/mollywallet.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/mollywallet.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/october.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/october.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/october.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/october.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/optimus.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/optimus.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/optimus.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/optimus.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/portfall.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/portfall.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/portfall.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/portfall.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/restic-browser.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/restic-browser.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/restic-browser.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/restic-browser.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/riftshare.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/riftshare.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/riftshare.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/riftshare.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/scriptbar.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/scriptbar.mdx new file mode 100644 index 000000000..cb5b373ea --- /dev/null +++ b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/scriptbar.mdx @@ -0,0 +1,7 @@ +# ScriptBar + +

+
+

+ +[ScriptBar](https://GitHub.com/raguay/ScriptBarApp) is a program to show the output of the embedded [Node-Red](https://nodered.org) server in the [EmailIt](https://GitHub.com/raguay/EmailIt) application. It also displays the output of scripts on your system. ScriptBar doesn't put them in the menubar, but has them all in a convient window for easy viewing. You can have multiple tabs to have many different things show. You can also keep the links to your most visited web sites. diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/surge.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/surge.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/surge.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/surge.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/wally.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/wally.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/wally.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/wally.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/wombat.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/wombat.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/wombat.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/wombat.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/showcase/ytd.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/showcase/ytd.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/community/showcase/ytd.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/showcase/ytd.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/community/templates.mdx b/website/versioned_docs/version-v2.0.0-beta.44/community/templates.mdx similarity index 95% rename from website/versioned_docs/version-v2.0.0-beta.40/community/templates.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/community/templates.mdx index 6d090bb3d..3f2fe6dba 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/community/templates.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/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.40/contributing/_category_.json b/website/versioned_docs/version-v2.0.0-beta.44/contributing/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/contributing/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.44/contributing/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.40/contributing/developing-new-features.mdx b/website/versioned_docs/version-v2.0.0-beta.44/contributing/developing-new-features.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/contributing/developing-new-features.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/contributing/developing-new-features.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/contributing/documenting.mdx b/website/versioned_docs/version-v2.0.0-beta.44/contributing/documenting.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/contributing/documenting.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/contributing/documenting.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/contributing/fixing-bugs.mdx b/website/versioned_docs/version-v2.0.0-beta.44/contributing/fixing-bugs.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/contributing/fixing-bugs.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/contributing/fixing-bugs.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/contributing/helping-others.mdx b/website/versioned_docs/version-v2.0.0-beta.44/contributing/helping-others.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/contributing/helping-others.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/contributing/helping-others.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/contributing/setting-up-a-dev-environment.mdx b/website/versioned_docs/version-v2.0.0-beta.44/contributing/setting-up-a-dev-environment.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/contributing/setting-up-a-dev-environment.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/contributing/setting-up-a-dev-environment.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/contributing/testing.mdx b/website/versioned_docs/version-v2.0.0-beta.44/contributing/testing.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/contributing/testing.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/contributing/testing.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/contributing/ways-of-contributing.mdx b/website/versioned_docs/version-v2.0.0-beta.44/contributing/ways-of-contributing.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/contributing/ways-of-contributing.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/contributing/ways-of-contributing.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/_category_.json b/website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/building.mdx b/website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/building.mdx similarity index 73% rename from website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/building.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/building.mdx index 8c6957117..f40605490 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/building.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/building.mdx @@ -10,7 +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.40/gettingstarted/development.mdx b/website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/development.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/development.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/development.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/firstproject.mdx b/website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/firstproject.mdx similarity index 99% rename from website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/firstproject.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/firstproject.mdx index 6c68dc51f..f68643a2f 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/gettingstarted/firstproject.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/firstproject.mdx @@ -2,9 +2,6 @@ sidebar_position: 2 --- -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; - # Creating a Project ## Project Generation @@ -13,8 +10,9 @@ Now that the CLI is installed, you can generate a new project by using the `wail Pick your favourite framework: - +import Tabs from "@theme/Tabs"; +import TabItem from "@theme/TabItem"; +import Tabs from "@theme/Tabs"; +import TabItem from "@theme/TabItem"; + { + if(event.target.duration - event.target.currentTime < 0.2) { + let ended = new Event("ended"); + event.target.dispatchEvent(ended); + } +}) +``` +Source: [Lyimmi](https://github.com/Lyimmi) on the +[discussions board](https://github.com/wailsapp/wails/issues/1729#issuecomment-1212291275) \ No newline at end of file diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/manual-builds.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/manual-builds.mdx similarity index 97% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/manual-builds.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/manual-builds.mdx index 19f2d7ccf..e3be40d0b 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/guides/manual-builds.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/guides/manual-builds.mdx @@ -84,7 +84,7 @@ This step could be done from the command line or a script with `npm run build` o #### Manual steps - For dev build, the minimum command would be: `go build -tags dev -gcflags "all=-N -l"` -- For production build, the minimum command would be: `go build -tags desktop,production -ldflags "-w -s"`. Add `-H windowsgui` to `ldflags` on Windows +- For production build, the minimum command would be: `go build -tags desktop,production -ldflags "-w -s -H windowsgui"` - Ensure that you compile in the same directory as the `.syso` file ### Compress application diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/migrating.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/migrating.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/migrating.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/migrating.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/mouse-buttons.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/mouse-buttons.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/mouse-buttons.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/mouse-buttons.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/overscroll.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/overscroll.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/overscroll.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/overscroll.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/routing.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/routing.mdx similarity index 56% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/routing.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/routing.mdx index 3e1f255d8..bdcd49b24 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/guides/routing.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/guides/routing.mdx @@ -24,4 +24,24 @@ The recommended approach for routing in Angular is [HashLocationStrategy](https: ```ts RouterModule.forRoot(routes, {useHash: true}) -``` \ No newline at end of file +``` + +## React + +The recommended approach for routing in React is [HashRouter](https://reactrouter.com/docs/en/v6/routers/hash-router): + +```jsx +import { HashRouter } from "react-router-dom"; + +ReactDOM.render( + + {/* The rest of your app goes here */} + + } exact /> + } /> + } /> + {/* more... */} + + , + root); +``` diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/signing.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/signing.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/signing.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/signing.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/templates.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/templates.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/templates.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/templates.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/troubleshooting.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/troubleshooting.mdx similarity index 94% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/troubleshooting.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/troubleshooting.mdx index c16405ac1..90c7d78dc 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/guides/troubleshooting.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/guides/troubleshooting.mdx @@ -90,10 +90,6 @@ go env -w GOPROXY=https://goproxy.cn,direct ``` Source: https://github.com/wailsapp/wails/issues/1233 -## I'd like to get a console on my production build - -You can access the Dev console in your application by compiling with `wails build -debug`. - ## The generated Typescript doesn''t have the correct types Sometimes the generated Typescript doesn''t have the correct types. To mitigate this, @@ -112,4 +108,4 @@ the following imports to the `` section of any new page you navigate to: ``` -Source: https://github.com/wailsapp/wails/discussions/1512 +Source: https://github.com/wailsapp/wails/discussions/1512 \ No newline at end of file diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/windows-installer.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/windows-installer.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/windows-installer.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/windows-installer.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/guides/windows.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/windows.mdx similarity index 78% rename from website/versioned_docs/version-v2.0.0-beta.40/guides/windows.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/guides/windows.mdx index d2362acba..73162d8a4 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/guides/windows.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/guides/windows.mdx @@ -51,4 +51,21 @@ Also, you should specify path to fixed version of webview2 runtime in the `windo }) ``` -Note: When `WebviewBrowserPath` is specified, `error` strategy will be forced in case of minimal required version mismatch or invalid path to a runtime. \ No newline at end of file +Note: When `WebviewBrowserPath` is specified, `error` strategy will be forced in case of minimal required version +mismatch or invalid path to a runtime. + +## Spawning other programs + +When spawning other programs, such as scripts, you will see the window appear on the screen. To hide the window, +you can use the following code: + +```go +cmd := exec.Command("your_script.exe") +cmd.SysProcAttr = &syscall.SysProcAttr{ + HideWindow: true, + CreationFlags: 0x08000000, +} +cmd.Start() +``` +Solution provided by [sithembiso](https://github.com/sithembiso) on the +[discussions board](https://github.com/wailsapp/wails/discussions/1734#discussioncomment-3386172). \ No newline at end of file diff --git a/website/versioned_docs/version-v2.0.0-beta.40/howdoesitwork.mdx b/website/versioned_docs/version-v2.0.0-beta.44/howdoesitwork.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/howdoesitwork.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/howdoesitwork.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/introduction.mdx b/website/versioned_docs/version-v2.0.0-beta.44/introduction.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/introduction.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/introduction.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/_category_.json b/website/versioned_docs/version-v2.0.0-beta.44/reference/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.44/reference/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/cli.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/cli.mdx similarity index 98% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/cli.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/cli.mdx index d8ee015c8..ee584c439 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/reference/cli.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/reference/cli.mdx @@ -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.40/reference/menus.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/menus.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/menus.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/menus.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/options.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/options.mdx similarity index 98% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/options.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/options.mdx index 7b81e5ca0..2446fe9eb 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/reference/options.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/reference/options.mdx @@ -702,14 +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.40/reference/project-config.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/project-config.mdx similarity index 88% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/project-config.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/project-config.mdx index 503c7089c..936e3fd5f 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/reference/project-config.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/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.40/reference/runtime/_category_.json b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/browser.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/browser.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/browser.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/browser.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/dialog.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/dialog.mdx similarity index 92% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/dialog.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/dialog.mdx index 88fc5ea40..2778010ff 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/dialog.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/dialog.mdx @@ -157,7 +157,7 @@ selection, err := runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ ``` the first button is shown as default:
- +

@@ -172,7 +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.
- +

@@ -188,7 +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:
- +


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


@@ -233,7 +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.40/reference/runtime/events.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/events.mdx similarity index 95% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/events.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/events.mdx index 1893a7b98..c08f83c8a 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/events.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/events.mdx @@ -46,6 +46,6 @@ This method sets up a listener for the given event name, but will only trigger a Go Signature: `EventsEmit(ctx context.Context, eventName string, optionalData ...interface{})` -JS Signature: `EventsEmit(eventName string, optionalData function(optionalData?: any))` +JS Signature: `EventsEmit(ctx context, optionalData function(optionalData?: any))` This method emits the given event. Optional data may be passed with the event. This will trigger any event listeners. diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/intro.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/intro.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/intro.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/intro.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/log.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/log.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/log.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/log.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/menu.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/menu.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/menu.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/menu.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/window.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/window.mdx similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/reference/runtime/window.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/reference/runtime/window.mdx diff --git a/website/versioned_docs/version-v2.0.0-beta.40/tutorials/_category_.json b/website/versioned_docs/version-v2.0.0-beta.44/tutorials/_category_.json similarity index 100% rename from website/versioned_docs/version-v2.0.0-beta.40/tutorials/_category_.json rename to website/versioned_docs/version-v2.0.0-beta.44/tutorials/_category_.json diff --git a/website/versioned_docs/version-v2.0.0-beta.40/tutorials/helloworld.mdx b/website/versioned_docs/version-v2.0.0-beta.44/tutorials/helloworld.mdx similarity index 92% rename from website/versioned_docs/version-v2.0.0-beta.40/tutorials/helloworld.mdx rename to website/versioned_docs/version-v2.0.0-beta.44/tutorials/helloworld.mdx index 837313d4d..24aa0285b 100644 --- a/website/versioned_docs/version-v2.0.0-beta.40/tutorials/helloworld.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/tutorials/helloworld.mdx @@ -108,7 +108,6 @@ On Linux, you can run the application using `./helloworld` from the `build/bin` You should see the application working as expected:
- 255 / 20%) 0px 1px 2px 0px, rgb(104 104 104) 0px 1px 5px 0px"}}/> +

diff --git a/website/versioned_sidebars/version-v2.0.0-beta.40-sidebars.json b/website/versioned_sidebars/version-v2.0.0-beta.40-sidebars.json deleted file mode 100644 index caea0c03b..000000000 --- a/website/versioned_sidebars/version-v2.0.0-beta.40-sidebars.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "tutorialSidebar": [ - { - "type": "autogenerated", - "dirName": "." - } - ] -} diff --git a/website/versioned_sidebars/version-v2.0.0-beta.39.3-sidebars.json b/website/versioned_sidebars/version-v2.0.0-beta.44-sidebars.json similarity index 100% rename from website/versioned_sidebars/version-v2.0.0-beta.39.3-sidebars.json rename to website/versioned_sidebars/version-v2.0.0-beta.44-sidebars.json diff --git a/website/versions.json b/website/versions.json index 2a314a1a3..313b863ea 100644 --- a/website/versions.json +++ b/website/versions.json @@ -1,4 +1 @@ -[ - "v2.0.0-beta.43", - "v2.0.0-beta.40" -] \ No newline at end of file +["v2.0.0-beta.44","v2.0.0-beta.43"] \ No newline at end of file