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 406af1a5..a23bc765 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]
@@ -71,7 +71,7 @@ Gophers rejoice! The single binary dream lives on!
@@ -93,7 +93,7 @@ but we hope to support other IDEs such as Goland soon.
@@ -119,7 +119,7 @@ They don't even need to be in the top directory - Wails will just work it out fo
@@ -152,7 +152,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code
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 96d1c8ef..d472c7d0 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]
@@ -29,7 +29,7 @@ So what's new for Wails v2 for Mac vs v1? Hint: It's pretty similar to the Windo
@@ -97,7 +97,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code
@@ -122,7 +122,7 @@ builds:
@@ -133,7 +133,7 @@ You can also specify `darwin/amd64` as a target too:
@@ -144,7 +144,7 @@ Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
@@ -157,7 +157,7 @@ Because Wails v2 for Windows is pure Go, you can target Windows builds without d
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 0bf32068..a3e65520 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]
@@ -22,7 +22,7 @@ is very different from those first experiments. So without further ado, let's go
@@ -81,7 +81,7 @@ auto-imported when hitting tab in an auto-generated module wrapping your Go code
@@ -105,7 +105,7 @@ Because Wails v2 for Windows is pure Go, you can target Windows builds without d
diff --git a/website/docs/gettingstarted/building.mdx b/website/docs/gettingstarted/building.mdx index 062c2e1e..33e19b14 100644 --- a/website/docs/gettingstarted/building.mdx +++ b/website/docs/gettingstarted/building.mdx @@ -11,7 +11,7 @@ If you run the binary, you should see the default application:
diff --git a/website/docs/guides/dynamic-assets.mdx b/website/docs/guides/dynamic-assets.mdx index 836d2470..62a80716 100644 --- a/website/docs/guides/dynamic-assets.mdx +++ b/website/docs/guides/dynamic-assets.mdx @@ -95,14 +95,14 @@ our custom assets handler:

However, if we request `go.mod`, we will see the following output:

- +

This technique can be used to load images directly into the page. If we updated our default vanilla template and @@ -122,7 +122,7 @@ Then we would see the following:

diff --git a/website/docs/guides/ides.mdx b/website/docs/guides/ides.mdx index 0591cf1b..aa684187 100644 --- a/website/docs/guides/ides.mdx +++ b/website/docs/guides/ides.mdx @@ -9,7 +9,7 @@ Currently, we support [Visual Studio Code](https://code.visualstudio.com/) but a

diff --git a/website/docs/guides/windows-installer.mdx b/website/docs/guides/windows-installer.mdx index 06cbaf04..cb31d052 100644 --- a/website/docs/guides/windows-installer.mdx +++ b/website/docs/guides/windows-installer.mdx @@ -2,7 +2,7 @@


diff --git a/website/docs/howdoesitwork.mdx b/website/docs/howdoesitwork.mdx index 7a2103d2..62fafb68 100644 --- a/website/docs/howdoesitwork.mdx +++ b/website/docs/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 diff --git a/website/docs/introduction.mdx b/website/docs/introduction.mdx index 49f314a9..dddca11f 100644 --- a/website/docs/introduction.mdx +++ b/website/docs/introduction.mdx @@ -29,7 +29,7 @@ you'd expect from a modern native app.

- +

diff --git a/website/docs/reference/options.mdx b/website/docs/reference/options.mdx index 87e54bc8..2369be63 100644 --- a/website/docs/reference/options.mdx +++ b/website/docs/reference/options.mdx @@ -548,9 +548,9 @@ Preconfigured titlebar settings are available: | Setting | Example | | --------------------------- | --------------------------------------------- | -| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.png) | -| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.png) | -| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.png) | +| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.webp) | +| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.webp) | +| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.webp) | Example: @@ -619,7 +619,7 @@ The "About" menu item will appear in the app menu:
@@ -629,7 +629,7 @@ When clicked, that will open an about message box:
diff --git a/website/docs/tutorials/dogsapi.mdx b/website/docs/tutorials/dogsapi.mdx index 8adb39d6..4a5f9c88 100644 --- a/website/docs/tutorials/dogsapi.mdx +++ b/website/docs/tutorials/dogsapi.mdx @@ -6,7 +6,7 @@ sidebar_position: 20
diff --git a/website/docs/tutorials/helloworld.mdx b/website/docs/tutorials/helloworld.mdx index dea32688..50d76f35 100644 --- a/website/docs/tutorials/helloworld.mdx +++ b/website/docs/tutorials/helloworld.mdx @@ -96,7 +96,7 @@ If we view the `build/bin` directory in Windows Explorer, we should see our proj
@@ -112,7 +112,7 @@ You should see the application working as expected:
diff --git a/website/i18n/ja/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx b/website/i18n/ja/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx index 4a2914cd..773f6dd6 100644 --- a/website/i18n/ja/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -54,7 +54,7 @@ Gophers rejoice! The single binary dream lives on!
@@ -70,7 +70,7 @@ There is now the option to generate IDE configuration along with your project. T
@@ -94,7 +94,7 @@ You just pass a single `embed.FS` that contains all your assets into your applic
@@ -119,7 +119,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
diff --git a/website/i18n/ja/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx b/website/i18n/ja/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx index f08315c0..04d90e4f 100644 --- a/website/i18n/ja/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -28,7 +28,7 @@ So what's new for Wails v2 for Mac vs v1? Hint: It's pretty similar to the Windo
@@ -80,7 +80,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
@@ -98,7 +98,7 @@ Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wa
@@ -110,7 +110,7 @@ You can also specify `darwin/amd64` as a target too:
@@ -122,7 +122,7 @@ Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
@@ -136,7 +136,7 @@ Because Wails v2 for Windows is pure Go, you can target Windows builds without d
diff --git a/website/i18n/ja/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx b/website/i18n/ja/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx index 9bb924ce..35b49f4f 100644 --- a/website/i18n/ja/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -24,7 +24,7 @@ I'm pleased to finally announce that Wails v2 is now in beta for Linux! It is so
@@ -67,7 +67,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
@@ -85,7 +85,7 @@ Because Wails v2 for Windows is pure Go, you can target Windows builds without d
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx index 5b0dab74..3e0df3b6 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx @@ -10,7 +10,7 @@ If you run the binary, you should see the default application:
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx index dd17af70..77ad6d09 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx @@ -89,14 +89,14 @@ This will generate an error in the devtools. We can see that the error is what w

However, if we request `go.mod`, we will see the following output:

- +

This technique can be used to load images directly into the page. If we updated our default vanilla template and replaced the logo image: @@ -115,7 +115,7 @@ Then we would see the following:

diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/ides.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/ides.mdx index bd5467e7..a20ae413 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/ides.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/ides.mdx @@ -8,7 +8,7 @@ Currently, we support [Visual Studio Code](https://code.visualstudio.com/) but a

diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx index b1fa8494..249ec552 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx @@ -2,7 +2,7 @@


diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/howdoesitwork.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/howdoesitwork.mdx index 7ddc9707..0063b47a 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/howdoesitwork.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/howdoesitwork.mdx @@ -7,7 +7,7 @@ sidebar_position: 20 A Wails application is a standard Go application, with a webkit frontend. The Go part of the application consists of the application code and a runtime library that provides a number of useful operations, like controlling the application window. The frontend is a webkit window that will display the frontend assets. Also available to the frontend is a Javascript version of the runtime library. Finally, it is possible to bind Go methods to the frontend, and these will appear as Javascript methods that can be called, just as if they were local Javascript methods.

- +
## The Main Application diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/introduction.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/introduction.mdx index 2aebf2d7..13b9ee56 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/introduction.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/introduction.mdx @@ -26,7 +26,7 @@ This is [varly](https://varly.app) - a desktop application for MacOS & Windows w

- +

diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/options.mdx index 895c8bd1..00868e84 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/options.mdx +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/options.mdx @@ -605,9 +605,9 @@ Preconfigured titlebar settings are available: | Setting | Example | | --------------------------- | --------------------------------------------- | -| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.png) | -| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.png) | -| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.png) | +| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.webp) | +| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.webp) | +| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.webp) | Example: ```go @@ -669,7 +669,7 @@ func main() { The "About" menu item will appear in the app menu:
- +

@@ -677,7 +677,7 @@ The "About" menu item will appear in the app menu: When clicked, that will open an about message box:
- +

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 5ae00579..d1b8e9f9 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 @@ -93,7 +93,7 @@ If we view the `build/bin` directory in Windows Explorer, we should see our proj
@@ -110,7 +110,7 @@ You should see the application working as expected:
diff --git a/website/i18n/ko/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx b/website/i18n/ko/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx index 19e6a03c..ea548770 100644 --- a/website/i18n/ko/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -54,7 +54,7 @@ Gophers rejoice! The single binary dream lives on!
@@ -70,7 +70,7 @@ There is now the option to generate IDE configuration along with your project. T
@@ -94,7 +94,7 @@ You just pass a single `embed.FS` that contains all your assets into your applic
@@ -119,7 +119,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
diff --git a/website/i18n/ko/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx b/website/i18n/ko/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx index a3fc81a9..8465fef2 100644 --- a/website/i18n/ko/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -28,7 +28,7 @@ So what's new for Wails v2 for Mac vs v1? Hint: It's pretty similar to the Windo
@@ -80,7 +80,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
@@ -98,7 +98,7 @@ Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wa
@@ -110,7 +110,7 @@ You can also specify `darwin/amd64` as a target too:
@@ -122,7 +122,7 @@ Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
@@ -136,7 +136,7 @@ Because Wails v2 for Windows is pure Go, you can target Windows builds without d
diff --git a/website/i18n/ko/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx b/website/i18n/ko/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx index a7678ae0..3ca1b740 100644 --- a/website/i18n/ko/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -24,7 +24,7 @@ I'm pleased to finally announce that Wails v2 is now in beta for Linux! It is so
@@ -67,7 +67,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
@@ -85,7 +85,7 @@ Because Wails v2 for Windows is pure Go, you can target Windows builds without d
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx index 5b0dab74..3e0df3b6 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx @@ -10,7 +10,7 @@ If you run the binary, you should see the default application:
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx index 098eb6df..4b68aef2 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx @@ -89,14 +89,14 @@ This will generate an error in the devtools. We can see that the error is what w

However, if we request `go.mod`, we will see the following output:

- +

This technique can be used to load images directly into the page. If we updated our default vanilla template and replaced the logo image: @@ -115,7 +115,7 @@ Then we would see the following:

diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/ides.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/ides.mdx index 96793ed2..5423ea49 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/ides.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/ides.mdx @@ -8,7 +8,7 @@ Currently, we support [Visual Studio Code](https://code.visualstudio.com/) but a

diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx index f85c5caa..21de9a40 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx @@ -2,7 +2,7 @@


diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/howdoesitwork.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/howdoesitwork.mdx index e92c1c3b..f59873ec 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/howdoesitwork.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/howdoesitwork.mdx @@ -7,7 +7,7 @@ sidebar_position: 20 A Wails application is a standard Go application, with a webkit frontend. The Go part of the application consists of the application code and a runtime library that provides a number of useful operations, like controlling the application window. The frontend is a webkit window that will display the frontend assets. Also available to the frontend is a Javascript version of the runtime library. Finally, it is possible to bind Go methods to the frontend, and these will appear as Javascript methods that can be called, just as if they were local Javascript methods.

- +
## The Main Application diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/introduction.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/introduction.mdx index 797941bf..cf3035d9 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/introduction.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/introduction.mdx @@ -26,7 +26,7 @@ This is [varly](https://varly.app) - a desktop application for MacOS & Windows w

- +

diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/options.mdx index 7e72c7c2..b2b4ae84 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/options.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/options.mdx @@ -515,9 +515,9 @@ Preconfigured titlebar settings are available: | Setting | Example | | --------------------------- | --------------------------------------------- | -| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.png) | -| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.png) | -| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.png) | +| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.webp) | +| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.webp) | +| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.webp) | Example: @@ -585,7 +585,7 @@ The "About" menu item will appear in the app menu:
@@ -596,7 +596,7 @@ When clicked, that will open an about message box:
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx index 5ae00579..d1b8e9f9 100644 --- a/website/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx +++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/tutorials/helloworld.mdx @@ -93,7 +93,7 @@ If we view the `build/bin` directory in Windows Explorer, we should see our proj
@@ -110,7 +110,7 @@ You should see the application working as expected:
diff --git a/website/i18n/ru/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx b/website/i18n/ru/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx index 0e26e8e3..99980615 100644 --- a/website/i18n/ru/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -54,7 +54,7 @@ Gophers rejoice! The single binary dream lives on!
@@ -70,7 +70,7 @@ There is now the option to generate IDE configuration along with your project. T
@@ -94,7 +94,7 @@ You just pass a single `embed.FS` that contains all your assets into your applic
@@ -119,7 +119,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
diff --git a/website/i18n/ru/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx b/website/i18n/ru/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx index d6bc7ad0..ac3cfad0 100644 --- a/website/i18n/ru/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -28,7 +28,7 @@ So what's new for Wails v2 for Mac vs v1? Hint: It's pretty similar to the Windo
@@ -80,7 +80,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
@@ -98,7 +98,7 @@ Thanks to the amazing support of [Mat Ryer](https://github.com/matryer/), the Wa
@@ -110,7 +110,7 @@ You can also specify `darwin/amd64` as a target too:
@@ -122,7 +122,7 @@ Oh, I almost forgot.... you can also do `darwin/universal`.... :wink:
@@ -136,7 +136,7 @@ Because Wails v2 for Windows is pure Go, you can target Windows builds without d
diff --git a/website/i18n/ru/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx b/website/i18n/ru/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx index aa308a4e..5d7707e4 100644 --- a/website/i18n/ru/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -24,7 +24,7 @@ I'm pleased to finally announce that Wails v2 is now in beta for Linux! It is so
@@ -67,7 +67,7 @@ In addition to this, another JS module is dynamically generated wrapping all you
@@ -85,7 +85,7 @@ Because Wails v2 for Windows is pure Go, you can target Windows builds without d
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx index 5b0dab74..3e0df3b6 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx @@ -10,7 +10,7 @@ If you run the binary, you should see the default application:
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx index dd17af70..77ad6d09 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx @@ -89,14 +89,14 @@ This will generate an error in the devtools. We can see that the error is what w

However, if we request `go.mod`, we will see the following output:

- +

This technique can be used to load images directly into the page. If we updated our default vanilla template and replaced the logo image: @@ -115,7 +115,7 @@ Then we would see the following:

diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/ides.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/ides.mdx index bd5467e7..a20ae413 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/ides.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/ides.mdx @@ -8,7 +8,7 @@ Currently, we support [Visual Studio Code](https://code.visualstudio.com/) but a

diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx index b1fa8494..249ec552 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx @@ -2,7 +2,7 @@


diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/howdoesitwork.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/howdoesitwork.mdx index 7ddc9707..0063b47a 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/howdoesitwork.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/howdoesitwork.mdx @@ -7,7 +7,7 @@ sidebar_position: 20 A Wails application is a standard Go application, with a webkit frontend. The Go part of the application consists of the application code and a runtime library that provides a number of useful operations, like controlling the application window. The frontend is a webkit window that will display the frontend assets. Also available to the frontend is a Javascript version of the runtime library. Finally, it is possible to bind Go methods to the frontend, and these will appear as Javascript methods that can be called, just as if they were local Javascript methods.

- +
## The Main Application diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/introduction.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/introduction.mdx index cd8fb811..d8c73073 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/introduction.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/introduction.mdx @@ -26,7 +26,7 @@ Wails - это проект, позволяющий писать настоль

- +

diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/options.mdx index 895c8bd1..00868e84 100644 --- a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/options.mdx +++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/options.mdx @@ -605,9 +605,9 @@ Preconfigured titlebar settings are available: | Setting | Example | | --------------------------- | --------------------------------------------- | -| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.png) | -| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.png) | -| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.png) | +| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.webp) | +| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.webp) | +| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.webp) | Example: ```go @@ -669,7 +669,7 @@ func main() { The "About" menu item will appear in the app menu:
- +

@@ -677,7 +677,7 @@ The "About" menu item will appear in the app menu: When clicked, that will open an about message box:
- +

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 509e7a39..71edab93 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 @@ -92,7 +92,7 @@ This has compiled the application and saved it in the `build/bin` directory. If we view the `build/bin` directory in Windows Explorer, we should see our project binary:
- +

@@ -106,7 +106,7 @@ On Linux, you can run the application using `./helloworld` from the `build/bin` You should see the application working as expected:
-

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx index d00e8164..9ec12990 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-09-27-v2-beta1-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -54,7 +54,7 @@ Gophers 欢呼吧! 单个二进制文件的构想依然存在!
@@ -70,7 +70,7 @@ Gophers 欢呼吧! 单个二进制文件的构想依然存在!
@@ -94,7 +94,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
@@ -119,7 +119,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx index 0d17380f..21061e0b 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2021-11-08-v2-beta2-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -28,7 +28,7 @@ tags:
@@ -80,7 +80,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
@@ -98,7 +98,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
@@ -110,7 +110,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
@@ -122,7 +122,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
@@ -136,7 +136,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx index 0973e5af..b7fa4f17 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-blog/2022-02-22-v2-beta3-release-notes.mdx @@ -10,7 +10,7 @@ tags:
@@ -24,7 +24,7 @@ tags:
@@ -67,7 +67,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
@@ -85,7 +85,7 @@ v1 的一个巨大痛点是需要将整个应用程序压缩为单个 JS 和 CSS
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx index fceca2f7..38bf5d47 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/building.mdx @@ -10,7 +10,7 @@ sidebar_position: 6
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx index 59216cca..c28d70e9 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/dynamic-assets.mdx @@ -89,14 +89,14 @@ This will generate an error in the devtools. This will generate an error in the

However, if we request `go.mod`, we will see the following output:

- +

This technique can be used to load images directly into the page. This technique can be used to load images directly into the page. If we updated our default vanilla template and replaced the logo image: This technique can be used to load images directly into the page. This technique can be used to load images directly into the page. If we updated our default vanilla template and replaced the logo image: This technique can be used to load images directly into the page. If we updated our default vanilla template and replaced the logo image: @@ -115,7 +115,7 @@ Then we would see the following:

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/ides.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/ides.mdx index 29c281ac..097bad81 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/ides.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/ides.mdx @@ -8,7 +8,7 @@ Wails 旨在提供出色的开发体验。 为此,我们现在支持生成 IDE

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx index c2446de8..a5c9449b 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/windows-installer.mdx @@ -2,7 +2,7 @@


diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/howdoesitwork.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/howdoesitwork.mdx index ce94c9aa..a4767929 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/howdoesitwork.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/howdoesitwork.mdx @@ -7,7 +7,7 @@ sidebar_position: 20 Wails 应用程序是一个带有一个 webkit 前端的标准的 Go 应用程序。 应用程序的 Go 部分由应用程序代码和一个运行时库组成, 该库提供了许多有用的操作,例如控制应用程序窗口。 前端是一个 webkit 窗口,将显示前端资源。 前端还可以使用运行时库的 Javascript 版本。 最后,可以将 Go 方法绑定到前端,这些将显示为可以调用的 Javascript 方法,就像它们是原生 Javascript 方法一样。

- +
## 主应用程序 diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/introduction.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/introduction.mdx index 5900f39b..ee68d917 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/introduction.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/introduction.mdx @@ -26,7 +26,7 @@ Wails 是一个可让您使用 Go 和 Web 技术编写桌面应用的项目。

- +

diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/options.mdx index 45d19aa9..5439f36e 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/options.mdx +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/options.mdx @@ -601,9 +601,9 @@ Preconfigured titlebar settings are available: | 值 | 描述 | | --------------------------- | --------------------------------------------- | -| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.png) | -| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.png) | -| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.png) | +| `mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.webp) | +| `mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.webp) | +| `mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.webp) | 名称:Mac ```go @@ -681,7 +681,7 @@ func main() { The "About" menu item will appear in the app menu:
- +

@@ -689,7 +689,7 @@ The "About" menu item will appear in the app menu: When clicked, that will open an about message box:
- +

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 a024189d..c6ce46c3 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 @@ -105,7 +105,7 @@ This has compiled the application and saved it in the `build/bin` directory. If we view the `build/bin` directory in Windows Explorer, we should see our project binary:
- +

@@ -119,6 +119,6 @@ On Linux, you can run the application using `./helloworld` from the `build/bin` You should see the application working as expected:
- +

diff --git a/website/static/img/architecture.png b/website/static/img/architecture.png deleted file mode 100644 index e3d56081..00000000 Binary files a/website/static/img/architecture.png and /dev/null differ diff --git a/website/static/img/architecture.webp b/website/static/img/architecture.webp new file mode 100644 index 00000000..b4a3112b Binary files /dev/null and b/website/static/img/architecture.webp differ diff --git a/website/static/img/assetshandler-does-not-exist.png b/website/static/img/assetshandler-does-not-exist.png deleted file mode 100644 index 508bc14c..00000000 Binary files a/website/static/img/assetshandler-does-not-exist.png and /dev/null differ diff --git a/website/static/img/assetshandler-does-not-exist.webp b/website/static/img/assetshandler-does-not-exist.webp new file mode 100644 index 00000000..6ec8e3e6 Binary files /dev/null and b/website/static/img/assetshandler-does-not-exist.webp differ diff --git a/website/static/img/assetshandler-go-mod.png b/website/static/img/assetshandler-go-mod.png deleted file mode 100644 index dbb06063..00000000 Binary files a/website/static/img/assetshandler-go-mod.png and /dev/null differ diff --git a/website/static/img/assetshandler-go-mod.webp b/website/static/img/assetshandler-go-mod.webp new file mode 100644 index 00000000..37e1b95c Binary files /dev/null and b/website/static/img/assetshandler-go-mod.webp differ diff --git a/website/static/img/assetshandler-image.png b/website/static/img/assetshandler-image.png deleted file mode 100644 index e4883614..00000000 Binary files a/website/static/img/assetshandler-image.png and /dev/null differ diff --git a/website/static/img/assetshandler-image.webp b/website/static/img/assetshandler-image.webp new file mode 100644 index 00000000..df331434 Binary files /dev/null and b/website/static/img/assetshandler-image.webp differ diff --git a/website/static/img/bronze sponsor.png b/website/static/img/bronze sponsor.png deleted file mode 100644 index 0eeb61e0..00000000 Binary files a/website/static/img/bronze sponsor.png and /dev/null differ diff --git a/website/static/img/bronze sponsor.webp b/website/static/img/bronze sponsor.webp new file mode 100644 index 00000000..71da5950 Binary files /dev/null and b/website/static/img/bronze sponsor.webp differ diff --git a/website/static/img/browser.png b/website/static/img/browser.png deleted file mode 100644 index e4a48ee9..00000000 Binary files a/website/static/img/browser.png and /dev/null differ diff --git a/website/static/img/browser.webp b/website/static/img/browser.webp new file mode 100644 index 00000000..a19d5b03 Binary files /dev/null and b/website/static/img/browser.webp differ diff --git a/website/static/img/build-cross-windows.png b/website/static/img/build-cross-windows.png deleted file mode 100644 index ab488227..00000000 Binary files a/website/static/img/build-cross-windows.png and /dev/null differ diff --git a/website/static/img/build-cross-windows.webp b/website/static/img/build-cross-windows.webp new file mode 100644 index 00000000..ba1a538f Binary files /dev/null and b/website/static/img/build-cross-windows.webp differ diff --git a/website/static/img/build-darwin-amd.png b/website/static/img/build-darwin-amd.png deleted file mode 100644 index 6300d264..00000000 Binary files a/website/static/img/build-darwin-amd.png and /dev/null differ diff --git a/website/static/img/build-darwin-amd.webp b/website/static/img/build-darwin-amd.webp new file mode 100644 index 00000000..6126129c Binary files /dev/null and b/website/static/img/build-darwin-amd.webp differ diff --git a/website/static/img/build-darwin-arm.png b/website/static/img/build-darwin-arm.png deleted file mode 100644 index 0bb72ae3..00000000 Binary files a/website/static/img/build-darwin-arm.png and /dev/null differ diff --git a/website/static/img/build-darwin-arm.webp b/website/static/img/build-darwin-arm.webp new file mode 100644 index 00000000..47fcf458 Binary files /dev/null and b/website/static/img/build-darwin-arm.webp differ diff --git a/website/static/img/build-darwin-universal.png b/website/static/img/build-darwin-universal.png deleted file mode 100644 index 249be83c..00000000 Binary files a/website/static/img/build-darwin-universal.png and /dev/null differ diff --git a/website/static/img/build-darwin-universal.webp b/website/static/img/build-darwin-universal.webp new file mode 100644 index 00000000..c95d92cc Binary files /dev/null and b/website/static/img/build-darwin-universal.webp differ diff --git a/website/static/img/defaultproject.png b/website/static/img/defaultproject.png deleted file mode 100644 index 705235fb..00000000 Binary files a/website/static/img/defaultproject.png and /dev/null differ diff --git a/website/static/img/defaultproject.webp b/website/static/img/defaultproject.webp new file mode 100644 index 00000000..e3f06727 Binary files /dev/null and b/website/static/img/defaultproject.webp differ diff --git a/website/static/img/devtools.png b/website/static/img/devtools.png index 2e5c4a61..e56a0d30 100644 Binary files a/website/static/img/devtools.png and b/website/static/img/devtools.png differ diff --git a/website/static/img/easyweb.png b/website/static/img/easyweb.png deleted file mode 100644 index f703f1e0..00000000 Binary files a/website/static/img/easyweb.png and /dev/null differ diff --git a/website/static/img/easyweb.webp b/website/static/img/easyweb.webp new file mode 100644 index 00000000..9bbf04ca Binary files /dev/null and b/website/static/img/easyweb.webp differ diff --git a/website/static/img/go-logo.png b/website/static/img/go-logo.png deleted file mode 100644 index 0f002e98..00000000 Binary files a/website/static/img/go-logo.png and /dev/null differ diff --git a/website/static/img/go-logo.webp b/website/static/img/go-logo.webp new file mode 100644 index 00000000..c1e47867 Binary files /dev/null and b/website/static/img/go-logo.webp differ diff --git a/website/static/img/helloworld-app-icon.png b/website/static/img/helloworld-app-icon.png deleted file mode 100644 index abb168a4..00000000 Binary files a/website/static/img/helloworld-app-icon.png and /dev/null differ diff --git a/website/static/img/helloworld-app-icon.webp b/website/static/img/helloworld-app-icon.webp new file mode 100644 index 00000000..8320bcd3 Binary files /dev/null and b/website/static/img/helloworld-app-icon.webp differ diff --git a/website/static/img/jetbrains-grayscale.png b/website/static/img/jetbrains-grayscale.png deleted file mode 100644 index c5bf0ab6..00000000 Binary files a/website/static/img/jetbrains-grayscale.png and /dev/null differ diff --git a/website/static/img/jetbrains-grayscale.webp b/website/static/img/jetbrains-grayscale.webp new file mode 100644 index 00000000..be39c485 Binary files /dev/null and b/website/static/img/jetbrains-grayscale.webp differ diff --git a/website/static/img/linux-build-cross-windows.png b/website/static/img/linux-build-cross-windows.png index 0d7864eb..4cbfc547 100644 Binary files a/website/static/img/linux-build-cross-windows.png and b/website/static/img/linux-build-cross-windows.png differ diff --git a/website/static/img/linux-build-cross-windows.webp b/website/static/img/linux-build-cross-windows.webp new file mode 100644 index 00000000..cbed7585 Binary files /dev/null and b/website/static/img/linux-build-cross-windows.webp differ diff --git a/website/static/img/nsis.png b/website/static/img/nsis.png deleted file mode 100644 index 366d2d54..00000000 Binary files a/website/static/img/nsis.png and /dev/null differ diff --git a/website/static/img/nsis.webp b/website/static/img/nsis.webp new file mode 100644 index 00000000..202f815a Binary files /dev/null and b/website/static/img/nsis.webp differ diff --git a/website/static/img/reference/about-dialog.png b/website/static/img/reference/about-dialog.png deleted file mode 100644 index 8af3ef91..00000000 Binary files a/website/static/img/reference/about-dialog.png and /dev/null differ diff --git a/website/static/img/reference/about-dialog.webp b/website/static/img/reference/about-dialog.webp new file mode 100644 index 00000000..26724bbf Binary files /dev/null and b/website/static/img/reference/about-dialog.webp differ diff --git a/website/static/img/reference/about-menu.png b/website/static/img/reference/about-menu.png deleted file mode 100644 index 6ac7166e..00000000 Binary files a/website/static/img/reference/about-menu.png and /dev/null differ diff --git a/website/static/img/reference/about-menu.webp b/website/static/img/reference/about-menu.webp new file mode 100644 index 00000000..0302affe Binary files /dev/null and b/website/static/img/reference/about-menu.webp differ diff --git a/website/static/img/reference/titlebar-default.png b/website/static/img/reference/titlebar-default.png deleted file mode 100644 index 8204d3f9..00000000 Binary files a/website/static/img/reference/titlebar-default.png and /dev/null differ diff --git a/website/static/img/reference/titlebar-default.webp b/website/static/img/reference/titlebar-default.webp new file mode 100644 index 00000000..41905c02 Binary files /dev/null and b/website/static/img/reference/titlebar-default.webp differ diff --git a/website/static/img/reference/titlebar-hidden-inset.png b/website/static/img/reference/titlebar-hidden-inset.png deleted file mode 100644 index b3161367..00000000 Binary files a/website/static/img/reference/titlebar-hidden-inset.png and /dev/null differ diff --git a/website/static/img/reference/titlebar-hidden-inset.webp b/website/static/img/reference/titlebar-hidden-inset.webp new file mode 100644 index 00000000..06aae2eb Binary files /dev/null and b/website/static/img/reference/titlebar-hidden-inset.webp differ diff --git a/website/static/img/reference/titlebar-hidden.png b/website/static/img/reference/titlebar-hidden.png deleted file mode 100644 index c68db059..00000000 Binary files a/website/static/img/reference/titlebar-hidden.png and /dev/null differ diff --git a/website/static/img/reference/titlebar-hidden.webp b/website/static/img/reference/titlebar-hidden.webp new file mode 100644 index 00000000..5dc68915 Binary files /dev/null and b/website/static/img/reference/titlebar-hidden.webp differ diff --git a/website/static/img/remote-linux.png b/website/static/img/remote-linux.png deleted file mode 100644 index b1f9fbe9..00000000 Binary files a/website/static/img/remote-linux.png and /dev/null differ diff --git a/website/static/img/remote-linux.webp b/website/static/img/remote-linux.webp new file mode 100644 index 00000000..25ad11ea Binary files /dev/null and b/website/static/img/remote-linux.webp differ diff --git a/website/static/img/remote-mac.png b/website/static/img/remote-mac.png deleted file mode 100644 index c15aaf9c..00000000 Binary files a/website/static/img/remote-mac.png and /dev/null differ diff --git a/website/static/img/remote-mac.webp b/website/static/img/remote-mac.webp new file mode 100644 index 00000000..bf4758e1 Binary files /dev/null and b/website/static/img/remote-mac.webp differ diff --git a/website/static/img/remote.png b/website/static/img/remote.png deleted file mode 100644 index feb535a5..00000000 Binary files a/website/static/img/remote.png and /dev/null differ diff --git a/website/static/img/remote.webp b/website/static/img/remote.webp new file mode 100644 index 00000000..3968c5dd Binary files /dev/null and b/website/static/img/remote.webp differ diff --git a/website/static/img/runtime/dialog_default_button.png b/website/static/img/runtime/dialog_default_button.png index 9bcc2146..8245947a 100644 Binary files a/website/static/img/runtime/dialog_default_button.png and b/website/static/img/runtime/dialog_default_button.png differ diff --git a/website/static/img/runtime/dialog_default_cancel.png b/website/static/img/runtime/dialog_default_cancel.png index 5e4db4ce..e0d5836d 100644 Binary files a/website/static/img/runtime/dialog_default_cancel.png and b/website/static/img/runtime/dialog_default_cancel.png differ diff --git a/website/static/img/runtime/dialog_lin_filters.png b/website/static/img/runtime/dialog_lin_filters.png index b22919d7..6f58b8cd 100644 Binary files a/website/static/img/runtime/dialog_lin_filters.png and b/website/static/img/runtime/dialog_lin_filters.png differ diff --git a/website/static/img/runtime/dialog_no_defaults.png b/website/static/img/runtime/dialog_no_defaults.png index 54c605d7..f106d387 100644 Binary files a/website/static/img/runtime/dialog_no_defaults.png and b/website/static/img/runtime/dialog_no_defaults.png differ diff --git a/website/static/img/runtime/dialog_win_filters.png b/website/static/img/runtime/dialog_win_filters.png index c2d31188..7fd194b0 100644 Binary files a/website/static/img/runtime/dialog_win_filters.png and b/website/static/img/runtime/dialog_win_filters.png differ diff --git a/website/static/img/silver sponsor.png b/website/static/img/silver sponsor.png deleted file mode 100644 index e81da100..00000000 Binary files a/website/static/img/silver sponsor.png and /dev/null differ diff --git a/website/static/img/silver sponsor.webp b/website/static/img/silver sponsor.webp new file mode 100644 index 00000000..4a7776ff Binary files /dev/null and b/website/static/img/silver sponsor.webp differ diff --git a/website/static/img/troubleshooting/invalid_mac_app.png b/website/static/img/troubleshooting/invalid_mac_app.png index 92ceabb5..5f44d779 100644 Binary files a/website/static/img/troubleshooting/invalid_mac_app.png and b/website/static/img/troubleshooting/invalid_mac_app.png differ diff --git a/website/static/img/tutorials/dogsapi/img.png b/website/static/img/tutorials/dogsapi/img.png deleted file mode 100644 index 05995cf3..00000000 Binary files a/website/static/img/tutorials/dogsapi/img.png and /dev/null differ diff --git a/website/static/img/tutorials/dogsapi/img.webp b/website/static/img/tutorials/dogsapi/img.webp new file mode 100644 index 00000000..4a0e2ceb Binary files /dev/null and b/website/static/img/tutorials/dogsapi/img.webp differ diff --git a/website/static/img/varly.png b/website/static/img/varly.png deleted file mode 100644 index 2c485d54..00000000 Binary files a/website/static/img/varly.png and /dev/null differ diff --git a/website/static/img/varly.webp b/website/static/img/varly.webp new file mode 100644 index 00000000..0c2d4663 Binary files /dev/null and b/website/static/img/varly.webp differ diff --git a/website/static/img/vscode.png b/website/static/img/vscode.png deleted file mode 100644 index 29135187..00000000 Binary files a/website/static/img/vscode.png and /dev/null differ diff --git a/website/static/img/vscode.webp b/website/static/img/vscode.webp new file mode 100644 index 00000000..156fa307 Binary files /dev/null and b/website/static/img/vscode.webp differ diff --git a/website/static/img/vue3-template.png b/website/static/img/vue3-template.png index 9ede595a..4459e166 100644 Binary files a/website/static/img/vue3-template.png and b/website/static/img/vue3-template.png differ diff --git a/website/static/img/vue3-template.webp b/website/static/img/vue3-template.webp new file mode 100644 index 00000000..0e12a008 Binary files /dev/null and b/website/static/img/vue3-template.webp differ diff --git a/website/static/img/wails-app-mac.png b/website/static/img/wails-app-mac.png deleted file mode 100644 index bf18df55..00000000 Binary files a/website/static/img/wails-app-mac.png and /dev/null differ diff --git a/website/static/img/wails-app-mac.webp b/website/static/img/wails-app-mac.webp new file mode 100644 index 00000000..d266ceca Binary files /dev/null and b/website/static/img/wails-app-mac.webp differ diff --git a/website/static/img/wails-linux.png b/website/static/img/wails-linux.png deleted file mode 100644 index 38e2b28e..00000000 Binary files a/website/static/img/wails-linux.png and /dev/null differ diff --git a/website/static/img/wails-linux.webp b/website/static/img/wails-linux.webp new file mode 100644 index 00000000..45c76ed0 Binary files /dev/null and b/website/static/img/wails-linux.webp differ diff --git a/website/static/img/wails-mac.png b/website/static/img/wails-mac.png deleted file mode 100644 index 4abe2558..00000000 Binary files a/website/static/img/wails-mac.png and /dev/null differ diff --git a/website/static/img/wails-mac.webp b/website/static/img/wails-mac.webp new file mode 100644 index 00000000..26ee0be1 Binary files /dev/null and b/website/static/img/wails-mac.webp differ diff --git a/website/static/img/wails-menus-linux.png b/website/static/img/wails-menus-linux.png deleted file mode 100644 index c5fb7ba5..00000000 Binary files a/website/static/img/wails-menus-linux.png and /dev/null differ diff --git a/website/static/img/wails-menus-linux.webp b/website/static/img/wails-menus-linux.webp new file mode 100644 index 00000000..391225a3 Binary files /dev/null and b/website/static/img/wails-menus-linux.webp differ diff --git a/website/static/img/wails-menus-mac.png b/website/static/img/wails-menus-mac.png deleted file mode 100644 index b9d9611f..00000000 Binary files a/website/static/img/wails-menus-mac.png and /dev/null differ diff --git a/website/static/img/wails-menus-mac.webp b/website/static/img/wails-menus-mac.webp new file mode 100644 index 00000000..033f68d3 Binary files /dev/null and b/website/static/img/wails-menus-mac.webp differ diff --git a/website/static/img/wails-menus.png b/website/static/img/wails-menus.png deleted file mode 100644 index 6a6a74ca..00000000 Binary files a/website/static/img/wails-menus.png and /dev/null differ diff --git a/website/static/img/wails-menus.webp b/website/static/img/wails-menus.webp new file mode 100644 index 00000000..ba64152b Binary files /dev/null and b/website/static/img/wails-menus.webp differ diff --git a/website/static/img/wails.png b/website/static/img/wails.png deleted file mode 100644 index 2a750ec9..00000000 Binary files a/website/static/img/wails.png and /dev/null differ diff --git a/website/static/img/wails.webp b/website/static/img/wails.webp new file mode 100644 index 00000000..777f4d05 Binary files /dev/null and b/website/static/img/wails.webp differ diff --git a/website/static/img/windows-default-app.png b/website/static/img/windows-default-app.png deleted file mode 100644 index 51a37360..00000000 Binary files a/website/static/img/windows-default-app.png and /dev/null differ diff --git a/website/static/img/windows-default-app.webp b/website/static/img/windows-default-app.webp new file mode 100644 index 00000000..678faf02 Binary files /dev/null and b/website/static/img/windows-default-app.webp differ diff --git a/website/static/img/xbar-app-preview-2.png b/website/static/img/xbar-app-preview-2.png deleted file mode 100644 index 45ad0d8e..00000000 Binary files a/website/static/img/xbar-app-preview-2.png and /dev/null differ diff --git a/website/static/img/xbar-app-preview-2.webp b/website/static/img/xbar-app-preview-2.webp new file mode 100644 index 00000000..c8a8cdc9 Binary files /dev/null and b/website/static/img/xbar-app-preview-2.webp differ 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 f4060549..73734912 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/guides/dynamic-assets.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/dynamic-assets.mdx index fd6b9179..a7ba3347 100644 --- a/website/versioned_docs/version-v2.0.0-beta.43/guides/dynamic-assets.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/dynamic-assets.mdx @@ -92,13 +92,13 @@ This will generate an error in the devtools. We can see that the error is what w our custom assets handler:

- +

However, if we request `go.mod`, we will see the following output:

- +

This technique can be used to load images directly into the page. If we updated our default vanilla template and @@ -113,7 +113,7 @@ with: Then we would see the following:

- +

:::warning diff --git a/website/versioned_docs/version-v2.0.0-beta.43/guides/ides.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/ides.mdx index 5e47152b..d45fa205 100644 --- a/website/versioned_docs/version-v2.0.0-beta.43/guides/ides.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/guides/ides.mdx @@ -9,7 +9,7 @@ Currently, we support [Visual Studio Code](https://code.visualstudio.com/) but a ## Visual Studio Code

- +

When generating a project using the `-ide vscode` flags, IDE files will be created alongside the other project files. diff --git a/website/versioned_docs/version-v2.0.0-beta.43/guides/windows-installer.mdx b/website/versioned_docs/version-v2.0.0-beta.43/guides/windows-installer.mdx index f6a5b2f3..f75cb714 100644 --- a/website/versioned_docs/version-v2.0.0-beta.43/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.43/introduction.mdx b/website/versioned_docs/version-v2.0.0-beta.43/introduction.mdx index b8e0877f..791728a3 100644 --- a/website/versioned_docs/version-v2.0.0-beta.43/introduction.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.43/introduction.mdx @@ -17,7 +17,7 @@ you'd expect from a modern native app.

- +

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 2446fe9e..b0772c67 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 @@ -637,9 +637,9 @@ Preconfigured titlebar settings are available: | Setting | Example | | ------- | ------- | -|`mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.png) | -|`mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.png) | -|`mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.png) | +|`mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.webp) | +|`mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.webp) | +|`mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.webp) | Example: ```go @@ -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/tutorials/helloworld.mdx b/website/versioned_docs/version-v2.0.0-beta.43/tutorials/helloworld.mdx index 72e900f4..ad19b29b 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 @@ -95,7 +95,7 @@ This has compiled the application and saved it in the `build/bin` directory. If we view the `build/bin` directory in Windows Explorer, we should see our project binary:
- +

@@ -108,6 +108,6 @@ On Linux, you can run the application using `./helloworld` from the `build/bin` You should see the application working as expected:
- +

diff --git a/website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/building.mdx b/website/versioned_docs/version-v2.0.0-beta.44/gettingstarted/building.mdx index f4060549..73734912 100644 --- a/website/versioned_docs/version-v2.0.0-beta.44/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.44/guides/dynamic-assets.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/dynamic-assets.mdx index fd6b9179..a7ba3347 100644 --- a/website/versioned_docs/version-v2.0.0-beta.44/guides/dynamic-assets.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/guides/dynamic-assets.mdx @@ -92,13 +92,13 @@ This will generate an error in the devtools. We can see that the error is what w our custom assets handler:

- +

However, if we request `go.mod`, we will see the following output:

- +

This technique can be used to load images directly into the page. If we updated our default vanilla template and @@ -113,7 +113,7 @@ with: Then we would see the following:

- +

:::warning diff --git a/website/versioned_docs/version-v2.0.0-beta.44/guides/ides.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/ides.mdx index 14adde0d..64b3fcee 100644 --- a/website/versioned_docs/version-v2.0.0-beta.44/guides/ides.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/guides/ides.mdx @@ -8,7 +8,7 @@ Currently, we support [Visual Studio Code](https://code.visualstudio.com/) but a ## Visual Studio Code

- +

When generating a project using the `-ide vscode` flags, IDE files will be created alongside the other project files. diff --git a/website/versioned_docs/version-v2.0.0-beta.44/guides/windows-installer.mdx b/website/versioned_docs/version-v2.0.0-beta.44/guides/windows-installer.mdx index f6a5b2f3..f75cb714 100644 --- a/website/versioned_docs/version-v2.0.0-beta.44/guides/windows-installer.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/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.44/introduction.mdx b/website/versioned_docs/version-v2.0.0-beta.44/introduction.mdx index b8e0877f..791728a3 100644 --- a/website/versioned_docs/version-v2.0.0-beta.44/introduction.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/introduction.mdx @@ -17,7 +17,7 @@ you'd expect from a modern native app.

- +

diff --git a/website/versioned_docs/version-v2.0.0-beta.44/reference/options.mdx b/website/versioned_docs/version-v2.0.0-beta.44/reference/options.mdx index 2446fe9e..b0772c67 100644 --- a/website/versioned_docs/version-v2.0.0-beta.44/reference/options.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/reference/options.mdx @@ -637,9 +637,9 @@ Preconfigured titlebar settings are available: | Setting | Example | | ------- | ------- | -|`mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.png) | -|`mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.png) | -|`mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.png) | +|`mac.TitleBarDefault()` | ![](/img/reference/titlebar-default.webp) | +|`mac.TitleBarHidden()` | ![](/img/reference/titlebar-hidden.webp) | +|`mac.TitleBarHiddenInset()` | ![](/img/reference/titlebar-hidden-inset.webp) | Example: ```go @@ -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.44/tutorials/helloworld.mdx b/website/versioned_docs/version-v2.0.0-beta.44/tutorials/helloworld.mdx index 24aa0285..8edde09f 100644 --- a/website/versioned_docs/version-v2.0.0-beta.44/tutorials/helloworld.mdx +++ b/website/versioned_docs/version-v2.0.0-beta.44/tutorials/helloworld.mdx @@ -95,7 +95,7 @@ This has compiled the application and saved it in the `build/bin` directory. If we view the `build/bin` directory in Windows Explorer, we should see our project binary:
- +

@@ -108,6 +108,6 @@ On Linux, you can run the application using `./helloworld` from the `build/bin` You should see the application working as expected:
- +