diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/community/templates.mdx
index b1afb086508..fb95b8ad9f7 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,6 +26,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - A template using JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier)
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - A template using TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, Composition API with <script setup>)
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Wails template based on Naive UI (A Vue 3 Component Library)
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -40,13 +41,13 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - A template for React + TypeScript + Vite + TailwindCSS
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - A template with Vite, React, TypeScript, TailwindCSS, and shadcn/ui
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - A template using Svelte
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - A template using Svelte and Vite
- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
-- [wails-vite-svelte-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - An updated template using Svelte v4.2.0 and Vite with TailwindCSS v3.3.3
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - A template using SvelteKit
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index 401d2678905..ff63e0a89f0 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem";
Linux requires the standard gcc
build tools plus libgtk3
and libwebkit
. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run wails doctor
after installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the Add Linux Distro guide.
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index 8ad521116a6..687b89791de 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ If these 2 keys aren't given, then Wails does absolutely nothing with the fronte
### AssetsHandler
-A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifiy `nil` as the `Assets` option.
+A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## Built in Dev Server
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index ff217c84580..e7ea6dfc86c 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
- Caching dependencies
- Code signing
-- Uploading to platforms like S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injecting secrets as environment variables
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index ac087ee4514..f057056c19d 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@ The options are as follows:
| noautoinjectipc | Disable the autoinjection of `/wails/ipc.js` |
| noautoinject | Disable all autoinjection of scripts |
-Multiple options may be used provided they are comma seperated.
+Multiple options may be used provided they are comma separated.
This code is perfectly valid and operates the same as the autoinjection version:
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index 961595711c7..0824eb373e0 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@ This is an example entitlements file from the [RiftShare](https://github.com/ach
```
-**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the applicaton. It needs to be named embedded.provisionprofile.
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. It needs to be named embedded.provisionprofile.
#### Build and Sign the App Package
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/signing.mdx
index 49b82d94c7d..67ed0810aa7 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ Now we need to configure some gon config files in our `build/darwin` directory:
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 7de133a8a28..84c5e5b7cc5 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
This guide will go into:
-1. Miminal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Install Script - Bash script for accomplishing the Minimal Installation Steps with optional Wails branding.
3. Important Notes - Issues that can be encountered when using SvelteKit + Wails and fixes.
@@ -124,7 +124,7 @@ wails dev
See https://wails.io/docs/guides/frontend for more information.
-##### Inital data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js works well with load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() in +page.svelte will call load() from +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/cli.mdx
index 3e038875032..9c595c4f8a1 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -66,7 +66,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
| -nsis | Generate NSIS installer for Windows | |
| -o filename | Output filename | |
| -obfuscated | Obfuscate the application using [garble](https://github.com/burrowers/garble) | |
-| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` envrionment variable if given else `runtime.GOARCH`. |
+| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
| -race | Build with Go's race detector | |
| -s | Skip building the frontend | |
| -skipbindings | Skip bindings generation | |
@@ -99,6 +99,12 @@ There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Ap
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info UPX on Windows
Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437).
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/menus.mdx
index ff9a2442281..bcf0f2344e7 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ An example of how to create a menu:
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/options.mdx
index 10b83ce432e..6626b57172c 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/options.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/options.mdx
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Setting this to `true` will enable swipe gestures for the webview.
Name: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
This defines [Mac specific options](#mac).
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index 856ba6f0c26..7a2ebda7efc 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff
-This method unregisters the listener for the given event name, optionally multiple listeneres can be unregistered via `additionalEventNames`.
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index b2ae6deba55..f7cdae99fdc 100644
--- a/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-Opens tha native print dialog.
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/ar/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/ar/docusaurus-plugin-content-pages/changelog.mdx
index d8d1039acae..89c096a12a6 100644
--- a/website/i18n/ar/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/ar/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- `Security` in case of vulnerabilities.
## [Unreleased]
+### Added
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### Fixed
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### Changed
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### Fixed
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### Changed
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### Fixed
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/community/templates.mdx
index 297d07c7b5a..648555579a9 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,6 +26,7 @@ Si vous n'êtes pas sûr d'un modèle, inspectez `package.json` et `wails.json`
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - Un modèle utilisant JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier)
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - Un modèle utilisant TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, Composition API avec <script setup>)
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Modèle Wails basé sur Naive UI (Librairie de composants Vue 3)
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -40,11 +41,13 @@ Si vous n'êtes pas sûr d'un modèle, inspectez `package.json` et `wails.json`
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - Un modèle pour React + TypeScript + Vite + TailwindCSS
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - Un modèle avec Vite, React, TypeScript, TailwindCSS, et shadcn/ui
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - Un modèle utilisant Svelte
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - Un modèle utilisant Svelte et Vite
+- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - Un modèle utilisant Svelte et Vite avec TailwindCSS v3
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - Un modèle mis à jour en utilisant Svelte v4.2.0 et Vite avec TailwindCSS v3.3.3
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - Un modèle utilisant SvelteKit
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index b0fe8d1cfb8..5b03529218b 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem";
Linux a besoin de gcc
comme outil de compilation en plus de libgtk3
et libwebkit
. Plutôt que de lister une tonne de commandes pour différentes distributions, Wails peut essayer de déterminer ce que sont les commandes d'installation pour votre distribution. Exécutez wails doctor
après l'installation pour voir de quelles dépendances vous avez besoin. Si votre gestionnaire de distribution/paquet n'est pas pris en charge, veuillez consulter le guide Ajouter une distribution Linux.
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index 90ce51cb80f..7ca2ff95b0b 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ Si ces 2 clés ne sont pas fournies, alors Wails ne fait absolument rien avec le
### AssetsHandler
-Une application Wails v2 peut éventuellement définir un `http.Handler` dans `options.app`, qui permet de se connecter à l'AssetServer pour créer des fichiers à la volée ou traiter les requêtes POST/PUT. Les requêtes GET sont toujours traitées d'abord par le `assets` FS. Si le FS ne trouve pas le fichier demandé, la requête sera transmise au `http.Handler`. Toute requête autre que GET sera traitée directement par le `AssetsHandler` si spécifié. Il est également possible d'utiliser le `AssetsHandler` uniquement en spécifiant `nil` dans l'option `Assets`.
+Une application Wails v2 peut éventuellement définir un `http.Handler` dans `options.app`, qui permet de se connecter à l'AssetServer pour créer des fichiers à la volée ou traiter les requêtes POST/PUT. Les requêtes GET sont toujours traitées d'abord par le `assets` FS. Si le FS ne trouve pas le fichier demandé, la requête sera transmise au `http.Handler`. Toute requête autre que GET sera traitée directement par le `AssetsHandler` si spécifié. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## Serveur de développement embarqué
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index 7a302e7365a..7cacec2cced 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ Cet exemple offre des opportunités pour diverses améliorations, comprenant :
- Mise en cache des dépendances
- Signature de code
-- Envoi vers des plateformes comme S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injection de secrets en tant que variables d'environnement
- Utiliser des variables d'environnement comme variables de compilation (telles que la variable de version extraite de la balise Git actuelle)
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index ea101019ad8..ef0dbed76f6 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@ Les options sont les suivantes :
| noautoinjectipc | Pour désactiver l'injection automatique de `/wails/ipc.js` |
| noautoinject | Pour désactiver l'injection automatique de tous les scripts |
-Plusieurs options peuvent être utilisées à condition qu'elles soient séparées par des virgules.
+Multiple options may be used provided they are comma separated.
Ce code est parfaitement valide et fonctionne de la même manière que la version avec l'auto-injection :
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index f17d6dbc717..8f862b9e21e 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@ Ceci est un exemple du fichier entitlements de l'application [RiftShare](https:/
```
-**Ajouter le profil de provisionnement incorporé** Le profil de provisioning créé ci-dessus doit être ajouté à la racine de l'application. Il doit être nommé embedded.provisionprofile.
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. Il doit être nommé embedded.provisionprofile.
#### Construire et signer le package de l'application
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/signing.mdx
index 49b82d94c7d..67ed0810aa7 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ Now we need to configure some gon config files in our `build/darwin` directory:
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 486080b8bb1..8913a760708 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
Ce tutoriel va vous présenter :
-1. L'installation minimale - Les étapes à suivre au minimum pour avoir Wails fonctionnant avec SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Script d'installation - Script Bash pour réaliser les étapes d'installation minimale avec la marque Wails (pouvant être changée dans les options).
3. Notes importantes - Problèmes qui peuvent être rencontrés avec SvelteKit + Wails et comment les corriger.
@@ -108,7 +108,7 @@ wails dev
##### Le runtime Wails se décharge avec des pages de navigation complètes !
-- Tout ce qui provoque la navigation de page complète : `window.location.href = '//'` ou le menu contextuel se recharge lorsque vous utilisez wails dev. Cela signifie que vous pouvez finir par perdre la possibilité d'appeler n'importe quel runtime cassant l'application. Il y a deux façons de contourner ce problème.
+- Tout ce qui provoque la navigation de page complète : \`window.location.href = '//' ou le menu contextuel se recharge lorsque vous utilisez wails dev. Cela signifie que vous pouvez finir par perdre la possibilité d'appeler n'importe quel runtime cassant l'application. Il y a deux façons de contourner ce problème.
- Utilisez `import { goto } de '$app/navigation'` puis appelez `goto('//')` dans votre +page.svelte. Cela empêchera la navigation de la page complète.
- Si la navigation de la page complète ne peut pas être empêchée, le runtime Wails peut être ajouté à toutes les pages en ajoutant ce qui suit dans le `` de myapp/frontend/src/app.html
@@ -124,7 +124,7 @@ wails dev
Voir https://wails.io/docs/guides/frontend pour plus d'informations.
-##### Les données initiales peuvent être chargées et actualisées de +page.ts/+page.js à +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js fonctionne bien avec la fonction load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() dans +page.svelte appellera la fonction load() de +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/cli.mdx
index 0898df052ca..2285f33c90e 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -49,35 +49,35 @@ Si vous n'êtes pas sûr d'un modèle, inspectez les fichiers `package.json` et
`wails build` est utilisé pour compiler votre projet vers un binaire prêt à la production.
-| Option | Description | Par défaut |
-|:-------------------- |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| -clean | Nettoie le répertoire `build/bin` | |
-| -compiler "compiler" | Utiliser un autre compilateur pour compiler, par exemple go1.15beta1 | go |
-| -debug | Conserve les informations de débogage dans l'application et affiche la console de débogage. Permet l'utilisation des outils de développement dans la fenêtre de l'application | |
-| -devtools | Permet l'utilisation des devtools dans la fenêtre d'application en production (quand -debug n'est pas utilisé). Ctrl/Cmd+Maj+F12 peut être utilisé pour ouvrir la fenêtre devtools. *NOTE*: Cette option fera que votre application ne suivra plus les guidelines de l'appstore Mac. Utiliser uniquement pour le débogage. | |
-| -dryrun | Affiche la commande build sans l'exécuter | |
-| -f | Forcer la compilation de l'application | |
-| -garbleargs | Arguments à passer à garble | `-literals -tiny -seed=random` |
-| -ldflags "flags" | Options supplémentaires à passer au compilateur | |
-| -m | Permet d'ignorer mod tidy avant la compilation | |
-| -nopackage | Ne pas empaqueter l'application | |
-| -nocolour | Désactive la couleur des logs dans le terminal | |
-| -nosyncgomod | Ne pas synchroniser go.mod avec la version Wails | |
-| -nsis | Génère l'installateur NSIS pour Windows | |
-| -o filename | Nom du fichier de sortie | |
-| -obfuscated | Cacher le code de l'application en utilisant [garble](https://github.com/burrowers/garble) | |
-| -platform | Construit pour les [plates-formes](../reference/cli.mdx#platforms) données (séparées par des virgules) par exemple. `windows/arm64`. Notez que si vous ne donnez pas l'architecture, `runtime.GOARCH` est utilisé. | platform = le contenu de la variable d'environnement `GOOS` si elle existe, autrement `runtime.GOOS`.
arch = le contenu de la variable d'environnement `GOARCH` si elle existe, autrement `runtime.GOARCH`. |
-| -race | Construire avec le détecteur Go race | |
-| -s | Ignorer la construction du frontend | |
-| -skipbindings | Ignorer la génération des liaisons | |
-| -tags "extra tags" | Options de compilation à passer au compilateur Go. Doivent être entre guillemets. Séparés par un espace ou une virgule (pas les deux) | |
-| -trimpath | Supprimer tous les chemins vers les fichiers système de l'exécutable final. | |
-| -u | Met à jour le `go.mod de votre projet` pour utiliser la même version de Wails que le CLI | |
-| -upx | Compresser le binaire final en utilisant "upx" | |
-| -upxflags | Options à passer à upx | |
-| -v int | Niveau de verbosité (0 - silencieux, 1 - par défaut, 2 - verbeux) | 1 |
-| -webview2 | Stratégie d'installation WebView2 : download,embed,browser,error | download |
-| -windowsconsole | Garder la fenêtre de la console lors de la construction d'une version pour Windows | |
+| Option | Description | Par défaut |
+|:-------------------- |:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |:--------------------------------------------------------------------------------------------------------------------------------------------------- |
+| -clean | Nettoie le répertoire `build/bin` | |
+| -compiler "compiler" | Utiliser un autre compilateur pour compiler, par exemple go1.15beta1 | go |
+| -debug | Conserve les informations de débogage dans l'application et affiche la console de débogage. Permet l'utilisation des outils de développement dans la fenêtre de l'application | |
+| -devtools | Permet l'utilisation des devtools dans la fenêtre d'application en production (quand -debug n'est pas utilisé). Ctrl/Cmd+Maj+F12 peut être utilisé pour ouvrir la fenêtre devtools. *NOTE*: Cette option fera que votre application ne suivra plus les guidelines de l'appstore Mac. Utiliser uniquement pour le débogage. | |
+| -dryrun | Affiche la commande build sans l'exécuter | |
+| -f | Forcer la compilation de l'application | |
+| -garbleargs | Arguments à passer à garble | `-literals -tiny -seed=random` |
+| -ldflags "flags" | Options supplémentaires à passer au compilateur | |
+| -m | Permet d'ignorer mod tidy avant la compilation | |
+| -nopackage | Ne pas empaqueter l'application | |
+| -nocolour | Désactive la couleur des logs dans le terminal | |
+| -nosyncgomod | Ne pas synchroniser go.mod avec la version Wails | |
+| -nsis | Génère l'installateur NSIS pour Windows | |
+| -o filename | Nom du fichier de sortie | |
+| -obfuscated | Cacher le code de l'application en utilisant [garble](https://github.com/burrowers/garble) | |
+| -platform | Construit pour les [plates-formes](../reference/cli.mdx#platforms) données (séparées par des virgules) par exemple. `windows/arm64`. Notez que si vous ne donnez pas l'architecture, `runtime.GOARCH` est utilisé. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
+| -race | Construire avec le détecteur Go race | |
+| -s | Ignorer la construction du frontend | |
+| -skipbindings | Ignorer la génération des liaisons | |
+| -tags "extra tags" | Options de compilation à passer au compilateur Go. Doivent être entre guillemets. Séparés par un espace ou une virgule (pas les deux) | |
+| -trimpath | Supprimer tous les chemins vers les fichiers système de l'exécutable final. | |
+| -u | Met à jour le `go.mod de votre projet` pour utiliser la même version de Wails que le CLI | |
+| -upx | Compresser le binaire final en utilisant "upx" | |
+| -upxflags | Options à passer à upx | |
+| -v int | Niveau de verbosité (0 - silencieux, 1 - par défaut, 2 - verbeux) | 1 |
+| -webview2 | Stratégie d'installation WebView2 : download,embed,browser,error | download |
+| -windowsconsole | Garder la fenêtre de la console lors de la construction d'une version pour Windows | |
Pour une description détaillée des options `webview2` , veuillez vous référer au Guide de [Windows](../guides/windows.mdx).
@@ -100,6 +100,12 @@ Il y a [problèmes](https://github.com/upx/upx/issues/446) avec l'utilisation de
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info UPX sur Windows
Certains antivirus marquent de manière erronée les binaires compressés d'`upx` comme virus, voir [la description du problème](https://github.com/upx/upx/issues/437).
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/menus.mdx
index 80dbaa0c5cf..fed75fbbf45 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ Un exemple de définition d'un menu :
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/options.mdx
index bf62be6e328..cdcc380db15 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/options.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/options.mdx
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Définir à `true` activera les gestes de balayage pour la webview.
Nom: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
Ceci définit [les options spécifiques à Mac](#mac).
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index 43d72885ea7..b46183178ac 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff
-Cette méthode désactive l'évènement correspondant au nom donné, éventuellement plusieurs évènements peuvent être désinscrits via `additionalEventNames`.
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index 2d87a5451cf..a12400675d4 100644
--- a/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-Ouvre la boîte de dialogue d'impression native.
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/fr/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/fr/docusaurus-plugin-content-pages/changelog.mdx
index 1db414297f3..a0d03d885da 100644
--- a/website/i18n/fr/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@ Le format est basé sur [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- `Sécurité` en cas de vulnérabilités.
## [Unreleased]
+### Ajouts
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### Corrections
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### Changements
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### Corrections
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### Changements
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### Corrections
diff --git a/website/i18n/fr/docusaurus-plugin-content-pages/credits.mdx b/website/i18n/fr/docusaurus-plugin-content-pages/credits.mdx
index d2f31f80409..a0a0aa71d14 100644
--- a/website/i18n/fr/docusaurus-plugin-content-pages/credits.mdx
+++ b/website/i18n/fr/docusaurus-plugin-content-pages/credits.mdx
@@ -265,5 +265,5 @@
- [Byron Chris](https://github.com/bh90210) - Pour ses contributions à long terme à ce projet.
- [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - Son support et ses retours ont été inestimables.
- [Justen Walker](https://github.com/justenwalker/) - Pour aider à résoudre les problèmes COM qui ont permis de publier la v2.
-- [Wang, Chi](https://github.com/branchseer) - Le projet DeskGap a été une grande influence sur la direction de Wails v2.
+- [Wang, Chi](https://github.com/branchseer) - The DeskGap project was a huge influence on the direction of Wails v2.
- [Serge Zaitsev](https://github.com/zserge) - Bien que Wails n'utilise plus le projet Webview, il est toujours une source d'inspiration.
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/community/templates.mdx
index bf3ce4ce908..684c7856443 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,6 +26,7 @@ sidebar_position: 1
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier) を使用したテンプレート
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, <script setup>によるComposition API) を使用したテンプレート
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Naive UI(Vue3のコンポーネントライブラリ)をベースにしたWailsテンプレート
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -40,11 +41,13 @@ sidebar_position: 1
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - React + TypeScript + Vite + TailwindCSSを使用したテンプレート
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - Vite、React、TypeScript、TailwindCSS、shadcn/uiを使用したテンプレート
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - Svelteを使用したテンプレート
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - SvelteおよびViteを使用したテンプレート
+- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - TailwindCSS v3を含んだ、SvelteおよびViteを使用したテンプレート
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - Svelte v4.2.0、Vite、TailwindCSS v3.3.3を使用したテンプレート
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - SvelteKitを使用したテンプレート
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index 6766ea81d35..1cf0e8940ef 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -57,6 +57,8 @@ import TabItem from "@theme/TabItem";
Linuxでは、標準のgcc
ビルドツール、libgtk3
、libwebkit
が必要です。 Wailsは、様々なディストリビューション向けに大量のコマンドを列挙することはせず、現在使用されているディストリビューションのインストールコマンドを自動的に判定します。 Wailsをインストールした後に、wails doctor
コマンドを実行して、別途インストールが必要な依存関係を確認してください。 あなたが利用しているディストリビューションやパッケージマネージャーがサポートされていない場合は、Linuxディストリビューションサポートガイドを参照してください。
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index d801a4a9bce..189351f534b 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ Wails v2にアセットを処理させるための方法は複雑ではありま
### アセットハンドラ
-Wails v2では必要に応じて、`options.App`の中に`http.Handler`を定義することができます。これにより、アセットサーバにフックして、その場でファイルを作成したり、POST/PUTリクエストを処理したりすることができます。 GETリクエストが要求されたときは、まず初めに、`assets` FSにハンドリングされます。 リクエストされたファイルをFSが見つけられなかった場合、そのリクエストは`http.Handler`に転送されます。 GET以外のリクエストは、`AssetsHandler`が指定されていれば、当該ハンドラによって直接処理されます。 なお、`Assets`オプションに`nil`を指定することで、`AssetsHandler`のみを使用することも可能です。
+Wails v2では必要に応じて、`options.App`の中に`http.Handler`を定義することができます。これにより、アセットサーバにフックして、その場でファイルを作成したり、POST/PUTリクエストを処理したりすることができます。 GETリクエストが要求されたときは、まず初めに、`assets` FSにハンドリングされます。 リクエストされたファイルをFSが見つけられなかった場合、そのリクエストは`http.Handler`に転送されます。 GET以外のリクエストは、`AssetsHandler`が指定されていれば、当該ハンドラによって直接処理されます。 It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## ビルトイン開発サーバ
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index ff217c84580..e7ea6dfc86c 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
- Caching dependencies
- Code signing
-- Uploading to platforms like S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injecting secrets as environment variables
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index 2d976fbf741..487127d1ed8 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@ Wailsが`index.html`を提供するとき、デフォルトでは、``タ
| noautoinjectipc | `/wails/ipc.js`の自動注入を無効化します |
| noautoinject | すべてのスクリプトの自動注入を無効化します |
-カンマで区切ることで、複数のオプションを指定できます。
+Multiple options may be used provided they are comma separated.
次のコードは、自動注入版のコードと完全に同じ挙動となります:
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index b9cbf912aa2..48b9c7b8f14 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@ Mac App Storeへ提出されるアプリは、Appleの[App Sandbox](https://deve
```
-**組み込みプロビジョニング プロファイルの追加** 上記で作成したプロビジョニング プロファイルは、アプリケーションのルートに追加する必要があります。 embedded.provisionprofile という名前にする必要があります。
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. embedded.provisionprofile という名前にする必要があります。
#### アプリパッケージのビルドと署名
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/signing.mdx
index 9fbd762c0f9..4a5b12dcc69 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ For code signing on macOS, [gon](https://github.com/Bearer/gon) is a very handy
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 7de133a8a28..84c5e5b7cc5 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
This guide will go into:
-1. Miminal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Install Script - Bash script for accomplishing the Minimal Installation Steps with optional Wails branding.
3. Important Notes - Issues that can be encountered when using SvelteKit + Wails and fixes.
@@ -124,7 +124,7 @@ wails dev
See https://wails.io/docs/guides/frontend for more information.
-##### Inital data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js works well with load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() in +page.svelte will call load() from +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/cli.mdx
index cf3a7483005..13417974a74 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -66,7 +66,7 @@ WailsではGitHubでホストされているリモートテンプレートをサ
| -nsis | Windows向けのNSISインストーラを生成する | |
| -o filename | 出力ファイル名 | |
| -obfuscated | [garble](https://github.com/burrowers/garble)を使用してアプリケーションを難読化する | |
-| -platform | 指定された[プラットフォーム](../reference/cli.mdx#platforms)(カンマ区切り) 向けにビルドする。例: `windows/arm64`。 アーキテクチャを指定しない場合は、`runtime.GOARCH`の値が使用されます。 | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` envrionment variable if given else `runtime.GOARCH`. |
+| -platform | 指定された[プラットフォーム](../reference/cli.mdx#platforms)(カンマ区切り) 向けにビルドする。例: `windows/arm64`。 アーキテクチャを指定しない場合は、`runtime.GOARCH`の値が使用されます。 | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
| -race | Goのrace detectorを使用してビルドする | |
| -s | フロントエンドのビルドをスキップ | |
| -skipbindings | バインディングの生成をスキップする | |
@@ -99,6 +99,12 @@ AppleシリコンにおけるUPXの使用には[既知の問題](https://github.
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info WindowsでのUPX
いくつかのアンチウイルスソフトでは、`upx`で圧縮されたバイナリをウイルスとして検知することが確認されています。詳しくは、[upxのIssue](https://github.com/upx/upx/issues/437)をご覧ください。
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/menus.mdx
index 5e1f1e21808..4b2eaf01edf 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ Wailsプロジェクトに、アプリケーションメニューを追加する
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
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 6feebc5d381..02d1a66f362 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
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Setting this to `true` will enable swipe gestures for the webview.
Name: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
[Mac固有のオプション](#mac)を定義します。
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index ac4f40eba00..387757c491f 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff
-このメソッドは、指定されたイベント名のイベントリスナー設定を解除します。引数の`additionalEventNames`を使用することで、複数のリスナーを一度に解除できます。
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index 854fa9fb752..115979bad65 100644
--- a/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-ネイティブな印刷ダイアログを開きます。
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/ja/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/ja/docusaurus-plugin-content-pages/changelog.mdx
index d8d1039acae..89c096a12a6 100644
--- a/website/i18n/ja/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- `Security` in case of vulnerabilities.
## [Unreleased]
+### Added
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### Fixed
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### Changed
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### Fixed
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### Changed
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### Fixed
diff --git a/website/i18n/ja/docusaurus-plugin-content-pages/credits.mdx b/website/i18n/ja/docusaurus-plugin-content-pages/credits.mdx
index 020d2d78cf6..5175655490e 100644
--- a/website/i18n/ja/docusaurus-plugin-content-pages/credits.mdx
+++ b/website/i18n/ja/docusaurus-plugin-content-pages/credits.mdx
@@ -265,5 +265,5 @@
- [Byron Chris](https://github.com/bh90210) - このプロジェクトに長期的に貢献してくれました。
- [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - 彼は非常に有益なサポートおよびフィードバックをしてくれました。
- [Justen Walker](https://github.com/justenwalker/) - v2を成功させるために、COM問題を解決してくれました。
-- [Wang, Chi](https://github.com/branchseer) - DeskGapプロジェクトは、Wails v2の方向性に大きな影響を与えてくれました。
+- [Wang, Chi](https://github.com/branchseer) - The DeskGap project was a huge influence on the direction of Wails v2.
- [Serge Zaitsev](https://github.com/zserge) - WailsがWebviewを使用していない間、インスピレーションの源となっていました。
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/community/templates.mdx
index 65f46a9e123..fb95b8ad9f7 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,6 +26,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - A template using JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier)
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - A template using TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, Composition API with <script setup>)
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Wails template based on Naive UI (A Vue 3 Component Library)
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -40,11 +41,13 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - A template for React + TypeScript + Vite + TailwindCSS
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - A template with Vite, React, TypeScript, TailwindCSS, and shadcn/ui
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - A template using Svelte
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - A template using Svelte and Vite
+- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - An updated template using Svelte v4.2.0 and Vite with TailwindCSS v3.3.3
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - A template using SvelteKit
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index 558f81678fa..65670a78fcb 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -57,6 +57,8 @@ import TabItem from "@theme/TabItem";
Linux requires the standard gcc
build tools plus libgtk3
and libwebkit
. 다양한 배포판에 대한 수 많은 명령을 나열하는 대신 Wail는 특정 배포판에 대한 설치 명령이 무엇인지 결정할 수 있습니다. wails doctor
명령을 실행하면 설치 후 종속성을 설치하는 방법을 보여줍니다. 만약 배포판/패키지 매니저가 지원하지 않는다면, 를 통해 문의하세요. 리눅스 배포판 추가 가이드
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index 5f201d30c8c..5f82ced4c13 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ Wails v2가 assets을 처리하는 방식의 장점은 그렇지 않다는 것
### AssetsHandler
-Wails v2 앱은 선택적으로 `options.App`에서 `http.Handler`를 정의할 수 있습니다. 즉석에서 파일을 생성하거나 POST/PUT 요청을 처리합니다. GET 요청은 항상 `assets` FS에서 먼저 처리됩니다. FS가 요청된 파일을 찾지 못하면 요청은 제공을 위해 `http.Handler`로 전달됩니다. GET 이외의 모든 요청은 지정된 경우 `AssetsHandler`에서 직접 처리됩니다. `Assets` 옵션으로 `nil`을 지정하여 `AssetsHandler`만 사용할 수도 있습니다.
+Wails v2 앱은 선택적으로 `options.App`에서 `http.Handler`를 정의할 수 있습니다. 즉석에서 파일을 생성하거나 POST/PUT 요청을 처리합니다. GET 요청은 항상 `assets` FS에서 먼저 처리됩니다. FS가 요청된 파일을 찾지 못하면 요청은 제공을 위해 `http.Handler`로 전달됩니다. GET 이외의 모든 요청은 지정된 경우 `AssetsHandler`에서 직접 처리됩니다. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## Built in Dev Server
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index ff217c84580..e7ea6dfc86c 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
- Caching dependencies
- Code signing
-- Uploading to platforms like S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injecting secrets as environment variables
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index ac087ee4514..f057056c19d 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@ The options are as follows:
| noautoinjectipc | Disable the autoinjection of `/wails/ipc.js` |
| noautoinject | Disable all autoinjection of scripts |
-Multiple options may be used provided they are comma seperated.
+Multiple options may be used provided they are comma separated.
This code is perfectly valid and operates the same as the autoinjection version:
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index 961595711c7..0824eb373e0 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@ This is an example entitlements file from the [RiftShare](https://github.com/ach
```
-**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the applicaton. It needs to be named embedded.provisionprofile.
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. It needs to be named embedded.provisionprofile.
#### Build and Sign the App Package
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/signing.mdx
index 49b82d94c7d..67ed0810aa7 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ Now we need to configure some gon config files in our `build/darwin` directory:
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 7de133a8a28..84c5e5b7cc5 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
This guide will go into:
-1. Miminal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Install Script - Bash script for accomplishing the Minimal Installation Steps with optional Wails branding.
3. Important Notes - Issues that can be encountered when using SvelteKit + Wails and fixes.
@@ -124,7 +124,7 @@ wails dev
See https://wails.io/docs/guides/frontend for more information.
-##### Inital data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js works well with load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() in +page.svelte will call load() from +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
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 d99696d55f5..e3118cba38a 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/introduction.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/introduction.mdx
@@ -4,24 +4,24 @@ sidebar_position: 1
# 소개
-Wails는 Go와 웹 기술을 사용하여 데스크톱 앱을 작성할 수 있게 해주는 프로젝트입니다.
+Wails is a project that enables you to write desktop apps using Go and web technologies.
-Go를 위한 가볍고 빠른 Electron 대안으로 생각하세요. 유연성과 강력한 Go의 힘을 결합한 풍부하고 현대적인 프론트엔드와 함께 쉽게 애플리케이션을 구축할 수 있습니다.
+Consider it a lightweight and fast Electron alternative for Go. You can easily build applications with the flexibility and power of Go, combined with a rich, modern frontend.
-### 특징
+### Features
-- 네이티브 메뉴, 대화 상자, 테마 및 반투명 효과
-- Windows, macOS 및 Linux 지원
-- Svelte, React, Preact, Vue, Lit 및 Vanilla JS용 내장 템플릿
-- JavaScript에서 Go 메서드를 쉽게 호출
-- 자동 Go 구조체에서 TypeScript 모델 생성
-- Windows에서 CGO 또는 외부 DLL 필요 없음
-- [Vite](https://vitejs.dev/)의 힘을 이용한 라이브 개발 가능
-- 애플리케이션을 쉽게 생성, 빌드 및 패키징할 수 있는 강력한 CLI
-- 풍부한 [런타임 라이브러리](/docs/reference/runtime/intro)
-- Wails로 빌드된 애플리케이션은 Apple 및 Microsoft Store 준수
+- Native Menus, Dialogs, Theming and Translucency
+- Windows, macOS and linux support
+- Built in templates for Svelte, React, Preact, Vue, Lit and Vanilla JS
+- Easily call Go methods from JavaScript
+- Automatic Go struct to TypeScript model generation
+- No CGO or external DLLs required on Windows
+- Live development mode using the power of [Vite](https://vitejs.dev/)
+- Powerful CLI to easily Create, Build and Package applications
+- A rich [runtime library](/docs/reference/runtime/intro)
+- Applications built with Wails are Apple & Microsoft Store compliant
-이것은 Wails를 사용하여 작성된 MacOS 및 Windows용 데스크톱 애플리케이션 varly입니다. 훌륭한 외관을 제공할 뿐만 아니라 네이티브 메뉴와 반투명 효과를 사용하여 현대적인 네이티브 앱에서 기대할 수 있는 모든 것을 제공합니다.
+This is varly - a desktop application for MacOS & Windows written using Wails. Not only does it look great, it uses native menus and translucency - everything you'd expect from a modern native app.
```mdx-code-block
@@ -32,42 +32,42 @@ Go를 위한 가볍고 빠른 Electron 대안으로 생각하세요. 유연성
```
-### 빠른 시작 템플릿
+### Quick Start Templates
-Wails는 애플리케이션을 빠르게 실행할 수 있게 해주는 사전 구성된 템플릿을 여러 개 제공합니다. 다음 프레임워크에 대한 템플릿이 있습니다: Svelte, React, Vue, Preact, Lit 및 Vanilla. 각 템플릿에는 JavaScript 및 TypeScript 버전이 모두 있습니다.
+Wails comes with a number of pre-configured templates that allow you to get your application up and running quickly. There are templates for the following frameworks: Svelte, React, Vue, Preact, Lit and Vanilla. There are both JavaScript and TypeScript versions for each template.
-### 네이티브 요소
+### Native Elements
-Wails는 윈도우, 메뉴, 대화 상자 등과 같은 네이티브 요소를 처리하기 위해 특별히 제작된 라이브러리를 사용하므로, 보기 좋고 기능이 풍부한 데스크톱 애플리케이션을 구축할 수 있습니다.
+Wails uses a purpose built library for handling native elements such as Window, Menus, Dialogs, etc, so you can build good-looking, feature rich desktop applications.
-**브라우저를 내장하지 않으므로**, 작은 런타임을 제공합니다. 대신 플랫폼의 네이티브 렌더링 엔진을 재사용합니다. Windows에서는 Chromium 기반의 새로운 Microsoft Webview2 라이브러리를 사용합니다.
+**It does not embed a browser**, so it delivers a small runtime. Instead, it reuses the native rendering engine for the platform. On Windows, this is the new Microsoft Webview2 library, built on Chromium.
-### Go & JavaScript 상호 작용
+### Go & JavaScript Interoperability
-Wails는 Go 메서드를 JavaScript에서 사용할 수 있게 자동으로 만들어 주므로 프론트엔드에서 이름으로 호출할 수 있습니다! Go 메서드에서 사용하는 구조체에 대한 TypeScript 모델도 생성하여 Go와 JavaScript 간에 동일한 데이터 구조를 전달할 수 있습니다.
+Wails automatically makes your Go methods available to JavaScript, so you can call them by name from your frontend! It even generates TypeScript models for the structs used by your Go methods, so you can pass the same data structures between Go and JavaScript.
-### 런타임 라이브러리
+### Runtime Library
-Wails는 Go와 JavaScript 모두를 위한 런타임 라이브러리를 제공하여 이벤트 처리, 로깅, 대화 상자 등과 같은 현대적인 애플리케이션이 필요로 하는 많은 기능을 처리합니다.
+Wails provides a runtime library, for both Go and JavaScript, that handles a lot of the things modern applications need, like Eventing, Logging, Dialogs, etc.
-### 라이브 개발 경험
+### Live Development Experience
-#### 자동 재빌드
+#### Automatic Rebuilds
-애플리케이션을 "개발" 모드에서 실행하면, Wails는 애플리케이션을 네이티브 데스크톱 애플리케이션으로 빌드하지만 에셋을 디스크에서 읽습니다. Go 코드의 변경 사항을 감지하고 자동으로 애플리케이션을 재빌드하고 재시작합니다.
+When you run your application in "dev" mode, Wails will build your application as a native desktop application, but will read your assets from disk. It will detect any changes to your Go code and automatically rebuild and relaunch your application.
-#### 자동 리로드
+#### Automatic Reloads
-애플리케이션 에셋의 변경 사항이 감지되면, 실행 중인 애플리케이션이 "리로드"되어 변경 사항을 거의 즉시 반영합니다.
+When changes to your application assets are detected, your running application will "reload", reflecting your changes almost immediately.
-#### 브라우저를 이용한 애플리케이션 개발
+#### Develop your application in a Browser
-디버그 및 개발을 브라우저에서 선호하는 경우, Wails는 이를 지원합니다. 실행 중인 애플리케이션은 연결된 모든 브라우저에서 애플리케이션을 실행할 웹 서버도 가지고 있습니다. 에셋이 디스크에서 변경되면 자동으로 리로드합니다.
+If you prefer to debug and develop in a browser then Wails has you covered. The running application also has a webserver that will run your application in any browser that connects to it. It will even refresh when your assets change on disk.
-### 프로덕션용 네이티브 바이너리
+### Production-ready Native Binaries
-애플리케이션의 최종 빌드를 준비하면, CLI는 모든 에셋이 포함된 단일 실행 파일로 컴파일합니다. Windows 및 MacOS에서는 배포를 위한 네이티브 패키지를 생성할 수 있습니다. 패키징에 사용되는 에셋(아이콘, info.plist, 매니페스트 파일 등)은 프로젝트의 일부이며 사용자 지정이 가능하여 애플리케이션 빌드 방식을 완벽하게 제어할 수 있습니다.
+When you're ready to do the final build of your application, the CLI will compile it down to a single executable, with all the assets bundled into it. On Windows and MacOS, it is possible to create a native package for distribution. The assets used in packaging (icon, info.plist, manifest file, etc) are part of your project and may be customised, giving you total control over how your applications are built.
-### 도구
+### Tooling
-Wails CLI는 애플리케이션을 생성, 빌드 및 번들링하는 번거로움 없는 방법을 제공합니다. 아이콘 생성, 최적 설정으로 애플리케이션 컴파일, 배포 가능한 프로덕션 준비 바이너리 제공 등의 무거운 작업을 수행합니다. 여러 시작 템플릿 중에서 선택하여 빠르게 시작하세요!
+The Wails CLI provides a hassle-free way to generate, build and bundle your applications. It will do the heavy lifting of creating icons, compiling your application with optimal settings and delivering a distributable, production ready binary. Choose from a number of starter templates to get up and running quickly!
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/cli.mdx
index 3e038875032..9c595c4f8a1 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -66,7 +66,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
| -nsis | Generate NSIS installer for Windows | |
| -o filename | Output filename | |
| -obfuscated | Obfuscate the application using [garble](https://github.com/burrowers/garble) | |
-| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` envrionment variable if given else `runtime.GOARCH`. |
+| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
| -race | Build with Go's race detector | |
| -s | Skip building the frontend | |
| -skipbindings | Skip bindings generation | |
@@ -99,6 +99,12 @@ There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Ap
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info UPX on Windows
Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437).
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/menus.mdx
index ff9a2442281..bcf0f2344e7 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ An example of how to create a menu:
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
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 10b83ce432e..6626b57172c 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
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Setting this to `true` will enable swipe gestures for the webview.
Name: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
This defines [Mac specific options](#mac).
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index 856ba6f0c26..7a2ebda7efc 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff
-This method unregisters the listener for the given event name, optionally multiple listeneres can be unregistered via `additionalEventNames`.
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index de815ed6308..d5774c8742a 100644
--- a/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-Opens tha native print dialog.
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/ko/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/ko/docusaurus-plugin-content-pages/changelog.mdx
index 8d03349fa1f..83302768c41 100644
--- a/website/i18n/ko/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/ko/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- `Security` in case of vulnerabilities.
## [Unreleased]
+### Added
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### Fixed
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### Changed
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### Fixed
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### Changed
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### Fixed
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/community/templates.mdx
index 816b42e0ff2..6aebc389bf5 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,6 +26,7 @@ Se você não tiver certeza sobre um template, inspecione `package.json` e `wail
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - Um template usando JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier)
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - Um modelo usando TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, API de composição com <configuração de script>)
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Modelo de ervas baseado em Naive UI (biblioteca de componentes Vue 3)
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -40,11 +41,13 @@ Se você não tiver certeza sobre um template, inspecione `package.json` e `wail
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - A template for React + TypeScript + Vite + TailwindCSS
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - Um modelo com Vite, React, TypeScript, TailwindCSS, e shadcn/ui
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - A template using Svelte
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - A template using Svelte and Vite
+- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - Um modelo atualizado usando Svelte v4.2.0 e Vite com TailwindCSS v3.3.3
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - A template using SvelteKit
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index 39120c20282..500f2652c6c 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem";
Linux requires the standard gcc
build tools plus libgtk3
and libwebkit
. Ao invés de listar uma tonelada de comandos para diferentes distros, os Wails podem tentar determinar quais são os comandos de instalação para sua distribuição específica. Execute o wails doctor
após a instalação para ser mostrado como instalar as dependencias. Se o seu gerenciador de destro/pacote não for suportado, por favor, consulte o guia Adicionar Distro do Linux.
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index 9d72067a19b..a56f80f2224 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ Se essas duas chaves não são dadas, então as Wails não faz absolutamente nad
### AssetsHandler
-Um aplicativo Wails v2 pode opcionalmente definir um `http.Handler` nas opções `options.App`, que permite o gancho do AssetServer criar arquivos em tempo real ou processe solicitações POST/PUT. Solicitações GET sempre são tratadas primeiramente pelos `assets` FS. Se o FS não encontrar o arquivo solicitado, a solicitação será encaminhada para `http.Handler` para servir. Qualquer requisição que não seja o GET será diretamente processada pelo `AssetsHandler` se especificado. Também é usar apenas o `AssetsHandler` por especificação é `nil` como a opção `Assets`.
+Um aplicativo Wails v2 pode opcionalmente definir um `http.Handler` nas opções `options.App`, que permite o gancho do AssetServer criar arquivos em tempo real ou processe solicitações POST/PUT. Solicitações GET sempre são tratadas primeiramente pelos `assets` FS. Se o FS não encontrar o arquivo solicitado, a solicitação será encaminhada para `http.Handler` para servir. Qualquer requisição que não seja o GET será diretamente processada pelo `AssetsHandler` se especificado. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## Servidor de Desenvolvedor nativo
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index ff217c84580..e7ea6dfc86c 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
- Caching dependencies
- Code signing
-- Uploading to platforms like S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injecting secrets as environment variables
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index aade2b7f4cc..82547d87d2a 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@ As configurações são as seguintes:
| noautoinjectipc | Desativa a autoinjeção no `/wails/ipc.js` |
| noautoinject | Desativa todas as autoinjeções de scripts |
-Várias opções podem ser usadas, desde que sejam separadas por vírgulas.
+Multiple options may be used provided they are comma separated.
Este código é perfeitamente válido e opera o mesmo que a versão da auto-injeção:
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index 4b7b589c1a4..fb07e352f53 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@ Este é um exemplo de titularidade de arquivo do aplicativo [RiftShare](https://
```
-**Adicionar Perfil de Provisão Embutido** O Perfil de Provisionamento criado acima precisa ser adicionado à raiz da aplicação. Precisa ser nomeado como embedded.provisionprofile.
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. Precisa ser nomeado como embedded.provisionprofile.
#### Construa e assine o Pacote de Aplicativos
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/signing.mdx
index 299f22395d4..d5b9715599e 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ Agora precisamos configurar alguns arquivos de configuração do gon no nosso di
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 541f9e1aa18..033ba1582fd 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
Este guia será para:
-1. Passos de instalação do Miminal - Os passos necessários para obter uma instalação mínima de Wails funcionando para o SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Script de Instalação - Bash script para cumprir os passos de Instalação Mínima com a marca opcional de Wails.
3. Notas importantes - Problemas que podem ser encontrados ao usar o SvelteKit + Wails e correções.
@@ -124,7 +124,7 @@ wails dev
Veja https://wails.io/docs/guides/frontend para mais informações.
-##### Os dados de e-mail podem ser carregados e atualizados a partir de +page.ts/+page.js para +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js funciona bem com o load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() em +page.svelte irá chamar load() de +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/cli.mdx
index fc2ae06cee0..c6230358eb8 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -49,35 +49,35 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
`wails build` é usado para compilar seu projeto para um binário pronto para produção.
-| Flag | Descrição | Padrão |
-|:-------------------- |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |:----------------------------------------------------------------------------------------------------------------------------------------------------- |
-| -clean | Limpa o diretório `compilação/bin` | |
-| -compiler "compiler" | Use um compilador de ida diferente para realizar build, por exemplo, go1.15beta1 | go |
-| -debug | Retains debug information in the application and shows the debug console. Permite o uso das ferramentas devtools na janela do aplicativo | |
-| -devtools | Allows the use of the devtools in the application window in production (when -debug is not used). Ctrl/Cmd+Shift+F12 may be used to open the devtools window. *NOTE*: This option will make your application FAIL Mac appstore guidelines. Use for debugging only. | |
-| -dryrun | Prints the build command without executing it | |
-| -f | Forçar compilação de aplicação | |
-| -garbleargs | Argumentos para passar para o garble | `-literals -tiny -seed=random` |
-| -ldflags "flags" | Ldflags adicionais para passar para o compilador | |
-| -m | Skip mod tidy before compile | |
-| -nopackage | Não empacotar aplicação | |
-| -nocolour | Disable colour in output | |
-| -nosyncgomod | Do not sync go.mod with the Wails version | |
-| -nsis | Generate NSIS installer for Windows | |
-| -o nome de arquivo | Nome do Arquivo de Saída | |
-| -obfuscated | Ofuscar a aplicação usando [garble](https://github.com/burrowers/garble) | |
-| -platform | Compila para as plataformas [(delimitadas por vírgula)](../reference/cli.mdx#platforms) por exemplo. `windows/arm64`. Note, se você não der arquitetura, `runtime.GOARCH` é usado. | platform = `variável de ambiente GOOS` se determinado `runtime.GOOS`.
arch = `GOARCH` variável de envrionment se for dado `runtime.GOARCH`. |
-| -race | Realiza build com o Go race detector | |
-| -s | Pular build do frontend | |
-| -skipbindings | Skip bindings generation | |
-| -tags "extra tags" | Compilar tags para passar para o compilador Go. Deve ser citado. Separados por espaço ou vírgula (mas não ambos) | |
-| -trimpath | Remove todos os caminhos do sistema de arquivo do executável resultante. | |
-| -u | Atualiza o `go.mod` do seu projeto para usar a mesma versão de Wails que o CLI | |
-| -upx | Comprimir binário final usando "upx" | |
-| -upxflags | Flags para passar para o upx | |
-| -v int | Nível de verbosidade(0 - silencioso, 1 - padrão, 2 - verbose) | 1 |
-| -webview2 | Estratégia de instalação WebView2: download,embed,browser,error | baixar |
-| -windowsconsole | Manter a janela de console para builds do Windows | |
+| Flag | Descrição | Padrão |
+|:-------------------- |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |:--------------------------------------------------------------------------------------------------------------------------------------------------- |
+| -clean | Limpa o diretório `compilação/bin` | |
+| -compiler "compiler" | Use um compilador de ida diferente para realizar build, por exemplo, go1.15beta1 | go |
+| -debug | Retains debug information in the application and shows the debug console. Permite o uso das ferramentas devtools na janela do aplicativo | |
+| -devtools | Allows the use of the devtools in the application window in production (when -debug is not used). Ctrl/Cmd+Shift+F12 may be used to open the devtools window. *NOTE*: This option will make your application FAIL Mac appstore guidelines. Use for debugging only. | |
+| -dryrun | Prints the build command without executing it | |
+| -f | Forçar compilação de aplicação | |
+| -garbleargs | Argumentos para passar para o garble | `-literals -tiny -seed=random` |
+| -ldflags "flags" | Ldflags adicionais para passar para o compilador | |
+| -m | Skip mod tidy before compile | |
+| -nopackage | Não empacotar aplicação | |
+| -nocolour | Disable colour in output | |
+| -nosyncgomod | Do not sync go.mod with the Wails version | |
+| -nsis | Generate NSIS installer for Windows | |
+| -o nome de arquivo | Nome do Arquivo de Saída | |
+| -obfuscated | Ofuscar a aplicação usando [garble](https://github.com/burrowers/garble) | |
+| -platform | Compila para as plataformas [(delimitadas por vírgula)](../reference/cli.mdx#platforms) por exemplo. `windows/arm64`. Note, se você não der arquitetura, `runtime.GOARCH` é usado. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
+| -race | Realiza build com o Go race detector | |
+| -s | Pular build do frontend | |
+| -skipbindings | Skip bindings generation | |
+| -tags "extra tags" | Compilar tags para passar para o compilador Go. Deve ser citado. Separados por espaço ou vírgula (mas não ambos) | |
+| -trimpath | Remove todos os caminhos do sistema de arquivo do executável resultante. | |
+| -u | Atualiza o `go.mod` do seu projeto para usar a mesma versão de Wails que o CLI | |
+| -upx | Comprimir binário final usando "upx" | |
+| -upxflags | Flags para passar para o upx | |
+| -v int | Nível de verbosidade(0 - silencioso, 1 - padrão, 2 - verbose) | 1 |
+| -webview2 | Estratégia de instalação WebView2: download,embed,browser,error | baixar |
+| -windowsconsole | Manter a janela de console para builds do Windows | |
Para uma descrição detalhada do sinalizador `webview2`, consulte o guia [Windows](../guides/windows.mdx).
@@ -99,6 +99,12 @@ Há alguns [problemas](https://github.com/upx/upx/issues/446) com o uso de UPX c
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info UPX no Windows
Alguns fornecedores de antivírus marcam como falsos positivos os binários `upx` comprimidos como vírus, veja [problema](https://github.com/upx/upx/issues/437).
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/menus.mdx
index a60919a04b3..7377f64f98c 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ Um exemplo de como criar um menu:
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/options.mdx
index 10b83ce432e..6626b57172c 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/options.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/options.mdx
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Setting this to `true` will enable swipe gestures for the webview.
Name: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
This defines [Mac specific options](#mac).
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index ec0eb61e4e7..f734801cfc4 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff
-Este método desregistra o listener para o nome do evento, opcionalmente várias listagens podem ser desregistradas via `adicionalEventNames`.
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index ebdf010d1f0..b032a052f98 100644
--- a/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-Opens tha native print dialog.
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/pt/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/pt/docusaurus-plugin-content-pages/changelog.mdx
index d04b58bf635..607789a9a91 100644
--- a/website/i18n/pt/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/pt/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@ O formato é baseado em [Manter um Log de Alterações](https://keepachangelog.c
- `Security` in case of vulnerabilities.
## [Unreleased]
+### Adicionado
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### Corrigido
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### Alterado
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### Corrigido
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### Alterado
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### Corrigido
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/community/templates.mdx
index 8a99afb7964..7acd3dd44da 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,6 +26,7 @@ sidebar_position: 1
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - A template using JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier)
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - A template using TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, Composition API with <script setup>)
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Wails template based on Naive UI (A Vue 3 Component Library)
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -40,11 +41,13 @@ sidebar_position: 1
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - шаблон для React + TypeScript + Vite + TailwindCSS
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - A template with Vite, React, TypeScript, TailwindCSS, and shadcn/ui
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - шаблон с использованием Svelte
- [wails-vite-template](https://github.com/BillBuilt/wails-vite-svelte-template) - шаблон с использованием Svelte и Vite
+- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - шаблон с использованием Svelte и Vite с TailwindCSS v3
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - An updated template using Svelte v4.2.0 and Vite with TailwindCSS v3.3.3
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - шаблон с использованием SvelteKit
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index ffeae1f9799..a2be96bd636 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem";
Linux requires the standard gcc
build tools plus libgtk3
and libwebkit
. Вместо того чтобы перечислять огромное количество команд для разных дистрибутивов, Wails может попробовать определить команды установки, специфичные для вашего дистрибутива. Запустите wails doctor
после установки, чтобы узнать, как установить зависимости. Если ваш дистрибутив или менеджер пакетов не поддерживается, пожалуйста, обратитесь к руководству {" "} Добавление дистрибутива Linux.
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index 52436d03f53..757feda7384 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ If these 2 keys aren't given, then Wails does absolutely nothing with the fronte
### AssetsHandler
-A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifiy `nil` as the `Assets` option.
+A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## Built in Dev Server
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index ff217c84580..e7ea6dfc86c 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
- Caching dependencies
- Code signing
-- Uploading to platforms like S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injecting secrets as environment variables
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index ac087ee4514..f057056c19d 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@ The options are as follows:
| noautoinjectipc | Disable the autoinjection of `/wails/ipc.js` |
| noautoinject | Disable all autoinjection of scripts |
-Multiple options may be used provided they are comma seperated.
+Multiple options may be used provided they are comma separated.
This code is perfectly valid and operates the same as the autoinjection version:
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index 961595711c7..0824eb373e0 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@ This is an example entitlements file from the [RiftShare](https://github.com/ach
```
-**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the applicaton. It needs to be named embedded.provisionprofile.
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. It needs to be named embedded.provisionprofile.
#### Build and Sign the App Package
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/signing.mdx
index 49b82d94c7d..67ed0810aa7 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ Now we need to configure some gon config files in our `build/darwin` directory:
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 7de133a8a28..84c5e5b7cc5 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
This guide will go into:
-1. Miminal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Install Script - Bash script for accomplishing the Minimal Installation Steps with optional Wails branding.
3. Important Notes - Issues that can be encountered when using SvelteKit + Wails and fixes.
@@ -124,7 +124,7 @@ wails dev
See https://wails.io/docs/guides/frontend for more information.
-##### Inital data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js works well with load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() in +page.svelte will call load() from +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/cli.mdx
index 3e038875032..9c595c4f8a1 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -66,7 +66,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
| -nsis | Generate NSIS installer for Windows | |
| -o filename | Output filename | |
| -obfuscated | Obfuscate the application using [garble](https://github.com/burrowers/garble) | |
-| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` envrionment variable if given else `runtime.GOARCH`. |
+| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
| -race | Build with Go's race detector | |
| -s | Skip building the frontend | |
| -skipbindings | Skip bindings generation | |
@@ -99,6 +99,12 @@ There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Ap
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info UPX on Windows
Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437).
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/menus.mdx
index ff9a2442281..bcf0f2344e7 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ An example of how to create a menu:
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
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 10b83ce432e..6626b57172c 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
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Setting this to `true` will enable swipe gestures for the webview.
Name: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
This defines [Mac specific options](#mac).
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index 856ba6f0c26..7a2ebda7efc 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff
-This method unregisters the listener for the given event name, optionally multiple listeneres can be unregistered via `additionalEventNames`.
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index b2ae6deba55..f7cdae99fdc 100644
--- a/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-Opens tha native print dialog.
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/ru/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/ru/docusaurus-plugin-content-pages/changelog.mdx
index d8d1039acae..89c096a12a6 100644
--- a/website/i18n/ru/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/ru/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- `Security` in case of vulnerabilities.
## [Unreleased]
+### Added
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### Fixed
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### Changed
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### Fixed
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### Changed
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### Fixed
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/community/templates.mdx
index 65f46a9e123..fb95b8ad9f7 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,6 +26,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - A template using JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier)
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - A template using TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, Composition API with <script setup>)
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Wails template based on Naive UI (A Vue 3 Component Library)
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -40,11 +41,13 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - A template for React + TypeScript + Vite + TailwindCSS
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - A template with Vite, React, TypeScript, TailwindCSS, and shadcn/ui
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - A template using Svelte
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - A template using Svelte and Vite
+- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - An updated template using Svelte v4.2.0 and Vite with TailwindCSS v3.3.3
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - A template using SvelteKit
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index 401d2678905..ff63e0a89f0 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem";
Linux requires the standard gcc
build tools plus libgtk3
and libwebkit
. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run wails doctor
after installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the Add Linux Distro guide.
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index 8ad521116a6..687b89791de 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ If these 2 keys aren't given, then Wails does absolutely nothing with the fronte
### AssetsHandler
-A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifiy `nil` as the `Assets` option.
+A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## Built in Dev Server
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index ff217c84580..e7ea6dfc86c 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
- Caching dependencies
- Code signing
-- Uploading to platforms like S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injecting secrets as environment variables
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index ac087ee4514..f057056c19d 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@ The options are as follows:
| noautoinjectipc | Disable the autoinjection of `/wails/ipc.js` |
| noautoinject | Disable all autoinjection of scripts |
-Multiple options may be used provided they are comma seperated.
+Multiple options may be used provided they are comma separated.
This code is perfectly valid and operates the same as the autoinjection version:
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index 961595711c7..0824eb373e0 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@ This is an example entitlements file from the [RiftShare](https://github.com/ach
```
-**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the applicaton. It needs to be named embedded.provisionprofile.
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. It needs to be named embedded.provisionprofile.
#### Build and Sign the App Package
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/signing.mdx
index 49b82d94c7d..67ed0810aa7 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ Now we need to configure some gon config files in our `build/darwin` directory:
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 7de133a8a28..84c5e5b7cc5 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
This guide will go into:
-1. Miminal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Install Script - Bash script for accomplishing the Minimal Installation Steps with optional Wails branding.
3. Important Notes - Issues that can be encountered when using SvelteKit + Wails and fixes.
@@ -124,7 +124,7 @@ wails dev
See https://wails.io/docs/guides/frontend for more information.
-##### Inital data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js works well with load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() in +page.svelte will call load() from +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/cli.mdx
index 3e038875032..9c595c4f8a1 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -66,7 +66,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
| -nsis | Generate NSIS installer for Windows | |
| -o filename | Output filename | |
| -obfuscated | Obfuscate the application using [garble](https://github.com/burrowers/garble) | |
-| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` envrionment variable if given else `runtime.GOARCH`. |
+| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
| -race | Build with Go's race detector | |
| -s | Skip building the frontend | |
| -skipbindings | Skip bindings generation | |
@@ -99,6 +99,12 @@ There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Ap
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info UPX on Windows
Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437).
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/menus.mdx
index ff9a2442281..bcf0f2344e7 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ An example of how to create a menu:
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/options.mdx
index 10b83ce432e..6626b57172c 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/options.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/options.mdx
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Setting this to `true` will enable swipe gestures for the webview.
Name: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
This defines [Mac specific options](#mac).
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index 856ba6f0c26..7a2ebda7efc 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff
-This method unregisters the listener for the given event name, optionally multiple listeneres can be unregistered via `additionalEventNames`.
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index b2ae6deba55..f7cdae99fdc 100644
--- a/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-Opens tha native print dialog.
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/tr/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/tr/docusaurus-plugin-content-pages/changelog.mdx
index d8d1039acae..89c096a12a6 100644
--- a/website/i18n/tr/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/tr/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- `Security` in case of vulnerabilities.
## [Unreleased]
+### Added
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### Fixed
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### Changed
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### Fixed
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### Changed
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### Fixed
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/community/templates.mdx
index 65f46a9e123..fb95b8ad9f7 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,6 +26,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - A template using JavaScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier)
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - A template using TypeScript + Quasar V2 (Vue 3, Vite, Sass, Pinia, ESLint, Prettier, Composition API with <script setup>)
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - Wails template based on Naive UI (A Vue 3 Component Library)
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -40,11 +41,13 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - A template for React + TypeScript + Vite + TailwindCSS
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - A template with Vite, React, TypeScript, TailwindCSS, and shadcn/ui
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - A template using Svelte
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - A template using Svelte and Vite
+- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - A template using Svelte and Vite with TailwindCSS v3
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - An updated template using Svelte v4.2.0 and Vite with TailwindCSS v3.3.3
- [wails-sveltekit-template](https://github.com/h8gi/wails-sveltekit-template) - A template using SvelteKit
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index 401d2678905..ff63e0a89f0 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -58,6 +58,8 @@ import TabItem from "@theme/TabItem";
Linux requires the standard gcc
build tools plus libgtk3
and libwebkit
. Rather than list a ton of commands for different distros, Wails can try to determine what the installation commands are for your specific distribution. Run wails doctor
after installation to be shown how to install the dependencies. If your distro/package manager is not supported, please consult the Add Linux Distro guide.
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index 8ad521116a6..687b89791de 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ If these 2 keys aren't given, then Wails does absolutely nothing with the fronte
### AssetsHandler
-A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifiy `nil` as the `Assets` option.
+A Wails v2 app can optionally define a `http.Handler` in the `options.App`, which allows hooking into the AssetServer to create files on the fly or process POST/PUT requests. GET requests are always first handled by the `assets` FS. If the FS doesn't find the requested file the request will be forwarded to the `http.Handler` for serving. Any requests other than GET will be directly processed by the `AssetsHandler` if specified. It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## Built in Dev Server
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index ff217c84580..e7ea6dfc86c 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
- Caching dependencies
- Code signing
-- Uploading to platforms like S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injecting secrets as environment variables
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index ac087ee4514..f057056c19d 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@ The options are as follows:
| noautoinjectipc | Disable the autoinjection of `/wails/ipc.js` |
| noautoinject | Disable all autoinjection of scripts |
-Multiple options may be used provided they are comma seperated.
+Multiple options may be used provided they are comma separated.
This code is perfectly valid and operates the same as the autoinjection version:
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index 961595711c7..0824eb373e0 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@ This is an example entitlements file from the [RiftShare](https://github.com/ach
```
-**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the applicaton. It needs to be named embedded.provisionprofile.
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. It needs to be named embedded.provisionprofile.
#### Build and Sign the App Package
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/signing.mdx
index 49b82d94c7d..67ed0810aa7 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ Now we need to configure some gon config files in our `build/darwin` directory:
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 7de133a8a28..84c5e5b7cc5 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
This guide will go into:
-1. Miminal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Install Script - Bash script for accomplishing the Minimal Installation Steps with optional Wails branding.
3. Important Notes - Issues that can be encountered when using SvelteKit + Wails and fixes.
@@ -124,7 +124,7 @@ wails dev
See https://wails.io/docs/guides/frontend for more information.
-##### Inital data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js works well with load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() in +page.svelte will call load() from +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/cli.mdx
index 3e038875032..9c595c4f8a1 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -66,7 +66,7 @@ If you are unsure about a template, inspect `package.json` and `wails.json` for
| -nsis | Generate NSIS installer for Windows | |
| -o filename | Output filename | |
| -obfuscated | Obfuscate the application using [garble](https://github.com/burrowers/garble) | |
-| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` envrionment variable if given else `runtime.GOARCH`. |
+| -platform | Build for the given (comma delimited) [platforms](../reference/cli.mdx#platforms) eg. `windows/arm64`. Note, if you do not give the architecture, `runtime.GOARCH` is used. | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
| -race | Build with Go's race detector | |
| -s | Skip building the frontend | |
| -skipbindings | Skip bindings generation | |
@@ -99,6 +99,12 @@ There are [issues](https://github.com/upx/upx/issues/446) with using UPX with Ap
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info UPX on Windows
Some Antivirus vendors false positively mark `upx` compressed binaries as virus, see [issue](https://github.com/upx/upx/issues/437).
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/menus.mdx
index ff9a2442281..bcf0f2344e7 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ An example of how to create a menu:
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/options.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/options.mdx
index 10b83ce432e..6626b57172c 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/options.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/options.mdx
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -690,6 +692,12 @@ Setting this to `true` will enable swipe gestures for the webview.
Name: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
This defines [Mac specific options](#mac).
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index 856ba6f0c26..7a2ebda7efc 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff
-This method unregisters the listener for the given event name, optionally multiple listeneres can be unregistered via `additionalEventNames`.
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index b2ae6deba55..f7cdae99fdc 100644
--- a/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-Opens tha native print dialog.
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/vi/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/vi/docusaurus-plugin-content-pages/changelog.mdx
index 01f19132020..d4e264c6f92 100644
--- a/website/i18n/vi/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/vi/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@ Tất cả những thay đổi đáng chú ý sẽ được thêm vào tài li
- `Security` cho các trường hợp vá lỗ hổng bảo mật.
## [Unreleased]
+### Added
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### Fixed
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### Changed
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### Fixed
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### Changed
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### Fixed
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
new file mode 100644
index 00000000000..27f168f4802
--- /dev/null
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/community/showcase/resizem.mdx
@@ -0,0 +1,10 @@
+# Resizem
+
+```mdx-code-block
+
+
+
+
+```
+
+[Resizem](https://github.com/barats/resizem) - is an app designed for bulk image process. It is particularly useful for users who need to resize, convert, and manage large numbers of image files at once.
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/community/templates.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/community/templates.mdx
index f207b639089..af1ae9a0094 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/community/templates.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/community/templates.mdx
@@ -26,7 +26,7 @@ sidebar_position: 1
- [wails-template-quasar-js](https://github.com/sgosiaco/wails-template-quasar-js) - 使用 JavaScript + Quasar V2(Vue 3, Vite, Sass, Pinia, ESLint, Prettier)的模板
- [wails-template-quasar-ts](https://github.com/sgosiaco/wails-template-quasar-ts) - 使用 TypeScript + Quasar V2(Vue 3、Vite、Sass、Pinia、ESLint、Prettier、带 <script setup> 的Composition API)的模板
- [wails-template-naive](https://github.com/tk103331/wails-template-naive) - 基于 Naive UI(一款 Vue 3 组件库)的 Wails 模板
-- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - 基于 TDesign UI(腾讯的 Vue 3 组件库)的 Wails 模板,使用 Vite、Pinia、Vue Router、ESLint 和 Prettier。
+- [wails-template-tdesign-js](https://github.com/tongque0/wails-template-tdesign-js) - Wails template based on TDesign UI (a Vue 3 UI library by Tencent), using Vite, Pinia, Vue Router, ESLint, and Prettier.
## Angular
@@ -41,11 +41,13 @@ sidebar_position: 1
- [wails-template-nextjs-app-router](https://github.com/thisisvk-in/wails-template-nextjs-app-router) - A template using Next.js and TypeScript with App router
- [wails-vite-react-ts-tailwind-template](https://github.com/hotafrika/wails-vite-react-ts-tailwind-template) - 一个 React + TypeScript + Vite + TailwindCSS 模板
- [wails-vite-react-ts-tailwind-shadcnui-template](https://github.com/Mahcks/wails-vite-react-tailwind-shadcnui-ts) - A template with Vite, React, TypeScript, TailwindCSS, and shadcn/ui
+- [wails-nextjs-tailwind-template](https://github.com/kairo913/wails-nextjs-tailwind-template) - A template using Next.js and Typescript with TailwindCSS
## Svelte
- [wails-svelte-template](https://github.com/raitonoberu/wails-svelte-template) - 基于 Svelte 的模板
- [wails-vite-svelte-template](https://github.com/BillBuilt/wails-vite-svelte-template) - 使用 Svelte 和 Vite 的模板
+- [wails-vite-svelte-ts-tailwind-template](https://github.com/xvertile/wails-vite-svelte-tailwind-template) - A template using Wails, Svelte, Vite, TypeScript, and TailwindCSS v3
- [wails-vite-svelte-tailwind-template](https://github.com/BillBuilt/wails-vite-svelte-tailwind-template) - 使用 Svelte 和 Vite 和 TailwindCSS v3 的模板
- [wails-svelte-tailwind-vite-template](https://github.com/PylotLight/wails-vite-svelte-tailwind-template/tree/master) - An updated template using Svelte v4.2.0 and Vite with TailwindCSS v3.3.3
- [wails-template-nextjs](https://github.com/LGiki/wails-template-nextjs) - 基于 Next.js + TypeScript 的模板
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
index e11cf8e50b3..829749d0982 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/gettingstarted/installation.mdx
@@ -57,6 +57,8 @@ import TabItem from "@theme/TabItem";
Linux 需要标准的 gcc
构建工具以及 libgtk3
和 libwebkit
。 与其为不同的发行版列出大量命令,Wails 可以尝试确定针对您的特定发行版的安装命令。 安装后运行 wails doctor
以显示如何安装依赖项。 如果您的发行版/包管理器不受支持,请参阅 添加Linux发行版指南。
+
Note:
+ If you are using latest Linux version (example: Ubuntu 24.04) and it is not supporting libwebkit2gtk-4.0-dev
, then you might encounter an issue in wails doctor
: libwebkit
not found. To resolve this issue you can install libwebkit2gtk-4.1-dev
and during your build use the tag -tags webkit2_41
.
```
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/application-development.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/application-development.mdx
index 365cfc7e5bb..2ef3badf1f4 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/application-development.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/application-development.mdx
@@ -235,7 +235,7 @@ Wails v2 处理资源的方式的伟大之处在于它不需要处理! 您唯
### 资产处理程序
-Wails v2 应用程序可以选择在 `options.App` 中定义一个 `http.Handler`,它允许连接到 AssetServer 以动态创建文件或处理 POST/PUT 请求。 GET 请求总是首先由 `assets` FS 处理。 如果 FS 没有找到请求的文件,请求将被转发到 `http.Handler` 服务。 如果指定,除了 GET 以外的任何请求都将由 `AssetsHandler` 直接处理。 也可以仅通过将 `nil` 指定为 `Assets` 选项来使用 `AssetsHandler`。
+Wails v2 应用程序可以选择在 `options.App` 中定义一个 `http.Handler`,它允许连接到 AssetServer 以动态创建文件或处理 POST/PUT 请求。 GET 请求总是首先由 `assets` FS 处理。 如果 FS 没有找到请求的文件,请求将被转发到 `http.Handler` 服务。 如果指定,除了 GET 以外的任何请求都将由 `AssetsHandler` 直接处理。 It's also possible to only use the `AssetsHandler` by specifying `nil` as the `Assets` option.
## 内置开发服务器
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
index ff217c84580..e7ea6dfc86c 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/crossplatform-build.mdx
@@ -61,6 +61,6 @@ This example offers opportunities for various enhancements, including:
- Caching dependencies
- Code signing
-- Uploading to platforms like S3, Supbase, etc.
+- Uploading to platforms like S3, Supabase, etc.
- Injecting secrets as environment variables
- Utilizing environment variables as build variables (such as version variable extracted from the current Git tag)
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/frontend.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/frontend.mdx
index 7c424686348..d7355c3ecf6 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/frontend.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/frontend.mdx
@@ -44,7 +44,7 @@
| noautoinjectipc | 禁用自动注入 `/wails/ipc.js` |
| noautoinject | 禁用所有脚本自动注入 |
-可以使用多个选项,前提是它们以逗号分隔。
+Multiple options may be used provided they are comma separated.
此代码完全有效并且与自动注入版本的操作相同:
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
index b57afca88af..3e60f8fa0d4 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/mac-appstore.mdx
@@ -61,7 +61,7 @@
```
-上面 **添加嵌入式配置文件** 创建的配置文件需要添加到应用程序的根目录中。 它需要命名为 embedded.provisionprofile。
+**Add the Embedded Provisioning Profile** The Provisioning Profile created above needs to be added to the root of the application. 它需要命名为 embedded.provisionprofile。
#### 构建并签署应用程序包
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
index 141e4d68caa..02188562e57 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/nixos-font.mdx
@@ -1,6 +1,6 @@
# NixOS FontSize Bug
-NixOS/Wayland can cause a bug where the `font-size` css property doesnt affect the rendered page. To fix this add the following to your devShell.
+NixOS/Wayland can cause a bug where the `font-size` css property doesn't affect the rendered page. To fix this add the following to your devShell.
```shell
shellHook = with pkgs; ''
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/signing.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/signing.mdx
index c3b9bff9c07..51e96155b88 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/signing.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/signing.mdx
@@ -232,7 +232,7 @@ Now we need to configure some gon config files in our `build/darwin` directory:
"bundle_id": "app.myapp",
"apple_id": {
"username": "my-appleid@email.com",
- "password": "@env:APPLE_PASSWORD",
+ "password": "your-app-specific-password",
"provider": "ABCDE12345"
},
"sign": {
@@ -246,11 +246,13 @@ Here is a brief break down of the above fields:
- `source`: The location of your wails binary to be signed
- `apple_id`:
- `username`: Your Apple ID email address
- - `password`: Your app-specific password, referenced using Gon's environment variable syntax
+ - `password`: Your app-specific password
- `provider`: Your team ID for your App Store Connect account
- `sign`:
- `application_identity`: Your Apple developer identity
+The (https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool)[deprecated Apple's altool]'s syntax supporting `@env:` is no longer available since Apple has migrated to the new notarytool.
+
Your developer identity and team ID can both by found on macOS by running the following command:
```bash
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
index 7de133a8a28..84c5e5b7cc5 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/sveltekit.mdx
@@ -2,7 +2,7 @@
This guide will go into:
-1. Miminal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
+1. Minimal Installation Steps - The steps needed to get a minimum Wails setup working for SvelteKit.
2. Install Script - Bash script for accomplishing the Minimal Installation Steps with optional Wails branding.
3. Important Notes - Issues that can be encountered when using SvelteKit + Wails and fixes.
@@ -124,7 +124,7 @@ wails dev
See https://wails.io/docs/guides/frontend for more information.
-##### Inital data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
+##### Initial data can be loaded and refreshed from +page.ts/+page.js to +page.svelte.
- \+page.ts/+page.js works well with load() https://kit.svelte.dev/docs/load#page-data
- invalidateAll() in +page.svelte will call load() from +page.ts/+page.js https://kit.svelte.dev/docs/load#rerunning-load-functions-manual-invalidation.
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/cli.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/cli.mdx
index eb50bedb267..f16432d6614 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/cli.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/cli.mdx
@@ -49,35 +49,35 @@ Wails CLI 有许多用于管理项目的命令。 所有命令都以此方式运
`wails build` 用于将您的项目编译为生产可用的二进制文件。
-| 标志 | 描述 | 默认 |
-|:--------------- |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |:---------------------------------------------------------------------------------------------------------- |
-| -clean | 清理 `build/bin` 目录 | |
-| -compiler "编译器" | 使用不同的 go 编译器来构建,例如 go1.15beta1 | go |
-| -debug | Retains debug information in the application and shows the debug console. 允许在应用程序窗口中使用 devtools | |
-| -devtools | Allows the use of the devtools in the application window in production (when -debug is not used). Ctrl/Cmd+Shift+F12 may be used to open the devtools window. *NOTE*: This option will make your application FAIL Mac appstore guidelines. Use for debugging only. | |
-| -dryrun | 打印构建命令但不执行它 | |
-| -f | 强制构建应用 | |
-| -garbleargs | 传递给 garble 的参数 | `-literals -tiny -seed=random` |
-| -ldflags "标志" | 传递给编译器的额外 ldflags | |
-| -m | 编译前跳过 mod tidy | |
-| -nopackage | 不打包应用程序 | |
-| -nocolour | 在输出中禁用颜色 | |
-| -nosyncgomod | 不同步 go.mod 中的 Wails 版本 | |
-| -nsis | 为 Windows 生成 NSIS 安装程序 | |
-| -o 文件名 | 输出文件名 | |
-| -obfuscated | 使用 [garble](https://github.com/burrowers/garble) 混淆应用程序 | |
-| -platform | 为指定的 [平台](../reference/cli#平台)(逗号分割)构建,例如: `windows/arm64`。 `windows/arm64`。 注意,如果不给出架构,则使用 `runtime.GOARCH`。 | 如果给定环境变量 platform = `GOOS` 否则等于 `runtime.GOOS`。
如果给定环境变量 arch = `GOARCH` 否则等于 `runtime.GOARCH`. |
-| -race | 使用 Go 的竞态检测器构建 | |
-| -s | 跳过前端构建 | |
-| -skipbindings | 跳过 bindings 生成 | |
-| -tags "额外标签" | 构建标签以传递给 Go 编译器。 必须引用。 空格或逗号(但不能同时使用)分隔 | |
-| -trimpath | 从生成的可执行文件中删除所有文件系统路径。 | |
-| -u | 更新项目的 `go.mod` 以使用与 CLI 相同版本的 Wails | |
-| -upx | 使用 “upx” 压缩最终二进制文件 | |
-| -upxflags | 传递给 upx 的标志 | |
-| -v int | 详细级别 (0 - silent, 1 - default, 2 - verbose) | 1 |
-| -webview2 | WebView2 安装策略:download,embed,browser,error. | download |
-| -windowsconsole | 保留Windows构建控制台窗口 | |
+| 标志 | 描述 | 默认 |
+|:--------------- |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |:--------------------------------------------------------------------------------------------------------------------------------------------------- |
+| -clean | 清理 `build/bin` 目录 | |
+| -compiler "编译器" | 使用不同的 go 编译器来构建,例如 go1.15beta1 | go |
+| -debug | Retains debug information in the application and shows the debug console. 允许在应用程序窗口中使用 devtools | |
+| -devtools | Allows the use of the devtools in the application window in production (when -debug is not used). Ctrl/Cmd+Shift+F12 may be used to open the devtools window. *NOTE*: This option will make your application FAIL Mac appstore guidelines. Use for debugging only. | |
+| -dryrun | 打印构建命令但不执行它 | |
+| -f | 强制构建应用 | |
+| -garbleargs | 传递给 garble 的参数 | `-literals -tiny -seed=random` |
+| -ldflags "标志" | 传递给编译器的额外 ldflags | |
+| -m | 编译前跳过 mod tidy | |
+| -nopackage | 不打包应用程序 | |
+| -nocolour | 在输出中禁用颜色 | |
+| -nosyncgomod | 不同步 go.mod 中的 Wails 版本 | |
+| -nsis | 为 Windows 生成 NSIS 安装程序 | |
+| -o 文件名 | 输出文件名 | |
+| -obfuscated | 使用 [garble](https://github.com/burrowers/garble) 混淆应用程序 | |
+| -platform | 为指定的 [平台](../reference/cli#平台)(逗号分割)构建,例如: `windows/arm64`。 `windows/arm64`。 注意,如果不给出架构,则使用 `runtime.GOARCH`。 | platform = `GOOS` environment variable if given else `runtime.GOOS`.
arch = `GOARCH` environment variable if given else `runtime.GOARCH`. |
+| -race | 使用 Go 的竞态检测器构建 | |
+| -s | 跳过前端构建 | |
+| -skipbindings | 跳过 bindings 生成 | |
+| -tags "额外标签" | 构建标签以传递给 Go 编译器。 必须引用。 空格或逗号(但不能同时使用)分隔 | |
+| -trimpath | 从生成的可执行文件中删除所有文件系统路径。 | |
+| -u | 更新项目的 `go.mod` 以使用与 CLI 相同版本的 Wails | |
+| -upx | 使用 “upx” 压缩最终二进制文件 | |
+| -upxflags | 传递给 upx 的标志 | |
+| -v int | 详细级别 (0 - silent, 1 - default, 2 - verbose) | 1 |
+| -webview2 | WebView2 安装策略:download,embed,browser,error. | download |
+| -windowsconsole | 保留Windows构建控制台窗口 | |
有关 `webview2` 标志的详细描述,请参阅 [Windows 系统指南](../guides/windows)。
@@ -99,6 +99,12 @@ Wails CLI 有许多用于管理项目的命令。 所有命令都以此方式运
:::
+:::info Set minimal version for MacOS
+
+You can override default [minimal version](../gettingstarted/installation#supported-platforms) of macOS for your app by providing version via `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables. e.g. `CGO_CFLAGS=-mmacosx-version-min=10.15.0 CGO_LDFLAGS=-mmacosx-version-min=10.15.0 wails build`
+
+:::
+
:::info Windows 上的 UPX
一些防病毒软件供应商误将 `upx` 压缩的二进制文件标记为病毒,请查看相关 [问题](https://github.com/upx/upx/issues/437)。
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/menus.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/menus.mdx
index 4e87c3f48f8..2cd9b146f1b 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/menus.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/menus.mdx
@@ -13,15 +13,21 @@ sidebar_position: 4
app := NewApp()
AppMenu := menu.NewMenu()
+ if runtime.GOOS == "darwin" {
+ AppMenu.Append(menu.AppMenu()) // On macOS platform, this must be done right after `NewMenu()`
+ }
FileMenu := AppMenu.AddSubmenu("File")
- FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), openFile)
+ FileMenu.AddText("&Open", keys.CmdOrCtrl("o"), func(_ *menu.CallbackData) {
+ // do something
+ })
FileMenu.AddSeparator()
FileMenu.AddText("Quit", keys.CmdOrCtrl("q"), func(_ *menu.CallbackData) {
- runtime.Quit(app.ctx)
+ // `rt` is an alias of "github.com/wailsapp/wails/v2/pkg/runtime" to prevent collision with standard package
+ rt.Quit(app.ctx)
})
if runtime.GOOS == "darwin" {
- AppMenu.Append(menu.EditMenu()) // on macos platform, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
+ AppMenu.Append(menu.EditMenu()) // On macOS platform, EditMenu should be appended to enable Cmd+C, Cmd+V, Cmd+Z... shortcuts
}
err := wails.Run(&options.App{
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 646150f4df8..50d80ebdae1 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
@@ -98,7 +98,9 @@ func main() {
// OnResume is called when Windows resumes from low power mode
OnResume: func(),
// Disable GPU hardware acceleration for the webview
- WebviewGpuDisabled: false,
+ WebviewGpuDisabled: false,
+ // Class name for the window. If empty, 'wailsWindow' will be used.
+ WindowClassName: "MyWindow",
},
Mac: &mac.Options{
TitleBar: &mac.TitleBar{
@@ -552,25 +554,25 @@ Setting this to `true` will disable pinch zoom gestures.
Name: DisablePinchZoom
Type: `bool`
-#### 禁用窗口图标
+#### DisableWindowIcon
将此设置为 `true` 将删除标题栏左上角的图标。
名称:DisableWindowIcon
类型:`bool`
-#### 禁用无边框窗口装饰
+#### DisableFramelessWindowDecorations
将此设置为 `true` 将移除 [无边框](#无边框) 模式下的窗口装饰。 这意味着将不会有`Aero 阴影` 和 `圆角`显示在窗口上。 请注意,'圆角' 只在 Windows 11 上支持。
名称:DisableFramelessWindowDecorations
类型:`bool`
-#### Webview 用户数据路径
+#### WebviewUserDataPath
这定义了 WebView2 存储用户数据的路径。 如果为空将使用 `%APPDATA%\[BinaryName.exe]`。
名称:WebviewUserDataPath
类型:`string`
-#### Webview 浏览器路径
+#### WebviewBrowserPath
这定义了带有 WebView2 可执行文件和库的目录的路径 如果为空,则使用系统中安装的 webview2
@@ -582,7 +584,7 @@ Name: DisablePinchZoom
Type: `bool`
名称:WebviewBrowserPath
类型:`string`
-#### 主题
+#### Theme
最低 Windows 版本:Windows 10 2004/20H1
@@ -596,7 +598,7 @@ Name: DisablePinchZoom
Type: `bool`
名称:Theme
类型:`windows.Theme`
-#### 自定义主题
+#### CustomTheme
:::note
@@ -652,7 +654,7 @@ type ThemeSettings struct {
},
```
-#### 消息
+#### Messages
一个如果找不到有效的 webview2 运行时,webview2 安装程序所使用的字符串结构。
@@ -660,25 +662,25 @@ type ThemeSettings struct {
您可以选择支持的任意语言定制此选项。
-#### 重置尺寸防抖间隔
+#### ResizeDebounceMS
ResizeDebounceMS 是调整窗口大小时去抖动 webview2 重绘的时间量。 默认值 (0) 将尽可能快地执行重绘。
名称:ResizeDebounceMS
类型:`uint16`
-#### 待机回调
+#### OnSuspend
如果设置,当 Windows 启动切换到低功耗模式(挂起/休眠)时将调用此函数
名称:OnSuspend
类型:`func()`
-#### 恢复回调
+#### OnResume
如果设置,当 Windows 从低功耗模式(挂起/休眠)恢复时将调用此函数
名称:OnResume
类型:`func()`
-#### 禁用 Webview GPU 硬件加速
+#### WebviewGpuIsDisabled
设置为 `true` 将禁用 webview 的 GPU 硬件加速。
@@ -690,13 +692,19 @@ Setting this to `true` will enable swipe gestures for the webview.
Name: EnableSwipeGestures
Type: `bool`
+#### WindowClassName
+
+Class name for the window. If empty, 'wailsWindow' will be used.
+
+Name: WindowClassName
Type: `string`
+
### Mac
这定义了 [Mac 特定的选项](#mac)。
名称:Mac
类型:`*mac.Options`
-#### 标题栏
+#### TitleBar
TitleBar 结构提供了配置标题栏外观的能力。
@@ -744,7 +752,7 @@ Mac: &mac.Options{
单击 [此处](https://github.com/lukakerr/NSWindowStyles) 获取有关自定义标题栏的一些灵感。
-#### 外观
+#### Appearance
Appearance 用于根据 Apple 的 [NSAppearance](https://developer.apple.com/documentation/appkit/nsappearancename?language=objc) 名称设置您的应用程序的样式。
@@ -833,7 +841,7 @@ Mac: &mac.Options{
}
```
-#### 关于
+#### About
此配置允许您在“AppMenu”角色创建的应用程序菜单中设置“关于”菜单项的标题、消息和图标。
@@ -916,7 +924,7 @@ func main() {
名称:Linux
类型:`*linux.Options`
-#### 图标
+#### Icon
设置代表窗口的图标。 当窗口最小化(也称为图标化)时使用此图标。
@@ -934,7 +942,7 @@ func main() {
名称:WindowIsTranslucent
类型:`bool`
-#### Webview GPU 策略
+#### WebviewGpuPolicy
该选项用于决定 webview 的硬件加速策略。
@@ -956,13 +964,13 @@ When a .desktop file is created this value helps with window grouping and deskto
Name: ProgramName
Type: string
-### 调试
+### Debug
这定义了用于调试构建的 [调试特定选项](#调试)。
名称: Debug
类型: `options.Debug`
-#### 启动时打开检查器
+#### OpenInspectorOnStartup
设置为 `true` 将在应用程序启动时打开 Web 检查器。
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
index 7788eed7b4c..91cb7adebc1 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/events.mdx
@@ -14,7 +14,7 @@ Go: `EventsOn(ctx context.Context, eventName string, callback func(optionalData
### EventsOff 移除事件侦听器
-此方法取消注册给定事件名称的侦听器,可选地,可以通过 `additionalEventNames` 取消注册多个侦听器。
+This method unregisters the listener for the given event name, optionally multiple listeners can be unregistered via `additionalEventNames`.
Go: `EventsOff(ctx context.Context, eventName string, additionalEventNames ...string)`
JS: `EventsOff(eventName string, ...additionalEventNames)`
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
index a9799f06ae7..f1fc78c99c8 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/reference/runtime/window.mdx
@@ -202,7 +202,7 @@ Go: `WindowSetBackgroundColour(ctx context.Context, R, G, B, A uint8)`
JS:
### WindowPrint
-Opens tha native print dialog.
+Opens the native print dialog.
Go: `WindowPrint(ctx context.Context)`
JS: `WindowPrint()`
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-pages/changelog.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-pages/changelog.mdx
index e7ab1ba699c..8d39babf013 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-pages/changelog.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-pages/changelog.mdx
@@ -12,7 +12,40 @@
- `Security(安全)` 对安全性的改进。
## [即将发布]
+### 新增
+- Added option to set window class name on Windows. Added in [PR](https://github.com/wailsapp/wails/pull/3828) by @APshenkin
+
+### 修复
+- Fixed cross compilation failed with CGO [PR](https://github.com/wailsapp/wails/pull/3795) by [@fcying](https://github.com/fcying)
+- Using go-webview2 v0.1.17 to fix native webview2loader issue, by @leaanthony
+- Fixed example for macOS menu by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3847)
+- Fixed typo by @takuyahara in [PR](https://github.com/wailsapp/wails/pull/3846)
+
+### 变更
+- Allow to specify macos-min-version externally. Implemented by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3756)
+## v2.9.2 - 2024-09-18
+
+### 修复
+- Fixed CGO memory issue on Darwin by @leaanthony in [PR](https://github.com/wailsapp/wails/pull/3590)
+- Fixed an error that occurred when an author name contains a string that is not suitable for JSON. Fixed by @taiseiotsuka in [PR](https://github.com/wailsapp/wails/pull/3638)
+- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
+- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Fixed doctor command not finding pkg-config on Solus. [PR #3670](https://github.com/wailsapp/wails/pull/3670) by [@ianmjones](https://github.com/ianmjones)
+- Fixed binding for struct fields that were exported but had no json tags. [PR #3678](https://github.com/wailsapp/wails/pull/3678)
+- Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+- Modified `ZoomFactor` and `IsZoomControlEnabled` options to be Windows-only options in PR[#3644](https://github.com/wailsapp/wails/pull/3644) by @levinit
+- Added nil check for Drag-n-Drop on Windows. Fixed by in [PR](https://github.com/wailsapp/wails/pull/3597) by @leaanthony based on the suggestion by @Alpa-1 in [#3596](https://github.com/wailsapp/wails/issues/3596).
+- Fixed typos in various .mdx files. [PR #3628](https://github.com/wailsapp/wails/pull/3628) by [@deining](https://github.com/deining)
+- Fixed `notifyListeners()` race condition when terminated mid-emission [PR](https://github.com/wailsapp/wails/pull/3695) by [@mrf345](https://github.com/mrf345)
+- Fixed dialogs in Windows when using Go 1.23 in [PR](https://github.com/wailsapp/wails/pull/3707) by [@leaanthony](https://github.com/leaanthony)
+- More syscall fixes for Go 1.23 support in [PR](https://github.com/wailsapp/wails/pull/3713) by [@leaanthony](https://github.com/leaanthony)
+- Fixed drag and drop missing cursor icon [PR](https://github.com/wailsapp/wails/pull/3703) by [@mrf345](https://github.com/mrf345)
+- Fixed a build error on macOS that occurred when the `outputfilename` and `name` fields in wails.json were different. Fixed in [PR](https://github.com/wailsapp/wails/pull/3789) by [@nickisworking](https://github.com/nickisworking)
+
+### 变更
+- Modified docs to reflect the correct password syntax for the `gon-sign.json` file [PR](https://github.com/wailsapp/wails/pull/3620) by [@ignasbernotas](github.com/ignasbernotas)
+- Updated installation docs for latest linux os version and libwebkit issue [PR](https://github.com/wailsapp/wails/pull/3806) by [@pratikmota](https://github.com/pratikmota)
## v2.9.1 - 2024-06-18
### 修复
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-pages/credits.mdx b/website/i18n/zh-Hans/docusaurus-plugin-content-pages/credits.mdx
index 08f24f31533..595b4928d4c 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-pages/credits.mdx
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-pages/credits.mdx
@@ -265,5 +265,5 @@
- [Byron Chris](https://github.com/bh90210) - 他对此项目的长期贡献。
- [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - 提供了巨大的的支持和反馈。
- [Justen Walker](https://github.com/justenwalker/) - 帮助解决 v2 上线要解决的问题。
-- [Wang, Chi](https://github.com/branchseer) - DeskGap 项目对 Wails v2 的方向产生了巨大影响。
+- [Wang, Chi](https://github.com/branchseer) - The DeskGap project was a huge influence on the direction of Wails v2.
- [Serge Zaitsev](https://github.com/zserge) - 虽然 Wails 没有使用 Webview 项目,但它仍然是一个灵感来源。