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 406af1a55..a23bc7652 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 96d1c8ef7..d472c7d08 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 0bf320681..a3e65520f 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 062c2e1e8..33e19b144 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 836d24703..62a807167 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 0591cf1b6..aa6841879 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 06cbaf04c..cb31d0527 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 7a2103d25..62fafb685 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 49f314a9e..dddca11f4 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 87e54bc8d..2369be63a 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 8adb39d67..4a5f9c88a 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 dea326886..50d76f35c 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 4a2914cd1..773f6dd6c 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 f08315c0c..04d90e4f6 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 9bb924cea..35b49f4f4 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 5b0dab74f..3e0df3b68 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 dd17af705..77ad6d09e 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 bd5467e7f..a20ae4131 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 b1fa8494e..249ec5527 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 7ddc9707d..0063b47a6 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 2aebf2d7f..13b9ee566 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 895c8bd1b..00868e84f 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 5ae00579b..d1b8e9f98 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 19e6a03c3..ea5487707 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 a3fc81a98..8465fef2f 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 a7678ae02..3ca1b7407 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 5b0dab74f..3e0df3b68 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 098eb6df3..4b68aef22 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 96793ed24..5423ea495 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 f85c5caa8..21de9a408 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 e92c1c3b0..f59873eca 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 797941bfa..cf3035d93 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 7e72c7c2a..b2b4ae84b 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 5ae00579b..d1b8e9f98 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 0e26e8e37..99980615c 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 d6bc7ad0b..ac3cfad06 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 aa308a4e3..5d7707e4b 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 5b0dab74f..3e0df3b68 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 dd17af705..77ad6d09e 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 bd5467e7f..a20ae4131 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 b1fa8494e..249ec5527 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 7ddc9707d..0063b47a6 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 cd8fb8119..d8c730730 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 895c8bd1b..00868e84f 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 509e7a391..71edab934 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 d00e81648..9ec129906 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 0d17380f4..21061e0b4 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 0973e5afd..b7fa4f173 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 fceca2f70..38bf5d47d 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 59216cca1..c28d70e9d 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 29c281acf..097bad814 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 c2446de8a..a5c9449b2 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 ce94c9aaa..a47679294 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 5900f39bd..ee68d9177 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 45d19aa9f..5439f36eb 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 a024189d7..c6ce46c37 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 e3d56081d..000000000 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 000000000..b4a3112be 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 508bc14c4..000000000 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 000000000..6ec8e3e68 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 dbb060632..000000000 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 000000000..37e1b95c1 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 e48836149..000000000 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 000000000..df3314349 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 0eeb61e0a..000000000 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 000000000..71da59509 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 e4a48ee93..000000000 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 000000000..a19d5b036 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 ab4882273..000000000 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 000000000..ba1a538f6 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 6300d264a..000000000 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 000000000..6126129ca 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 0bb72ae37..000000000 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 000000000..47fcf4583 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 249be83c9..000000000 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 000000000..c95d92ccb 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 705235fbf..000000000 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 000000000..e3f06727c 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 2e5c4a616..e56a0d304 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 f703f1e07..000000000 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 000000000..9bbf04cae 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 0f002e988..000000000 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 000000000..c1e478672 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 abb168a40..000000000 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 000000000..8320bcd3d 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 c5bf0ab63..000000000 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 000000000..be39c4856 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 0d7864eb5..4cbfc5478 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 000000000..cbed7585b 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 366d2d54f..000000000 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 000000000..202f815a1 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 8af3ef91e..000000000 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 000000000..26724bbf9 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 6ac7166e9..000000000 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 000000000..0302affe4 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 8204d3f97..000000000 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 000000000..41905c025 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 b3161367d..000000000 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 000000000..06aae2eb4 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 c68db0594..000000000 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 000000000..5dc689152 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 b1f9fbe94..000000000 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 000000000..25ad11ea3 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 c15aaf9ce..000000000 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 000000000..bf4758e1a 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 feb535a5c..000000000 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 000000000..3968c5ddc 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 9bcc2146e..8245947ab 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 5e4db4ce4..e0d5836d5 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 b22919d71..6f58b8cd2 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 54c605d70..f106d3870 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 c2d31188c..7fd194b03 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 e81da100c..000000000 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 000000000..4a7776ffd 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 92ceabb54..5f44d7793 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 05995cf30..000000000 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 000000000..4a0e2ceb7 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 2c485d54d..000000000 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 000000000..0c2d4663e 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 29135187c..000000000 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 000000000..156fa3078 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 9ede595ac..4459e1665 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 000000000..0e12a0082 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 bf18df556..000000000 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 000000000..d266ceca3 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 38e2b28e8..000000000 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 000000000..45c76ed0e 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 4abe2558a..000000000 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 000000000..26ee0be13 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 c5fb7ba55..000000000 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 000000000..391225a35 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 b9d9611ff..000000000 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 000000000..033f68d35 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 6a6a74cad..000000000 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 000000000..ba64152b4 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 2a750ec9d..000000000 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 000000000..777f4d05c 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 51a373600..000000000 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 000000000..678faf02a 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 45ad0d8e4..000000000 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 000000000..c8a8cdc9c 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 f40605490..73734912e 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 fd6b91798..a7ba3347e 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 5e47152b3..d45fa2057 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 f6a5b2f39..f75cb7145 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 b8e0877f2..791728a36 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 2446fe9eb..b0772c67c 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 72e900f4a..ad19b29b6 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 f40605490..73734912e 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 fd6b91798..a7ba3347e 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 14adde0d0..64b3fceed 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 f6a5b2f39..f75cb7145 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 b8e0877f2..791728a36 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 2446fe9eb..b0772c67c 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 24aa0285b..8edde09f7 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:
- +