Compare commits

..

524 Commits

Author SHA1 Message Date
Lea Anthony 74133c9ae3 v2.0.0 2022-09-22 11:00:57 +10:00
Misite Bao e9b2c15664 feat: optimize documentation website (#1849)
* fix(website): fix i18n configuration

* feat: add i18n file to auto generate code

* feat: move the crowdin configuration file to the website directory

* feat(website): add crowdin dependencies and scripts

* feat: add COC

* feat: use escape hatch syntax to wrap JSX code in MDX files

* feat: remove ach language

* feat: generate default language configuration

* feat: remove compare link

* feat: add COC link

* feat(website): update documentation

* feat: use escape hatch syntax to wrap JSX code in MDX files

* style: add prettier

* style: format mdx files

* chore: remove prettier command

* feat: update en docs

* feat: sync Chinese documents

* feat: update doc

* Update website/src/pages/coc.mdx

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-18 22:01:50 +10:00
Lea Anthony d0a39349d4 Update release workflow 2022-09-18 08:56:13 +10:00
Lea Anthony b93cdcd942 Releasetest/release workflow (#1869)
* Test release workflow

* Update release.yml

* Update release.yml

* add linux deps

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Update release.yml

* Fix: Misc tests

* Fix: Misc tests + linux build tags

* Fix: Bindings tests + move templates to pkg. Add json schema for templates

* Fix: template tests

* Add tests to release workflow. Test for go 1.18 + go 1.19
Fix: ignore .m files for non darwin builds. Fix watcher test. Fix warning in clilogger.

* Fix release pipeline

* Matrix for tests

* Rename templates to make tests work

* Update template test

* Debug template test

* Debug template test

* Debug template test

* Fix gitignore

* Update release.yml
2022-09-18 08:55:21 +10:00
Parvin Eyvazov 96ffe5b7b2 Update introduction.mdx (#1863) 2022-09-17 06:09:00 +10:00
stffabi 1026119eca [templates] Use embed all to include all files (#1862)
Otherwise files prefixed with `.` and `_` won't get embedded.
2022-09-17 00:37:30 +10:00
Lea Anthony f78476e051 Fix: lit template 2022-09-16 17:48:48 +10:00
Lea Anthony 124295a79c Remove support for < Go 1.18 in wails doctor 2022-09-16 13:36:33 +10:00
Misite Bao 14adbc12aa chore: update README and workflows (#1848)
* Update README

* Update crowdin.yml

* chore: update workflows and README

* fix: fix error

* feat: remove unnecessary content

* Update .github/workflows/build.yml

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-15 21:49:35 +10:00
Lea Anthony 28fd3cdba1 Fix link to runtime docs in introduction page 2022-09-15 21:11:12 +10:00
stffabi f97f5bb602 [build] Fix buildtags parsing if only one tag is specified (#1858)
* [build] Fix buildtags parsing if only one tag is specified
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-15 17:04:00 +10:00
stffabi f1dc9eb4ef [cli] Add check for minimum required go version (#1853)
- Update out of sync go.mod with minimum go version
- Check for minimum go version during build with build constraint
  “internal/goversion/build_constraint.go:9:2: MinGoVersionRequired (constant "You need Go 1.18 or newer to compile this program" of type string) is not used”
2022-09-15 07:28:28 +10:00
stffabi 854bd9433d [go] Bump minimum required go version to 1.18 (#1854) 2022-09-14 23:47:15 +10:00
Lea Anthony e75fb53fa5 Fix version text v2.0.0-rc.1.1 2022-09-13 12:06:54 +10:00
Lea Anthony 847cd67077 v2.0.0-rc.1 (#1846)
* v2.0.0-rc.1

* Fix changelog jsx errors. Can't wait to get rid of jsx.
2022-09-13 11:47:13 +10:00
Lea Anthony 052b9222c1 Add garble support (#1793)
Co-authored-by: AlbinoDrought <sean@albinodrought.com>
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-09-13 10:05:37 +10:00
imgbot[bot] eef99ee577 [ImgBot] Optimize images (#1812)
*Total -- 5,696.04kb -> 5,003.34kb (12.16%)

/v2/pkg/commands/build/internal/packager/icon32.png -- 7.95kb -> 2.95kb (62.83%)
/v2/internal/frontend/desktop/windows/winc/dock_topbottom.png -- 4.27kb -> 1.82kb (57.31%)
/assets/images/jetbrains-grayscale.png -- 102.85kb -> 52.29kb (49.16%)
/v2/internal/frontend/desktop/windows/winc/dock_topleft.png -- 3.47kb -> 1.88kb (45.81%)
/cmd/templates/svelte/frontend/public/favicon.png -- 3.05kb -> 1.91kb (37.45%)
/website/static/img/icon-windows-dark.svg -- 0.63kb -> 0.45kb (28.35%)
/v2/pkg/buildassets/build/appicon.png -- 174.74kb -> 129.52kb (25.88%)
/website/static/img/favicon.svg -- 0.99kb -> 0.76kb (23.37%)
/website/static/img/go_js.svg -- 4.49kb -> 3.45kb (23.14%)
/website/static/img/go_js_dark.svg -- 4.54kb -> 3.50kb (22.97%)
/cmd/templates/vuetify2-basic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/vuetify-basic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/create-react-app/frontend/src/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/vuebasic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/svelte/frontend/src/logo.png -- 300.95kb -> 234.35kb (22.13%)
/website/static/img/architecture.svg -- 3.83kb -> 3.04kb (20.6%)
/website/static/img/Terminal-icon-dark.svg -- 0.99kb -> 0.79kb (20.37%)
/website/static/img/Terminal-icon.svg -- 0.99kb -> 0.79kb (19.84%)
/website/static/img/wails-logo-textless.svg -- 4.11kb -> 3.40kb (17.31%)
/assets/images/pace.jpeg -- 3.06kb -> 2.55kb (16.57%)
/website/static/img/icon-apple-dark.svg -- 1.10kb -> 0.92kb (16.33%)
/website/static/img/Go_Logo_Blue.svg -- 2.20kb -> 1.86kb (15.21%)
/website/static/img/logo-dark.svg -- 7.19kb -> 6.18kb (14.12%)
/website/static/img/wails-logo-horizontal-dark.svg -- 6.29kb -> 5.41kb (14.02%)
/website/static/img/logo-light.svg -- 7.12kb -> 6.13kb (14%)
/website/static/img/wails-logo-horizontal.svg -- 6.22kb -> 5.36kb (13.87%)
/website/static/img/icon-windows.svg -- 0.42kb -> 0.39kb (8.14%)
/v2/cmd/wails/internal/commands/generate/template/base/frontend/dist/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vue-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/plain/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/lit/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/react-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/lit-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/lit/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/preact/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/plain/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/react/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vue/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/react/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/vue/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/cmd/templates/vue3-js/frontend/src/assets/logo.png -- 6.69kb -> 6.33kb (5.4%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/src/assets/preact.svg -- 1.57kb -> 1.49kb (4.99%)
/website/static/img/icon-apple.svg -- 0.76kb -> 0.72kb (4.52%)
/website/static/img/desktop-application-app-dark.svg -- 4.56kb -> 4.37kb (4.34%)
/website/static/img/desktop-application-app.svg -- 4.54kb -> 4.35kb (4.34%)
/website/static/img/logo.svg -- 6.55kb -> 6.29kb (4.05%)
/website/static/img/vitejs.svg -- 3.76kb -> 3.62kb (3.79%)
/cmd/templates/create-react-app/frontend/public/logo512.png -- 175.92kb -> 169.55kb (3.62%)
/v2/pkg/commands/build/internal/packager/icon128.png -- 16.10kb -> 15.52kb (3.58%)
/cmd/templates/vue3-full/frontend/src/assets/appicon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/packages/darwin/icon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/templates/vue3-js/frontend/src/assets/appicon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/packages/windows/icon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/templates/create-react-app/frontend/public/logo192.png -- 37.41kb -> 36.24kb (3.14%)
/cmd/templates/vuebasic/frontend/src/assets/fonts/roboto/roboto-v18-latin-regular.svg -- 47.83kb -> 46.81kb (2.13%)
/v2/pkg/commands/build/internal/packager/icon256.png -- 26.46kb -> 25.99kb (1.79%)
/website/static/img/icon-linux.svg -- 2.94kb -> 2.92kb (0.4%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-12 21:57:07 +10:00
Lea Anthony 583b3cd1c3 New Crowdin updates (#1800)
* New translations markdown-page.md (Acholi)
[ci skip]

* New translations stats.mdx (Acholi)
[ci skip]

* New translations code.json (Acholi)
[ci skip]

* New translations options.json (Acholi)
[ci skip]

* New translations current.json (Acholi)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Acholi)
[ci skip]

* New translations helloworld.mdx (Acholi)
[ci skip]

* New translations footer.json (Acholi)
[ci skip]

* New translations navbar.json (Acholi)
[ci skip]

* New translations emailit.mdx (Acholi)
[ci skip]

* New translations modalfilemanager.mdx (Acholi)
[ci skip]

* New translations linux.mdx (Acholi)
[ci skip]

* New translations scriptbar.mdx (Acholi)
[ci skip]

* New translations minecraftupdater.mdx (Acholi)
[ci skip]

* New translations faq.mdx (Acholi)
[ci skip]

* New translations community-guide.mdx (Acholi)
[ci skip]

* New translations vscode.mdx (Acholi)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations templates.mdx (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations windows-installer.mdx (Acholi)
[ci skip]

* New translations windows.mdx (Acholi)
[ci skip]

* New translations howdoesitwork.mdx (Acholi)
[ci skip]

* New translations introduction.mdx (Acholi)
[ci skip]

* New translations cli.mdx (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations window.mdx (Acholi)
[ci skip]

* New translations menus.mdx (Acholi)
[ci skip]

* New translations options.mdx (Acholi)
[ci skip]

* New translations project-config.mdx (Acholi)
[ci skip]

* New translations _category_.json (Acholi)
[ci skip]

* New translations browser.mdx (Acholi)
[ci skip]

* New translations dialog.mdx (Acholi)
[ci skip]

* New translations events.mdx (Acholi)
[ci skip]

* New translations intro.mdx (Acholi)
[ci skip]

* New translations log.mdx (Acholi)
[ci skip]

* New translations menu.mdx (Acholi)
[ci skip]

* New translations dogsapi.mdx (Acholi)
[ci skip]

* New translations templates.mdx (Chinese Simplified)
[ci skip]

* New translations templates.mdx (Russian)
[ci skip]

* New translations templates.mdx (Japanese)
[ci skip]

* New translations templates.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations templates.mdx (Acholi)
[ci skip]

* New translations encrypteasy.mdx (Japanese)
[ci skip]

* New translations wally.mdx (Korean)
[ci skip]

* New translations wally.mdx (Japanese)
[ci skip]

* New translations wally.mdx (Russian)
[ci skip]

* New translations wally.mdx (Chinese Simplified)
[ci skip]

* New translations wombat.mdx (Japanese)
[ci skip]

* New translations wombat.mdx (Korean)
[ci skip]

* New translations wombat.mdx (Russian)
[ci skip]

* New translations wombat.mdx (Chinese Simplified)
[ci skip]

* New translations ytd.mdx (Japanese)
[ci skip]

* New translations ytd.mdx (Korean)
[ci skip]

* New translations ytd.mdx (Russian)
[ci skip]

* New translations ytd.mdx (Chinese Simplified)
[ci skip]

* New translations encrypteasy.mdx (Korean)
[ci skip]

* New translations october.mdx (Japanese)
[ci skip]

* New translations encrypteasy.mdx (Russian)
[ci skip]

* New translations encrypteasy.mdx (Chinese Simplified)
[ci skip]

* New translations filehound.mdx (Japanese)
[ci skip]

* New translations filehound.mdx (Korean)
[ci skip]

* New translations filehound.mdx (Russian)
[ci skip]

* New translations filehound.mdx (Chinese Simplified)
[ci skip]

* New translations mollywallet.mdx (Japanese)
[ci skip]

* New translations mollywallet.mdx (Korean)
[ci skip]

* New translations mollywallet.mdx (Russian)
[ci skip]

* New translations mollywallet.mdx (Chinese Simplified)
[ci skip]

* New translations october.mdx (Korean)
[ci skip]

* New translations october.mdx (Russian)
[ci skip]

* New translations october.mdx (Chinese Simplified)
[ci skip]

* New translations optimus.mdx (Japanese)
[ci skip]

* New translations optimus.mdx (Korean)
[ci skip]

* New translations optimus.mdx (Russian)
[ci skip]

* New translations optimus.mdx (Chinese Simplified)
[ci skip]

* New translations portfall.mdx (Japanese)
[ci skip]

* New translations portfall.mdx (Korean)
[ci skip]

* New translations portfall.mdx (Russian)
[ci skip]

* New translations portfall.mdx (Chinese Simplified)
[ci skip]

* New translations scriptbar.mdx (Russian)
[ci skip]

* New translations emailit.mdx (Japanese)
[ci skip]

* New translations emailit.mdx (Korean)
[ci skip]

* New translations emailit.mdx (Russian)
[ci skip]

* New translations emailit.mdx (Chinese Simplified)
[ci skip]

* New translations modalfilemanager.mdx (Japanese)
[ci skip]

* New translations modalfilemanager.mdx (Korean)
[ci skip]

* New translations modalfilemanager.mdx (Russian)
[ci skip]

* New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]

* New translations scriptbar.mdx (Japanese)
[ci skip]

* New translations scriptbar.mdx (Korean)
[ci skip]

* New translations scriptbar.mdx (Chinese Simplified)
[ci skip]

* New translations minecraftupdater.mdx (Japanese)
[ci skip]

* New translations minecraftupdater.mdx (Korean)
[ci skip]

* New translations minecraftupdater.mdx (Russian)
[ci skip]

* New translations minecraftupdater.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations optimus.mdx (Acholi)
[ci skip]

* New translations portfall.mdx (Acholi)
[ci skip]

* New translations wally.mdx (Acholi)
[ci skip]

* New translations october.mdx (Acholi)
[ci skip]

* New translations mollywallet.mdx (Acholi)
[ci skip]

* New translations filehound.mdx (Acholi)
[ci skip]

* New translations encrypteasy.mdx (Acholi)
[ci skip]

* New translations wombat.mdx (Acholi)
[ci skip]

* New translations ytd.mdx (Acholi)
[ci skip]

* New translations scriptbar.mdx (Acholi)
[ci skip]

* New translations minecraftupdater.mdx (Acholi)
[ci skip]

* New translations modalfilemanager.mdx (Acholi)
[ci skip]

* New translations emailit.mdx (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations building.mdx (Japanese)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Japanese)
[ci skip]

* New translations howdoesitwork.mdx (Chinese Simplified)
[ci skip]

* New translations introduction.mdx (Japanese)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations introduction.mdx (Russian)
[ci skip]

* New translations introduction.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Japanese)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Korean)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Russian)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Korean)
[ci skip]

* New translations howdoesitwork.mdx (Korean)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Russian)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Japanese)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Korean)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Russian)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations dogsapi.mdx (Japanese)
[ci skip]

* New translations dogsapi.mdx (Korean)
[ci skip]

* New translations dogsapi.mdx (Russian)
[ci skip]

* New translations dogsapi.mdx (Chinese Simplified)
[ci skip]

* New translations howdoesitwork.mdx (Russian)
[ci skip]

* New translations howdoesitwork.mdx (Japanese)
[ci skip]

* New translations building.mdx (Korean)
[ci skip]

* New translations ides.mdx (Chinese Simplified)
[ci skip]

* New translations building.mdx (Russian)
[ci skip]

* New translations building.mdx (Chinese Simplified)
[ci skip]

* New translations installation.mdx (Korean)
[ci skip]

* New translations dynamic-assets.mdx (Japanese)
[ci skip]

* New translations dynamic-assets.mdx (Korean)
[ci skip]

* New translations dynamic-assets.mdx (Russian)
[ci skip]

* New translations dynamic-assets.mdx (Chinese Simplified)
[ci skip]

* New translations ides.mdx (Japanese)
[ci skip]

* New translations ides.mdx (Korean)
[ci skip]

* New translations ides.mdx (Russian)
[ci skip]

* New translations windows-installer.mdx (Japanese)
[ci skip]

* New translations helloworld.mdx (Chinese Simplified)
[ci skip]

* New translations windows-installer.mdx (Korean)
[ci skip]

* New translations windows-installer.mdx (Russian)
[ci skip]

* New translations windows-installer.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Japanese)
[ci skip]

* New translations options.mdx (Korean)
[ci skip]

* New translations options.mdx (Russian)
[ci skip]

* New translations options.mdx (Chinese Simplified)
[ci skip]

* New translations helloworld.mdx (Japanese)
[ci skip]

* New translations helloworld.mdx (Korean)
[ci skip]

* New translations helloworld.mdx (Russian)
[ci skip]

* New translations building.mdx (Acholi)
[ci skip]

* New translations dynamic-assets.mdx (Acholi)
[ci skip]

* New translations ides.mdx (Acholi)
[ci skip]

* New translations windows-installer.mdx (Acholi)
[ci skip]

* New translations howdoesitwork.mdx (Acholi)
[ci skip]

* New translations introduction.mdx (Acholi)
[ci skip]

* New translations options.mdx (Acholi)
[ci skip]

* New translations helloworld.mdx (Acholi)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Acholi)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Acholi)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Acholi)
[ci skip]

* New translations dogsapi.mdx (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations window.mdx (Japanese)
[ci skip]

* New translations window.mdx (Korean)
[ci skip]

* New translations window.mdx (Russian)
[ci skip]

* New translations window.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations window.mdx (Acholi)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations installation.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations window.mdx (Japanese)
[ci skip]

* New translations window.mdx (Korean)
[ci skip]

* New translations window.mdx (Russian)
[ci skip]

* New translations window.mdx (Chinese Simplified)
[ci skip]

* New translations navbar.json (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations navbar.json (Chinese Simplified)
[ci skip]

* New translations navbar.json (Russian)
[ci skip]

* New translations navbar.json (Korean)
[ci skip]

* New translations navbar.json (Acholi)
[ci skip]

* New translations events.mdx (Japanese)
[ci skip]

* New translations events.mdx (Korean)
[ci skip]

* New translations events.mdx (Russian)
[ci skip]

* New translations events.mdx (Chinese Simplified)
[ci skip]

* New translations events.mdx (Acholi)
[ci skip]

* New translations howdoesitwork.mdx (Japanese)
[ci skip]

* New translations building.mdx (Korean)
[ci skip]

* New translations development.mdx (Korean)
[ci skip]

* New translations overscroll.mdx (Japanese)
[ci skip]

* New translations overscroll.mdx (Korean)
[ci skip]

* New translations overscroll.mdx (Russian)
[ci skip]

* New translations overscroll.mdx (Chinese Simplified)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations overscroll.mdx (Acholi)
[ci skip]

* New translations bleeding-edge.mdx (Japanese)
[ci skip]

* New translations bleeding-edge.mdx (Korean)
[ci skip]

* New translations bleeding-edge.mdx (Russian)
[ci skip]

* New translations bleeding-edge.mdx (Chinese Simplified)
[ci skip]

* New translations bleeding-edge.mdx (Acholi)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations howdoesitwork.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Acholi)
[ci skip]

* New translations frameless.mdx (Japanese)
[ci skip]

* New translations frameless.mdx (Korean)
[ci skip]

* New translations frameless.mdx (Russian)
[ci skip]

* New translations frameless.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Japanese)
[ci skip]

* New translations options.mdx (Korean)
[ci skip]

* New translations options.mdx (Russian)
[ci skip]

* New translations options.mdx (Chinese Simplified)
[ci skip]

* New translations frameless.mdx (Acholi)
[ci skip]

* New translations options.mdx (Acholi)
[ci skip]

* Fix issues again
2022-09-12 21:56:43 +10:00
Lea Anthony dae1388f3b Update docusaurus version 2022-09-12 21:13:13 +10:00
Lea Anthony d23108a49e Make draggable CSS property customisable (#1828)
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-09-10 14:33:35 +10:00
Lea Anthony ec0e1cca58 Add macOS build failure help 2022-09-08 21:51:29 +10:00
Sean 85b8c3025d fix: remove duplicate defs in win32/window.go (#1832)
Introduced in 70c484f603
2022-09-07 05:43:47 +10:00
Lea Anthony 6e35e9a3e4 Update PR testing docs 2022-09-06 08:04:51 +10:00
Lea Anthony 3920402017 Update overscroll CSS 2022-09-04 11:33:47 +10:00
Lea Anthony 58a2dbb42a Update overscroll CSS 2022-09-04 11:33:08 +10:00
Lea Anthony fca6e9e3d4 Better watcher (#1827)
* Better watcher

* Delete rogue code
2022-09-04 07:47:27 +10:00
SheetJSDev 53ebb67b72 Use Promise<void> when Go routine does not output (#1821) 2022-09-03 09:56:18 +10:00
Zámbó, Levente 7816b0b67f [v2] feature: make EventsOff capable of removing multiple listeners (#1822)
[v2] feature: add missing wrapper
2022-09-02 07:34:59 +10:00
Lea Anthony 01e46f0c24 Fix vue-ts template (#1813) 2022-08-31 23:28:55 +10:00
Misite Bao 3a7ef4c26d fix: fix bugs in website (#1810)
* feat: remove useless configuration files

* fix: fix image tags

* fix: delete unnecessary files and fix file names

* fix: automatically generate translations using official tools

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-31 22:32:34 +10:00
Lea Anthony 961dc4ded6 Remove stats page 2022-08-31 20:00:22 +10:00
Kevin MacMartin 27f36a8edd Only set GDK_BACKEND to "x11" if GDK_BACKEND is unset and XDG_SESSION_TYPE is not "wayland" (#1811)
* Only set GDK_BACKEND to "x11" if GDK_BACKEND is unset and XDG_SESSION_TYPE is not "wayland"

* GDK_BACKEND should only be set if XDG_SESSION_TYPE is unset, "unspecified" or "x11"
2022-08-31 17:31:52 +10:00
Lea Anthony ffb4a1360b Add too many open files guide 2022-08-30 07:41:46 +10:00
ZanderCodes 70c484f603 Add Some WindowState (#1349)
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen

Solve conflicts

# Conflicts:
#	v2/internal/frontend/desktop/darwin/WailsContext.m
#	v2/internal/frontend/desktop/darwin/frontend.go
#	v2/internal/frontend/desktop/linux/window.go
#	v2/internal/frontend/desktop/windows/window.go

* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen

Solve conflict
# Conflicts:
#	v2/pkg/runtime/window.go

* Forgot some function to use it

# Conflicts:
#	v2/internal/frontend/desktop/darwin/WailsContext.h
#	v2/internal/frontend/desktop/windows/win32/consts.go
#	v2/internal/frontend/desktop/windows/win32/window.go

* Modify the instructions

# Conflicts:
#	v2/internal/frontend/devserver/devserver.go

* Add Functions to DevServer

# Conflicts:
#	v2/internal/frontend/dispatcher/systemcalls.go
#	v2/internal/frontend/runtime/desktop/window.js
#	v2/internal/frontend/runtime/package-lock.json
#	v2/internal/frontend/runtime/runtime_prod_desktop.js
#	v2/internal/frontend/runtime/wrapper/runtime.d.ts
#	v2/internal/frontend/runtime/wrapper/runtime.js

* Add Callback and JavaScript Functions

# Conflicts:
#	v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js
#	v2/internal/frontend/runtime/package-lock.json
#	v2/internal/frontend/runtime/runtime_dev_desktop.js

* Remove Merge lines

* Fix IsMaximised

* Add WindowState Docs

* Update docs

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-30 06:52:01 +10:00
Lea Anthony d70d8055cc Update README 2022-08-29 20:51:14 +10:00
Lea Anthony cdf4927e58 Optimise images part 2 2022-08-29 20:19:43 +10:00
Lea Anthony 96bf669d62 Optimise images 2022-08-28 20:55:36 +10:00
KiddoV 9287649e0b Update templates.mdx (#1799)
* Update templates.mdx

* Update templates.mdx
2022-08-28 17:01:27 +10:00
Lea Anthony 92e85cd9b2 Update sponsors 2022-08-28 07:05:11 +10:00
Lea Anthony c283c47be4 Update Sponsors 2022-08-27 20:45:07 +10:00
Lea Anthony b5e98d5780 New Crowdin updates (#1726)
* New translations minecraftupdater.mdx (Korean)
[ci skip]

* New translations links.mdx (Korean)
[ci skip]

* New translations templates.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations developing-new-features.mdx (Korean)
[ci skip]

* New translations documenting.mdx (Korean)
[ci skip]

* New translations troubleshooting.mdx (Korean)
[ci skip]

* New translations windows-installer.mdx (Korean)
[ci skip]

* New translations faq.mdx (Korean)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Korean)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Korean)
[ci skip]

* New translations authors.yml (Korean)
[ci skip]

* New translations credits.mdx (Korean)
[ci skip]

* New translations markdown-page.md (Korean)
[ci skip]

* New translations stats.mdx (Korean)
[ci skip]

* New translations faq.mdx (Japanese)
[ci skip]

* New translations faq.mdx (Russian)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations faq.mdx (Chinese Simplified)
[ci skip]

* New translations options.json (Korean)
[ci skip]

* New translations current.json (Korean)
[ci skip]

* New translations version-v2.0.0-beta.38.json (Korean)
[ci skip]

* New translations version-v2.0.0-beta.39.json (Korean)
[ci skip]

* New translations footer.json (Korean)
[ci skip]

* New translations navbar.json (Korean)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Korean)
[ci skip]

* New translations howdoesitwork.mdx (Korean)
[ci skip]

* New translations windows.mdx (Korean)
[ci skip]

* New translations log.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations linux.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations browser.mdx (Korean)
[ci skip]

* New translations dialog.mdx (Korean)
[ci skip]

* New translations events.mdx (Korean)
[ci skip]

* New translations intro.mdx (Korean)
[ci skip]

* New translations menu.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations window.mdx (Korean)
[ci skip]

* New translations cli.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations menus.mdx (Korean)
[ci skip]

* New translations options.mdx (Korean)
[ci skip]

* New translations project-config.mdx (Korean)
[ci skip]

* New translations _category_.json (Korean)
[ci skip]

* New translations helloworld.mdx (Korean)
[ci skip]

* New translations code.json (Korean)
[ci skip]

* New translations developing-new-features.mdx (Chinese Simplified)
[ci skip]

* New translations firstproject.mdx (Japanese)
[ci skip]

* New translations firstproject.mdx (Russian)
[ci skip]

* New translations firstproject.mdx (Chinese Simplified)
[ci skip]

* New translations installation.mdx (Japanese)
[ci skip]

* New translations installation.mdx (Russian)
[ci skip]

* New translations installation.mdx (Chinese Simplified)
[ci skip]

* New translations dynamic-assets.mdx (Japanese)
[ci skip]

* New translations dynamic-assets.mdx (Russian)
[ci skip]

* New translations dynamic-assets.mdx (Chinese Simplified)
[ci skip]

* New translations frameless.mdx (Japanese)
[ci skip]

* New translations frameless.mdx (Russian)
[ci skip]

* New translations frameless.mdx (Chinese Simplified)
[ci skip]

* New translations documenting.mdx (Japanese)
[ci skip]

* New translations documenting.mdx (Russian)
[ci skip]

* New translations frontend.mdx (Japanese)
[ci skip]

* New translations frontend.mdx (Russian)
[ci skip]

* New translations windows.mdx (Chinese Simplified)
[ci skip]

* New translations troubleshooting.mdx (Japanese)
[ci skip]

* New translations troubleshooting.mdx (Russian)
[ci skip]

* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]

* New translations windows-installer.mdx (Japanese)
[ci skip]

* New translations windows-installer.mdx (Russian)
[ci skip]

* New translations windows-installer.mdx (Chinese Simplified)
[ci skip]

* New translations dialog.mdx (Japanese)
[ci skip]

* New translations dialog.mdx (Russian)
[ci skip]

* New translations signing.mdx (Chinese Simplified)
[ci skip]

* New translations migrating.mdx (Russian)
[ci skip]

* New translations ides.mdx (Japanese)
[ci skip]

* New translations ides.mdx (Russian)
[ci skip]

* New translations ides.mdx (Chinese Simplified)
[ci skip]

* New translations migrating.mdx (Japanese)
[ci skip]

* New translations migrating.mdx (Chinese Simplified)
[ci skip]

* New translations signing.mdx (Russian)
[ci skip]

* New translations mouse-buttons.mdx (Japanese)
[ci skip]

* New translations mouse-buttons.mdx (Russian)
[ci skip]

* New translations mouse-buttons.mdx (Chinese Simplified)
[ci skip]

* New translations overscroll.mdx (Japanese)
[ci skip]

* New translations overscroll.mdx (Russian)
[ci skip]

* New translations routing.mdx (Japanese)
[ci skip]

* New translations routing.mdx (Russian)
[ci skip]

* New translations routing.mdx (Chinese Simplified)
[ci skip]

* New translations signing.mdx (Japanese)
[ci skip]

* New translations dialog.mdx (Chinese Simplified)
[ci skip]

* New translations project-config.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Chinese Simplified)
[ci skip]

* New translations howdoesitwork.mdx (Japanese)
[ci skip]

* New translations howdoesitwork.mdx (Russian)
[ci skip]

* New translations howdoesitwork.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Japanese)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Russian)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Japanese)
[ci skip]

* New translations options.mdx (Russian)
[ci skip]

* New translations window.mdx (Japanese)
[ci skip]

* New translations menu.mdx (Japanese)
[ci skip]

* New translations menu.mdx (Russian)
[ci skip]

* New translations menu.mdx (Chinese Simplified)
[ci skip]

* New translations window.mdx (Russian)
[ci skip]

* New translations options.mdx (Japanese)
[ci skip]

* New translations cli.mdx (Chinese Simplified)
[ci skip]

* New translations menus.mdx (Japanese)
[ci skip]

* New translations menus.mdx (Russian)
[ci skip]

* New translations menus.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Russian)
[ci skip]

* New translations 2021-11-08-v2-beta2-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations emailit.mdx (Chinese Simplified)
[ci skip]

* New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Japanese)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Russian)
[ci skip]

* New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations credits.mdx (Japanese)
[ci skip]

* New translations credits.mdx (Russian)
[ci skip]

* New translations credits.mdx (Chinese Simplified)
[ci skip]

* New translations code.json (Korean)
[ci skip]

* New translations developing-new-features.mdx (Japanese)
[ci skip]

* New translations developing-new-features.mdx (Russian)
[ci skip]

* New translations ways-of-contributing.mdx (Japanese)
[ci skip]

* New translations documenting.mdx (Japanese)
[ci skip]

* New translations testing.mdx (Japanese)
[ci skip]

* New translations setting-up-a-dev-environment.mdx (Japanese)
[ci skip]

* New translations fixing-bugs.mdx (Japanese)
[ci skip]

* New translations helping-others.mdx (Japanese)
[ci skip]

* New translations ways-of-contributing.mdx (Russian)
[ci skip]

* New translations fixing-bugs.mdx (Chinese Simplified)
[ci skip]

* New translations documenting.mdx (Russian)
[ci skip]

* New translations documenting.mdx (Chinese Simplified)
[ci skip]

* New translations testing.mdx (Chinese Simplified)
[ci skip]

* New translations fixing-bugs.mdx (Russian)
[ci skip]

* New translations ways-of-contributing.mdx (Chinese Simplified)
[ci skip]

* New translations testing.mdx (Russian)
[ci skip]

* New translations helping-others.mdx (Russian)
[ci skip]

* New translations helping-others.mdx (Chinese Simplified)
[ci skip]

* New translations setting-up-a-dev-environment.mdx (Chinese Simplified)
[ci skip]

* New translations setting-up-a-dev-environment.mdx (Russian)
[ci skip]

* New translations developing-new-features.mdx (Chinese Simplified)
[ci skip]

* New translations current.json (Japanese)
[ci skip]

* New translations current.json (Russian)
[ci skip]

* New translations current.json (Chinese Simplified)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Japanese)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Russian)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Chinese Simplified)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Japanese)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Russian)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Chinese Simplified)
[ci skip]

* New translations installation.mdx (Korean)
[ci skip]

* New translations ways-of-contributing.mdx (Korean)
[ci skip]

* New translations testing.mdx (Korean)
[ci skip]

* New translations developing-new-features.mdx (Korean)
[ci skip]

* New translations documenting.mdx (Korean)
[ci skip]

* New translations fixing-bugs.mdx (Korean)
[ci skip]

* New translations helping-others.mdx (Korean)
[ci skip]

* New translations setting-up-a-dev-environment.mdx (Korean)
[ci skip]

* New translations current.json (Korean)
[ci skip]

* New translations options.json (Korean)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Korean)
[ci skip]

* New translations version-v2.0.0-beta.43.json (Korean)
[ci skip]

* New translations footer.json (Korean)
[ci skip]

* New translations navbar.json (Korean)
[ci skip]

* New translations code.json (Korean)
[ci skip]

* New translations community-guide.mdx (Japanese)
[ci skip]

* New translations community-guide.mdx (Korean)
[ci skip]

* New translations community-guide.mdx (Russian)
[ci skip]

* New translations community-guide.mdx (Chinese Simplified)
[ci skip]

* New translations current.json (Japanese)
[ci skip]

* New translations current.json (Russian)
[ci skip]

* New translations current.json (Chinese Simplified)
[ci skip]

* New translations code.json (Japanese)
[ci skip]

* New translations code.json (Russian)
[ci skip]

* New translations code.json (Chinese Simplified)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations current.json (Korean)
[ci skip]

* New translations code.json (Korean)
[ci skip]

* New translations community-guide.mdx (Japanese)
[ci skip]

* New translations community-guide.mdx (Korean)
[ci skip]

* New translations community-guide.mdx (Russian)
[ci skip]

* New translations community-guide.mdx (Chinese Simplified)
[ci skip]

* New translations community-guide.mdx (Chinese Simplified)
[ci skip]

* New translations vscode.mdx (Japanese)
[ci skip]

* New translations vscode.mdx (Korean)
[ci skip]

* New translations vscode.mdx (Russian)
[ci skip]

* New translations vscode.mdx (Chinese Simplified)
[ci skip]

* New translations current.json (Chinese Simplified)
[ci skip]

* New translations riftshare.mdx (Chinese Simplified)
[ci skip]

* New translations surge.mdx (Chinese Simplified)
[ci skip]

* New translations wally.mdx (Chinese Simplified)
[ci skip]

* New translations encrypteasy.mdx (Chinese Simplified)
[ci skip]

* New translations filehound.mdx (Chinese Simplified)
[ci skip]

* New translations mollywallet.mdx (Chinese Simplified)
[ci skip]

* New translations optimus.mdx (Chinese Simplified)
[ci skip]

* New translations _category_.json (Chinese Simplified)
[ci skip]

* New translations emailit.mdx (Chinese Simplified)
[ci skip]

* New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]

* New translations browser.mdx (Chinese Simplified)
[ci skip]

* New translations vscode.mdx (Russian)
[ci skip]

* New translations vscode.mdx (Chinese Simplified)
[ci skip]

* New translations browser.mdx (Japanese)
[ci skip]

* New translations browser.mdx (Korean)
[ci skip]

* New translations browser.mdx (Russian)
[ci skip]

* New translations dialog.mdx (Japanese)
[ci skip]

* New translations vscode.mdx (Japanese)
[ci skip]

* New translations dialog.mdx (Korean)
[ci skip]

* New translations dialog.mdx (Russian)
[ci skip]

* New translations dialog.mdx (Chinese Simplified)
[ci skip]

* New translations events.mdx (Japanese)
[ci skip]

* New translations events.mdx (Korean)
[ci skip]

* New translations events.mdx (Russian)
[ci skip]

* New translations events.mdx (Chinese Simplified)
[ci skip]

* New translations intro.mdx (Japanese)
[ci skip]

* New translations intro.mdx (Korean)
[ci skip]

* New translations intro.mdx (Russian)
[ci skip]

* New translations vscode.mdx (Korean)
[ci skip]

* New translations intro.mdx (Chinese Simplified)
[ci skip]

* New translations log.mdx (Japanese)
[ci skip]

* New translations options.mdx (Russian)
[ci skip]

* New translations introduction.mdx (Japanese)
[ci skip]

* New translations options.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Korean)
[ci skip]

* New translations log.mdx (Korean)
[ci skip]

* New translations log.mdx (Russian)
[ci skip]

* New translations log.mdx (Chinese Simplified)
[ci skip]

* New translations menu.mdx (Japanese)
[ci skip]

* New translations menu.mdx (Korean)
[ci skip]

* New translations menu.mdx (Russian)
[ci skip]

* New translations menu.mdx (Chinese Simplified)
[ci skip]

* New translations window.mdx (Japanese)
[ci skip]

* New translations window.mdx (Korean)
[ci skip]

* New translations window.mdx (Russian)
[ci skip]

* New translations window.mdx (Chinese Simplified)
[ci skip]

* New translations options.mdx (Japanese)
[ci skip]

* New translations introduction.mdx (Korean)
[ci skip]

* New translations introduction.mdx (Russian)
[ci skip]

* New translations community-guide.mdx (Chinese Simplified)
[ci skip]

* New translations stats.mdx (Chinese Simplified)
[ci skip]

* New translations faq.mdx (Chinese Simplified)
[ci skip]

* New translations markdown-page.md (Chinese Simplified)
[ci skip]

* New translations introduction.mdx (Chinese Simplified)
[ci skip]

* New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]

* New translations version-v2.0.0-beta.44.json (Chinese Simplified)
[ci skip]

* Empty-Commit

* Fix crowdin screwups again
2022-08-27 20:17:15 +10:00
Debdut Karmakar 6c3418d199 preact-ts template build fix (#1781)
* preact imports

* Copy fix to template template(!). Remove unused Fragment.

* Fix template template!

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-27 16:42:33 +10:00
Lea Anthony e67980ee39 Add dogs-api tutorial. Thanks @tatadan! 2022-08-27 16:27:23 +10:00
Lea Anthony 5a3af94772 Documentation update + refactor 2022-08-27 11:17:03 +10:00
stffabi 3632ef9dc8 [webviewloader] Use go implementation to retrieve the version of a fixed runtime (#1790)
* [webview2loader] Start porting of OpenWebView2Loader to go

* [webviewloader] Use go implementation to retrieve the version of a fixed runtime

This fixes a problem with the go-winloader and using GetAvailableCoreWebView2BrowserVersionString

Fixes #1569

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-27 09:29:09 +10:00
Zámbó, Levente bbfb64a965 fix frontend/tsconfig.js (#1795)
change frontend/tsconfig.js to frontend/tsconfig.json.
2022-08-27 06:55:49 +10:00
Lea Anthony e6c9b1350c Vetur documentation 2022-08-26 20:25:29 +10:00
Misite Bao 5f7a413cf3 fix(website): fix link (#1785) 2022-08-24 06:22:48 +10:00
Misite Bao 18dae3c5f0 Reorganized contribution guidelines page (#1784)
* feat(website): update dependencies

* docs: reorganized contribution guidelines page

* feat(website): modify the side directory configuration

* chore: update issue documentation template and configuration
2022-08-23 23:49:23 +10:00
Yuki Shindo fba9411235 Add README.ja.md (#1783)
* Add README.ja.md

* Fix text
2022-08-23 23:46:04 +10:00
Misite Bao 250c97e6a2 feat(website): change contribution guide type from "doc" to "page" (#1777) 2022-08-23 20:52:56 +10:00
Jae-Sung Lee 7da8b28d0b Add Korean to doc (#1774)
* Add Korean

* remove other content
2022-08-22 20:42:00 +10:00
Misite Bao 791c13f29f chore: sort out files (#1776)
* chore: organize resources and delete useless files

* chore: add CONTRIBUTING.md

* chore: update doc issue template

* docs: update and sync README
2022-08-22 20:02:27 +10:00
Misite Bao cb6064ff39 feat(website): repair document content (#1775)
* docs: update changelog

* feat: update website config

* feat(website): add formatting configuration

* docs: fix image resource paths and format documents

* feat(website): update community guide page

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-22 19:59:28 +10:00
stffabi 7e030f3f2b [webviewloader] Prevent env variables and registry overrides from changing behaviour (#1771) 2022-08-22 07:37:00 +02:00
Lea Anthony 3c69289013 Update generate.go 2022-08-20 15:01:33 +10:00
Lea Anthony 2de1421d83 Update preact template 2022-08-20 15:00:05 +10:00
Lea Anthony 317e0a6fef Preact templates for vite 3 (#1770) 2022-08-20 14:55:07 +10:00
Lea Anthony a9fcdd705e Support vite3 for Vue (#1746) 2022-08-20 14:54:48 +10:00
Lea Anthony 4d51d9b742 Upgrade Lit to use Vite v3 (#1745)
* Upgrade Lit to use Vite v3

* Remove unused files
2022-08-20 14:54:27 +10:00
Lea Anthony d9a535c393 Upgrade React to use Vite v3 (#1744) 2022-08-20 14:54:06 +10:00
Lea Anthony 3474d4e1e1 v2.0.0-beta.44.2 2022-08-20 13:51:26 +10:00
Lea Anthony 2466bb1fac v2.0.0-beta.44.1 2022-08-20 13:47:50 +10:00
Niklas f73c394010 doc: added minecraft updater as showcase (#1768) 2022-08-20 12:35:49 +10:00
Lea Anthony c11c769c04 v2.0.0-beta.44 (updated) 2022-08-20 09:59:34 +10:00
Lea Anthony 58d3ffd241 v2.0.0-beta.44 2022-08-20 09:58:18 +10:00
Lea Anthony ff52d4d5f0 Fix: tutorial.mdx styling 2022-08-20 09:05:30 +10:00
Giovanni Palma c1c950e98c Text outside style's brackets (#1765)
I deleted some text that was written outside the img tag

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-20 09:04:08 +10:00
Lea Anthony 2651d5d01a Fix: Do not generate bindings for OnBeforeClose 2022-08-20 08:59:43 +10:00
stffabi e353b49784 [docs] Link to general webview2 runtime download page and not to a specific language (#1764) 2022-08-18 21:58:21 +10:00
Lea Anthony 9ee3157780 Update website. Show deprecation notice for 2022-08-18 20:55:05 +10:00
Lea Anthony f2568f1899 Experimental support for CSS Drag detection (#1750)
* Support CSS Drag

* Support CSS Drag as experimental option
2022-08-18 20:39:05 +10:00
Lea Anthony a0c4c1ea58 Fix Crowdin screw ups again 2022-08-18 20:30:50 +10:00
Lea Anthony 5e2fd56bc9 Fix: Set file permissions for generated files (#1763) 2022-08-18 20:07:18 +10:00
Richard Guay a93a3a2f60 Adding my ScriptBar program (#1761)
* Added EmailIt and Modal File Manager

* Added EmailIt and Modal File Manager

* Adding ScriptBar
2022-08-18 18:22:19 +10:00
Maicarons J 1e8ab4b2c1 doc: add react-router to routing.mdx (#1755) 2022-08-16 21:15:41 +10:00
allcontributors[bot] 24c45ee488 docs: add Maicarons2022 as a contributor for doc (#1756)
* docs: update website/src/pages/credits.mdx [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-16 21:15:30 +10:00
Lea Anthony 35aaf096d7 doc: Update licenses 2022-08-15 19:45:09 +10:00
Lea Anthony 35e961df12 doc: fix headers 2022-08-15 08:33:33 +10:00
Lea Anthony 07ec9fc0ec New translations installation.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony 9167b8b2de New translations credits.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony 04d19ea0cf New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony ceb747327b New translations modalfilemanager.mdx (Russian)
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony c501210c1b New translations modalfilemanager.mdx (Japanese)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony e5c89cc8e1 New translations emailit.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony f437f283bb New translations emailit.mdx (Russian)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony 1ee1b717f6 New translations emailit.mdx (Japanese)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony 76d94fb497 New translations navbar.json (Chinese Simplified)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony 1b2eefe2aa New translations changelog.md (Chinese Simplified)
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony 534ddf2b14 New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony b255eb9306 New translations 2022-02-22-v2-beta3-release-notes.mdx (Russian)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony 844149cbe2 New translations 2022-02-22-v2-beta3-release-notes.mdx (Japanese)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony 756002eb46 New translations 2021-11-08-v2-beta2-release-notes.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony a791a0c5f2 New translations 2021-11-08-v2-beta2-release-notes.mdx (Russian)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony 3dc681de17 New translations cli.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony 68c8bee24e New translations options.mdx (Japanese)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony b920e718ab New translations intro.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony 22f05248f7 New translations options.mdx (Russian)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony 54d3bf22a3 New translations 2021-11-08-v2-beta2-release-notes.mdx (Japanese)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony a6c79d559e New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony 4b2762c356 New translations 2021-09-27-v2-beta1-release-notes.mdx (Russian)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 80ef3dc3cb New translations 2021-09-27-v2-beta1-release-notes.mdx (Japanese)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 31ca5ac9ed New translations options.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 25adfc9f51 New translations project-config.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 61c9c4d685 New translations dialog.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony d5d1fbc591 New translations signing.mdx (Japanese)
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony 1d857b2980 New translations signing.mdx (Russian)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony 9f45a80523 New translations migrating.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony 144f6c906e New translations ides.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony cdb73a2134 New translations migrating.mdx (Russian)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony bcaf75851c New translations signing.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony b25a3c853e New translations dialog.mdx (Russian)
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony 2efab049f0 New translations dialog.mdx (Japanese)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony 102f91ca7b New translations windows-installer.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony d1f71a2b20 New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony f9c8dd1d2d New translations windows.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony d7ebb383e6 New translations building.mdx (Russian)
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony ede69f8df9 New translations building.mdx (Japanese)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 226335e566 New translations building.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 86f76f0de6 New translations dynamic-assets.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 81c2e7cbb2 New translations bleeding-edge.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 182a67b805 New translations installation.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony a890f3148c New translations installation.mdx (Russian)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 41291b4cb7 New translations installation.mdx (Japanese)
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony 4d5d212e1b New translations firstproject.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony f358fe410f New translations firstproject.mdx (Russian)
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony 8ea167af21 New translations firstproject.mdx (Japanese)
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony 75e58d43e8 New translations developing-new-features.mdx (Chinese Simplified)
[ci skip]
2022-08-13 22:25:11 +10:00
Lea Anthony 6e85560817 doc: linux workaround for ended event in video tag 2022-08-13 17:04:41 +10:00
Lea Anthony add21f6411 fix: handling of default folder for windows dialogs 2022-08-13 16:52:35 +10:00
Lea Anthony 4e05b2b8e8 docs: add guide to hide spawned windows 2022-08-13 16:43:04 +10:00
Richard Guay 57e4964a12 Added EmailIt and Modal File Manager (#1728)
* Added EmailIt and Modal File Manager

* Added EmailIt and Modal File Manager
2022-08-11 21:02:23 +10:00
Valentin Trinqué cf3c65f0cc Fix registration of exposed fields (#1727) 2022-08-11 08:41:37 +10:00
Lea Anthony 04094ddf19 New Crowdin updates (#1720) 2022-08-10 18:41:22 +10:00
Ryo TAGAMI 3f813aeb41 Add Japanese (#1716)
Co-authored-by: 田上 諒 <tagami@4thapp.jp>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-10 07:26:10 +10:00
Lea Anthony 0e2696f648 Update crowdin config 2022-08-10 07:22:10 +10:00
Lea Anthony 4385fea49b skip ci on crowdin translations 2022-08-10 07:19:11 +10:00
Lea Anthony 9eea492928 Fixup translations
Fixup translations
2022-08-09 21:05:20 +10:00
Lea Anthony ab37d633ed New Crowdin updates (#1719) 2022-08-09 20:48:29 +10:00
Lea Anthony a07cbf8685 Update Crowdin configuration file 2022-08-09 20:24:14 +10:00
Lea Anthony ff86bbc471 Update Crowdin configuration file 2022-08-09 19:47:01 +10:00
Lea Anthony 4e49852bdb Update crowdin.yml 2022-08-09 19:37:38 +10:00
Ian M. Jones 48cf03cb0d Fix column widths for doctor command dependencies. (#1717)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-09 17:54:03 +10:00
Lea Anthony 57c9158551 Chore/tidy up (#1713)
* Tidy up dev mode output

* Rename `appng` package to `app`

* Remove `crypto`,`parse`,`messagedispatcher`,`servicebus`,`runtime`,`subsystem`,`ffenestri` packages and `.vscode` dir

* Remove misc `fs` functions

* Remove `str` package

* Fix redundant alias
2022-08-09 07:42:11 +10:00
stffabi c13c4a29f5 [v2, build] Bug fix collecting of output binaries for platforms (#1715) 2022-08-09 07:41:26 +10:00
Lea Anthony ba11e5c6d6 Fix version number 2022-08-08 20:28:38 +10:00
Lea Anthony 62526a3e2b Update release.go to auto-patch paths 2022-08-08 20:26:06 +10:00
Lea Anthony fb7f84a033 docs fix 2022-08-08 20:11:39 +10:00
Lea Anthony 1955570264 v2.0.0-beta.43 2022-08-08 20:08:32 +10:00
Lea Anthony d86daaa211 Allow frameless window to be miniturisable (#1705) 2022-08-08 17:28:11 +10:00
Lea Anthony b6dee773c5 Attempted fix for both drag and doubleclick (#1704)
* Attempted fix for both drag and doubleclick

* Shameful hack for windows doubleclick events

* Handle end of drag

* Remove dbClickInterval
2022-08-08 17:27:23 +10:00
stffabi 833b6bdbb8 Merge pull request #1711
* [v2, dev] Improve error message for auto dev server discovery without…
2022-08-08 17:25:36 +10:00
stffabi 501f7a129e [v2, dev] Build frontend only before starting the dev watcher command (#1694)
* [v2, dev] Improve logging of dev watcher command during stop

* [v2, dev] Build frontend only before starting the dev watcher command

Breaking Change: Ignore flags take precedence over Force flag.
2022-08-05 20:01:47 +10:00
Lea Anthony 0bb1c0202b Update troubleshooting.mdx 2022-08-04 18:32:41 +10:00
LGiki b33211495e Change frontend:dev to frontend:dev:build (#1691) 2022-08-03 21:19:06 +10:00
Lea Anthony baff28bb20 Bugfix/linux warnings (#1656)
* Use scaling when setting min/max window

* Fix compile issue. Add debug

* Fix scaling issue

* Fix window widget warnings & shutdown issue. Remove debug lines for linux

* Update dev build with shutdown fix
2022-08-03 21:17:38 +10:00
stffabi 42ef125fb4 [v2, build] gcflags don't need to be quoted (#1689)
This seemed to work for Go < 1.19 but since 1.19 this gives
an error.
2022-08-03 17:15:56 +10:00
LGiki 568015972a Add frontend:dev:install configuration (#1666)
* Add frontend:dev:install configuration

* When building the frontend in dev mode, use `frontend:dev:install` (if it has been defined) to install the dependencies

* Simplified logic for determining installation command

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-03 17:15:22 +10:00
Lea Anthony 224f7c0c56 Move SetMin/Max calls to main thread (#1684)
* Move SetMin/MAx calls to main thread

* Move setsize back to original location

* Remove debug
2022-08-02 06:51:20 +10:00
Lea Anthony 6154bdac90 Add wails generate module to docs. 2022-08-01 20:11:49 +10:00
Lea Anthony e9fc5c9d5c Add support for retrieving the release notes from Github. (#1679)
* New command `show`. Adds support for retrieving the release notes from Github. Shown automatically after update.

* Improve code

* Don't show release notes by default, but show how to view them

* Add version flag for release notes

* Escape path
2022-08-01 20:05:05 +10:00
Sam Hennessy cf985cacee Update application-development.mdx (#1682) 2022-08-01 18:59:40 +10:00
stffabi 3d24a9b4c4 [v2, darwin] Assign a unique requestId to every WKWebView request (#1681)
This makes sure we always use the correct WKURLSchemeTask during
processURLResponse. Only using the URL is not unique enough and
might result in pending requests if two requests with the same URL
are getting processed.
2022-08-01 18:55:25 +10:00
Lea Anthony d5574ba9d7 Improve colour scheme for light mode terminals 2022-07-31 09:15:20 +10:00
Lea Anthony c58071be92 Improve template README 2022-07-30 12:31:19 +10:00
Lea Anthony 57f506fa66 Better "context is nil" errors 2022-07-30 09:20:18 +10:00
stffabi de36477ddc [v2, darwin] Use kern.osversion for os id in doctor (#1673)
It seems like kern.osrevision is always 199506 since several years
and kern.osversion maps to the official documented build id.

Example: MacOS 12.5 with ID 21G72
2022-07-29 05:43:48 +10:00
hiroki yagi a224236b22 add wails-sveltekit-template (#1671) 2022-07-28 17:53:25 +10:00
stffabi 53e875d96f [v2, darwin] Make sure to copy the uri during processURLRequest (#1668)
There's no guarantee that the pointer is still valid when
processURLRequest is finished. So we might end up with an
invalid pointer when the request is asynchronously processed.
2022-07-28 08:56:11 +02:00
Lea Anthony 17b17558e6 Update events.mdx 2022-07-28 05:20:19 +10:00
Lea Anthony a229e04e3e Windows dialogs - Handle scenario when window is not visible yet. (#1662)
* Handle scenario when window is not visible yet.

* Handle scenario when window is not visible yet for all dialogs
2022-07-27 19:38:56 +10:00
stffabi 229d36207c [v2] Fix formatting of some error messages (#1665) 2022-07-27 19:20:30 +10:00
Lea Anthony b9882eabe2 Update sponsors 2022-07-26 20:50:34 +10:00
Lea Anthony 6e0c2f7f79 Update Crowdin configuration file 2022-07-26 08:50:04 +10:00
Lea Anthony 8e21061e78 Remove debug info for linux 2022-07-26 08:29:00 +10:00
Lea Anthony 87b1d1d2aa Updated changelog 2022-07-25 22:15:30 +10:00
Lea Anthony 6a474cec53 v2.0.0-beta.42 2022-07-25 22:13:25 +10:00
Lea Anthony 59cfe88628 v2.0.0-beta.41.2 2022-07-25 22:09:07 +10:00
Lea Anthony e68b419cc8 Update changelog and version 2022-07-25 22:06:21 +10:00
stffabi 11d50c32bd [dev] Ignore empty install command, we also do ignore it during the build step (#1651)
Otherwise we can't use `wails dev` for projects where `wails build` works, e.g. on the plain template.
2022-07-25 22:03:39 +10:00
Lea Anthony a0b06c4700 Bugfix/devwatcher error (#1650)
* Fix error logging

* Fix building frontend on initial run of wails dev
2022-07-25 21:47:45 +10:00
Lea Anthony 7ea6f6d28e Fix BackgroundColour documentation. Update changelog. Move contributors into website. Create changelog link. 2022-07-25 20:11:04 +10:00
Antonio Cheong 63b47cc852 Generalize manual compile steps (#1644)
`go build -tags desktop,production -ldflags "-w -s -H windowsgui"` returns an error on MacOS/Linux.
It is referenced in Wails CLI that manually only `-w -s` are passed by default.
2022-07-24 22:12:45 +10:00
Lea Anthony ebb76d85ed Update deprecation notice 2022-07-24 20:49:16 +10:00
Lea Anthony 8f431aa314 Add deprecation notice 2022-07-24 20:47:10 +10:00
Lea Anthony cf01d7f2f7 Update credits 2022-07-24 20:43:23 +10:00
Lea Anthony a43c077423 v2.0.0-beta.40 2022-07-24 20:33:23 +10:00
Lea Anthony 0f7bd65815 Update Svelte to Vite 3 (#1643)
Updates to svelte template.
Refactor url detector to strip ANSI codes at point of source
Ignore frontend if external dev server used.
[AssetServer] WebSockets can always directly be forwarded to the handler

Co-authored-by: stffabi <stffabi@users.noreply.github.com>

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-07-24 20:20:02 +10:00
Lea Anthony 7b656c49c2 Add -s support for wails dev (#1632)
* Add -s support for wails dev

* Ignore frontend if external dev server used.
2022-07-24 19:19:48 +10:00
Lea Anthony ae756a8409 Use scaling when setting min/max window (#1557)
* Use scaling when setting min/max window

* Fix compile issue. Add debug

* Fix scaling issue
2022-07-23 17:15:22 +10:00
Antonio Cheong f3516d0810 Deprecate Fullscreen appoption (#1640)
Add comments and notes to recommend WindowStartState: options.Fullscreen instead
2022-07-23 17:12:45 +10:00
allcontributors[bot] f0b8ab2fb8 docs: add MyNameIsAres as a contributor for doc (#1638)
* docs: update README.md [skip ci]

* docs: update README.zh-Hans.md [skip ci]

* docs: update website/src/pages/credits.mdx [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-07-23 16:52:53 +10:00
MyNameIsAres fad453da9c 📝 Fixed typo in documentation page howdoesitwork (#1636) 2022-07-23 10:54:35 +10:00
Lea Anthony 5a3d45b535 Override platform with GOOS and GOARCH (#1618)
* Override platform with GOOS and GOARCH

* Update v2/cmd/wails/internal/commands/build/build.go

Co-authored-by: stffabi <stffabi@users.noreply.github.com>

* Only use GOOS and GOARCH env vars for default target

* Update docs. Add dryrun flag for testing

* Update v2/cmd/wails/internal/commands/build/build.go

Co-authored-by: stffabi <stffabi@users.noreply.github.com>

* Fix scenario where no arch specified

* Fixed banner

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-07-21 21:25:57 +10:00
Misite Bao ecdda0154f docs: translate and correct documents (#1525)
* feat(website): write english translations

* docs(website): delete unnecessary files

* feat(website): update term translations

* docs(website): add Chinese documents

* chore(crowdin): update crowdin config

* docs(filename): keep the new document filename consistent with the old filename style

* chore: add documentation issue template
2022-07-21 20:51:48 +10:00
dependabot[bot] b9a62b0224 Bump terser from 5.12.0 to 5.14.2 in /website (#1627)
Bumps [terser](https://github.com/terser/terser) from 5.12.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 07:49:09 +10:00
dependabot[bot] d945e02f62 Bump terser from 4.8.0 to 4.8.1 in /runtime/js (#1625)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 07:41:43 +10:00
Lea Anthony 9516a81e5d Update Crowdin configuration file 2022-07-20 23:41:57 +10:00
Lea Anthony c0800e362d Update Crowdin configuration file 2022-07-20 23:36:21 +10:00
Lea Anthony 73de035915 Update Crowdin configuration file 2022-07-20 23:27:05 +10:00
Lea Anthony c9a7d3f520 Fix container size (#1616) 2022-07-20 21:28:53 +10:00
Lea Anthony 29912785fa Add Show() and Hide() to runtime to show/hide application (#1599)
* Add Show() and Hide() to runtime to show/hide application

* Fix devserver

* Update API docs
2022-07-20 20:59:49 +10:00
Lea Anthony b21a92ecdb Install dev dependencies before starting dev mode (#1615) 2022-07-20 20:52:35 +10:00
stffabi 1f62b5773d [v2] Fix plain template (#1609)
* [template] Add missing main.go file to plain template

* [dev] If wails could not be find in go.mod output a gracefull error message
2022-07-20 08:45:48 +10:00
Lea Anthony 848eee5a7c v2.0.0-beta.39.2 2022-07-20 07:23:25 +10:00
Lea Anthony 461d0c4448 Add compatibility for Go1.17 (#1605) 2022-07-20 07:10:05 +10:00
Antonio 41126759cf Update example for macOS Menu (#1600)
* Update example for macOS compatibility

Reference https://github.com/wailsapp/wails/issues/1588

* Add comments, remove duplicates
2022-07-20 05:32:31 +10:00
Lea Anthony 072c56da0d Fix Varly link 2022-07-19 23:37:02 +10:00
Lea Anthony b6713d4ce0 Fix Varly link 2022-07-19 23:35:51 +10:00
Lea Anthony eea519224e Fix docs again! 2022-07-19 21:51:37 +10:00
Lea Anthony e9ae3e7655 Docs FTLOG 2022-07-19 21:38:31 +10:00
Lea Anthony 4f7c94e380 Fix docs for good 2022-07-19 21:33:05 +10:00
Lea Anthony 6effdf3fa8 fix docs again
(cherry picked from commit 0a9ae0dff3)
2022-07-19 21:07:48 +10:00
Lea Anthony f7976a5c85 v2.0.0-beta.39 2022-07-19 20:58:11 +10:00
Lea Anthony 1c1eb89a53 Update sponsors. Improve website for mobile. 2022-07-19 18:53:10 +10:00
Lea Anthony ab2a6f1d2d use secondary button 2022-07-19 07:56:25 +10:00
Lea Anthony 14a4a05fc5 Docs/better homepage (#1591)
* Better carousel width

* Learn more button

* Learn more button

* Fix button/width

* Update introduction

* Fix outline colour

* remove custom css

* remove default css
2022-07-19 07:38:23 +10:00
stffabi 1247c8aa28 [windows] Fix stack corruption when using ICoreWebView2HttpHeadersCollectionIterator (#1589)
The API expects a `BOOL *` with `typedef int BOOL` therefore
we need to use a `int32` on the stack.
2022-07-18 18:57:30 +10:00
Lea Anthony af1c530442 Remove usage of unsafe.Pointer in winc (#1556)
* Remove usage of unsafe.Pointer

* [windows] Remove MakeIntResource and add overloads for Load functions

* Fix `EnumProc` race condition.

* Refactor `EnumDisplayMonitors` to use `unsafe.Pointer` instead of `uintptr`

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-07-18 18:22:46 +10:00
Antonio 463f5b3cb7 Add troubleshooting for Not Found error (#1586)
Issues with Vite's optimizer
2022-07-18 18:20:14 +10:00
Lea Anthony f46e825d24 Add pre-build hooks. Print command output when verbosity flag set. (#1578)
* Add pre-build hooks. Print command output when verbosity flag set.

* Refactor build hooks
2022-07-17 22:08:55 +10:00
Lea Anthony 8e43206ae5 Add restic-browser to showcase 2022-07-17 20:04:28 +10:00
Lea Anthony ee988dfb9e Update runtime 2022-07-16 12:37:56 +10:00
skamensky 04d35410de Expose screen dimensions (#1519)
* get dimensions working for linux

* Cleaning up some GTK code

I was getting the following errors due to some bad casts.

Gdk-CRITICAL **: 18:58:51.943: gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed
Gdk-CRITICAL **: 18:58:51.943: gdk_display_get_monitor_at_window: assertion 'GDK_IS_DISPLAY (display)' failed

This commit fixes these errors

* Adding Screen namespace along with linux implementation

* moving ScreenGetAll into a more appropriate place

* Fixing typescript definition mistake, documentation, ordering of functions, and formatting

* add ScreenGetAll to more templates

* moving screen into its own javascript file

* fixing bug where screen objects are not returned from the runtime function

* rebuilding frontend wrapper package

* adding windows implementation of ScreenGetAll

* adding screen get all implementation for darwin

* reverting a change that is unrelated to the work on expose-dimensions

* removing duplicate comparison

* changing GetNthScreen in screen API on macos

To use frame instead of visibleframe to keep into account the space the the dock takes up
We want to include that space in the calculation in order to keep the sizes of screens consistent across platforms

* Correcting screen jsdoc

It used to say it returned a single screen object. Now it says that it returns an array of screen objects

* Fixing typo in function name

* reverting pointless spacing change

* reverting pointless spacing change

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: shmuel.kamensky <shmuel.kamensky@shutterfly.com>
2022-07-16 12:33:37 +10:00
Lea Anthony 6579cc3ce7 Fix all contributors section 2022-07-16 12:25:58 +10:00
Lea Anthony aea482c221 Fix all contributors section 2022-07-16 12:11:18 +10:00
Lea Anthony 29a059a20f Update all contributors section (#1575) 2022-07-16 12:07:36 +10:00
Lea Anthony a098d3a071 Update all contributors section 2022-07-16 10:29:53 +10:00
Lea Anthony c3f1f626f9 Fix badge 2022-07-16 10:22:38 +10:00
allcontributors[bot] 984dcda775 docs: add skamensky as a contributor for code, ideas, doc (#1574)
* docs: update README.md [skip ci]

* docs: create .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-07-16 10:20:42 +10:00
Lea Anthony 1121991e31 Add all contributors section 2022-07-16 10:18:28 +10:00
dependabot[bot] 60e4127b24 Bump svelte from 3.42.5 to 3.49.0 in /v2/internal/frontend/runtime (#1573)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.5 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.5...v3.49.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 03:58:15 +10:00
dependabot[bot] db7f24ff93 Bump svelte from 3.42.2 to 3.49.0 in /v2/internal/frontend/runtime/dev (#1572)
Bumps [svelte](https://github.com/sveltejs/svelte) from 3.42.2 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.2...v3.49.0)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 03:58:05 +10:00
Lea Anthony 743d7cc4dd Add stargazers 2022-07-15 17:19:01 +10:00
Lea Anthony dedd2864f0 Update sponsors 2022-07-14 22:49:36 +10:00
Lea Anthony 12e6445a30 Fix loglevel for wails build -debug 2022-07-14 22:40:27 +10:00
Lea Anthony 931913a1d3 Update mouse-buttons.mdx 2022-07-14 22:27:48 +10:00
Lea Anthony 5987f17cca Check for line length when scanning for local devserver url (#1566) 2022-07-14 22:22:26 +10:00
Lea Anthony f068c33dcf Add support for production log levels (#1555) 2022-07-14 21:45:13 +10:00
Lea Anthony 77db50a76a Add mouse buttons guide 2022-07-14 21:35:21 +10:00
Lea Anthony 3ecd72d6c9 Add navigation from index.html troubleshooting guide 2022-07-14 21:13:02 +10:00
Lea Anthony 69016c6c6f Fix OnBeforeClose code for Mac (#1558)
* Fix OnBeforeClose code for Mac

* Fix OnBeforeClose for linux
2022-07-14 21:04:45 +10:00
Ian M. Jones 82cc5498f1 Add nixpkgs support to doctor command. (#1551)
* Dependancy => Dependency typo fix.

* Add Nixpkgs support to doctor command.

* Add mention of nixpkgs to linux distro support doc.
2022-07-13 07:29:41 +10:00
Lea Anthony 51a7630cd7 Fix dynamic asset image 2022-07-12 21:45:37 +10:00
Lea Anthony 1dec40db33 Feature/auto devserver port (#1547)
* Support "auto" devserverurl
2022-07-12 21:41:41 +10:00
Lea Anthony d1ae16ad3c Add guide on dynamic assets 2022-07-12 21:38:18 +10:00
Ian M. Jones 095ef5ab64 Fix checking for installed apt package in none English session. (#1548) 2022-07-12 07:07:01 +10:00
Lea Anthony 1cbc34eff8 Fixes #1546 2022-07-11 20:56:05 +10:00
Lea Anthony c82683babf Update tutorial 2022-07-11 20:50:19 +10:00
Lea Anthony d4662bd797 Support Maps in TS conversion (#1435) 2022-07-10 20:54:49 +10:00
Lea Anthony 55ec688331 Add helloworld tutorial 2022-07-10 15:07:42 +10:00
Lea Anthony 7a63464997 Update vscode template (#1398) 2022-07-08 20:33:49 +10:00
Lea Anthony bf2d83d939 Change: Order of generated bindings now consistent
Closes #1531
2022-07-08 20:18:31 +10:00
Lea Anthony 1cd31573a9 change: improve cli output for wails update
closes #1528
2022-07-08 19:53:13 +10:00
Lea Anthony 39cebffa87 Fix: use correct json value for buildtype 2022-07-08 10:58:38 +10:00
Ian M. Jones f4b4e4cdb8 Allow -appargs flag to pass flags to binary. (#1534) 2022-07-06 19:25:28 +10:00
Lea Anthony 73f5cc3b92 Update issue template with links 2022-07-05 08:50:05 +10:00
Lea Anthony c48ad9be67 doc: white screen fix for Mac. Closes #1508 2022-07-05 08:44:26 +10:00
Lea Anthony 4726b72708 feature: Add -windowsconsole flag 2022-07-04 22:52:50 +10:00
Lea Anthony 4c312b155d [docs] Update -debug flag 2022-07-04 22:33:03 +10:00
Lea Anthony cd35536a79 [linux] Fix SetBackgroundColour 2022-07-04 22:29:51 +10:00
Lea Anthony 91d6c23c71 Updated contribution guide 2022-07-03 15:37:21 +10:00
Lea Anthony 59f84b8905 Development -> Contributing 2022-07-03 14:52:37 +10:00
Lea Anthony a1a06a6198 Initial development guides 2022-07-03 12:06:35 +10:00
Lea Anthony 5292721517 Update Sponsors 2022-07-03 10:19:15 +10:00
stffabi 41d1bf3d10 [v2] Improvements to the dev command (#1510)
* [v2, darwin] Fix nullreference exception when dev watcher failed to start and the user stopped wails dev with ctrl-c

* [v2] Improve starting of dev watcher command

Wails dev now also fails if the dev watcher could not be started. Since
the dev watcher is used to start e.g. vite to serve the frontend, it does
not make much sense to let Wails dev be running if the dev
watcher failed to start.

* [v2] Improve killing and cleanup of debug binary

- Make sure to kill the debug process in all cases even if an error occured.
- Make sure to kill the last started binary process
2022-06-30 20:13:06 +10:00
Lea Anthony 3e42d2da05 Rename WindowSetRGBA -> WindowSetBackgroundColour (#1506)
* Rename WindowSetRGBA -> WindowSetBackgroundColour

* Fix Typos
2022-06-29 22:31:49 +10:00
Lea Anthony 7141c972fd Move WindowGet* to main thread (#1464) 2022-06-29 20:07:16 +10:00
Lea Anthony 7cc3652a39 Updated docs. Closes #1501 2022-06-29 08:08:12 +10:00
Lea Anthony 95082336cd changelog + doc fix 2022-06-27 21:09:07 +10:00
NYSSEN Michaël b2cec41fbf Fix lit-ts template (#1494)
* Fix lit-ts template

* Fixing generate Template

* Remove bad null check

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-06-27 20:56:18 +10:00
Lea Anthony 66f79c2e51 v2.0.0-beta.38 + release script 2022-06-27 20:41:09 +10:00
Lea Anthony f8e6fa4bf3 Regenerate templates 2022-06-27 18:09:25 +10:00
Tom d9888ce6af Chore/react 18 create root (#1489)
* chore: use createRoot for react-ts

* chore: use createRoot for react-js

* fix: quotes

* fix: remove semi

* chore: update react templates to use createRoot instead of ReactDOM.render

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-06-27 18:00:04 +10:00
Lea Anthony 0531645377 Better signal handling (#1488)
* Better signal handling

* Remove waitgroup
2022-06-25 09:26:17 +10:00
Sidharth Rathi c22f59adb9 Update templates.mdx (#1492)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-06-25 09:21:02 +10:00
Nan0 2065600096 Feature: set browser path (#1448)
* Added option to specify webview2 path

* Added `manual` webview strategy

* Update documentation

* Fixed build with manual tag

* Check for browser directory existence

* Added version check for manually specified webview, removed fallback for installed webview in manual strategy

* Update WebviewBrowserPath documentation

* Replaced deprecated StringToUTF16Ptr

* Return on error

* Removed manual strategy, return error in wv2installer for fixed runtime

* Removed manual strategy from CLI
2022-06-25 07:49:00 +10:00
stffabi c61ce1e2de [v2, windows] Make SetBackgroundColour compatible for windows/386 (#1493)
* [v2, windows] Remove duplicate SetBackgroundColour

* [v2, windows] Make SetBackgroundColour compatible for windows/386
2022-06-25 06:46:23 +10:00
Lea Anthony 16581ceff9 Regenerate templates to use BackgroundColour 2022-06-23 20:30:18 +10:00
Lea Anthony beb909fc0f Update README.md 2022-06-22 21:51:21 +10:00
Lea Anthony 5cddf8864e Add roadmap to docs 2022-06-22 21:39:40 +10:00
Lea Anthony e504d1124a Fix AlwaysOnTop code for Mac 2022-06-22 21:36:57 +10:00
dependabot[bot] 91afa396ba Bump shell-quote from 1.7.2 to 1.7.3 in /v2/internal/frontend/runtime (#1485)
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases)
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md)
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 20:56:16 +10:00
dependabot[bot] 08eee061ab Bump shell-quote in /v2/internal/frontend/runtime/dev (#1486)
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases)
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md)
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 20:56:01 +10:00
chenxiao 072929689c feature: add runtime func WindowSetAlwaysOnTop (#1442)
* feature: add runtime func WindowSetAlwaysOnTop

* add runtime WindowSetUnalwaysOnTop

* add  JavaScript runtime method  ,  docs update

* WindowSetAlwaysOnTop(b bool)

* Add AlwaysOnTop for MacOS

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-06-22 20:55:02 +10:00
stffabi 72d019cb48 [v2, windows] Pass the correct installationStatus to the webview installation strategy (#1483)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-06-22 20:50:45 +10:00
Lea Anthony 91ed594049 Update feature request template 2022-06-22 20:46:00 +10:00
stffabi 4493a05fb9 [v2] AssetsHandler remove retry logic in dev mode (#1479) 2022-06-22 20:06:20 +10:00
Lea Anthony f8eac34212 Bugfix: Don't stop if unable to remove temporary bindings build (#1465) 2022-06-22 08:40:30 +10:00
Lea Anthony 1687906376 Improve theme change at runtime (#1473)
* Improve theme change at runtime

* Handle change to dark mode

* Refactor theme calculation

* Ensure theme is updated for WM_ACTIVATE and WM_SETTINGCHANGE events
2022-06-22 08:34:41 +10:00
Lea Anthony 381909696b [Windows] Add Suspend/Resume callback support (#1474)
* Add Suspend/Resume callback support

* Fix comment
2022-06-22 06:37:18 +10:00
Lea Anthony c477100374 Add BackgroundColour and deprecate RGBA (#1475) 2022-06-21 19:47:05 +10:00
Lea Anthony cb169611b1 Set Window Background colour if provided + debounce redraw option (#1466)
* Set Window Background colour if provided. Added debounce option for Webview2 redraw on resize

* [windows] Workaround resize flickering in frameless mode

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-06-20 17:47:13 +10:00
Lea Anthony 4dd1be5252 Update sponsors 2022-06-19 13:38:25 +10:00
Lea Anthony a7f1ea21ef Bugfix: Better support for showing window 2022-06-19 13:32:48 +10:00
Lea Anthony e4f2bfe699 Bugfix: Windows start maximised
Fixes #1462
2022-06-18 16:21:32 +10:00
Lea Anthony 9bd765d2c8 Update README.md 2022-06-18 15:33:34 +10:00
Lea Anthony d77c556c4e Update Sponsors 2022-06-18 15:31:29 +10:00
Abtin 9a01c757bd Fix apt command syntax (#1458) (#1461) 2022-06-18 09:26:22 +10:00
Andreas Wenk 41051e8848 fix the url to surge (#1460)
fix the url to surge in the docs
2022-06-18 09:24:19 +10:00
stffabi 884773a218 [v2, windows] Fix WebView2 minimum runtime version check (#1456)
* [v2, windows] CompareBrowserVersions needs a int32 pointer

Otherwise 4294967295 will be returned instead of -1 and the
minimum version check can't detect an older version.
So an older version than the minimum might be used and will
result in AccessViolationExceptions.

* [v2, windows] Use the correct minimum runtime version for SDK 1.0.992.28

The Webview2Loader.dll are already at version 1.0.992.28 for all platforms.
2022-06-16 18:43:19 +10:00
Luken 1e54eb2eaf Fix small typo in docs (#1449) 2022-06-13 08:53:49 +10:00
Lea Anthony cb4ba5bca6 Add Typescript troubleshooting guide 2022-06-12 14:57:45 +10:00
stffabi 664f6a952c [v2, windows] Unlock OSThread after native calls have been finished (#1441)
* [v2, windows] Remove unnecessary LockOSThread

Form.Invoke makes sure the call is on the correct thread and does
lock the OSThread during the call.

* [v2, windows] Unlock OSThread after native calls have been finished

This makes sure the OSThread can be reused by other go
routines after a native call has been finished. Otherwise the
OSThread will be destroyed as soon as the goroutine has
finished.
2022-06-08 20:56:07 +10:00
Lea Anthony fe341741b5 Always use return in wrapped method (#1410) 2022-06-06 00:41:44 -10:00
Marcus Crane cd162918d4 Add showcase entry for October + update homepage carousel entry for October (#1436)
* Add showcase entry for October

* Update home carousel image for October
2022-06-02 01:59:33 -10:00
Lea Anthony 6a07cbd505 Move go-common-file-dialog into project. Fix Title bug. 2022-06-01 21:00:52 +10:00
stffabi 614f50d5d3 [v2, windows] Load WebView2 loader from embedded only (#1432) 2022-05-31 10:00:02 -10:00
Jae-Sung Lee f292e221f1 Create gitignore when using g option (#1430)
* Create gitignore when using g option
2022-05-31 20:29:20 +10:00
stffabi 2a0673f99f [v2, linux] Improve switching to main thread for callbacks (#1392)
Make sure no pointers to the stack are passed to g_idle_add,
because at the time the callback gets executed on the
main thread, the pointer might be invalid.
Go might have reused the stack or grown the stack and the
pointer is invalid.

The concept used on Windows has been ported to Linux.
2022-05-31 20:28:37 +10:00
Zámbó, Levente 794a8ce19f feature - support linux/arm (#1427) 2022-05-27 19:09:50 -10:00
Zámbó, Levente f6425a64a6 feature - add race detector to build & dev (#1426) 2022-05-27 19:07:39 -10:00
Lea Anthony b49dce8676 Update Changelog 2022-05-26 17:52:25 -10:00
Lea Anthony 6a88568f0a v2.0.0-beta.37 2022-05-26 17:45:57 -10:00
Edward Browncross a10a9e5b36 Add missing className to input in React and Preact templates (#1419)
* add missing className to input in react and preact templates

* add missing className to input in react and preact assets
2022-05-26 02:56:37 +10:00
刀刀 e7f9e2f267 docs: add macos custom menu EditMenu tips (#1423)
* docs: add macos custom menu EditMenu tips

On macos platform, if custom the menu, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
2022-05-25 08:49:04 +02:00
yuzu 316a24f6da update runtime.d.ts & templates (#1421) 2022-05-24 21:20:53 +02:00
stffabi c874e30339 Merge pull request #1413 from mondy/feature/nogen-flag 2022-05-23 10:40:46 +02:00
mondy 043d83e39e Add nogen flag in cli document. 2022-05-23 09:08:35 +09:00
Blake Bourque 7e64038265 Add blurb on wails generate module (#1414)
For users who wish to keep the wailsjs directory out of source control, the `wails generate module` command is valuable in a CI environment where wails build does not automatically generate the needed javascript module.
2022-05-23 08:43:18 +10:00
mondy d4ecaad0e1 Add nogen flag in wails dev command 2022-05-21 14:22:18 +09:00
Lea Anthony 953bc09343 Merge pull request #1400 from wailsapp/feature/native-translucency
Initial support for new native translucency in Windows Preview
2022-05-18 18:52:45 +10:00
Lea Anthony 935f6871ab Merge pull request #1406 from rayshoo/master
fix typo bindings.js to ipc.js
2022-05-18 17:38:17 +10:00
rayshoo 0d793124fd fix typo bindings.js to ipc.js 2022-05-18 15:58:33 +09:00
stffabi c97e1c50af [v2, linux] Make sure to execute the menu callbacks on a new goroutine (#1403)
* Make sure to execute the menu callbacks on a new goroutine
* Fix assertion message when opening file dialogs by passing the correct parent window
2022-05-17 20:45:48 +10:00
Lea Anthony 35b1dfdd2a Merge pull request #1394 from LGiki/add-template-nextjs
Add Next.js template
2022-05-13 20:57:32 +10:00
LGiki e705c20de9 Add Next.js template 2022-05-13 14:33:07 +08:00
stffabi ae25b38f9e Merge pull request #1393 from LGiki/fix-typo-in-docs 2022-05-12 12:52:15 +02:00
LGiki ec2202765c fix: typo in docs 2022-05-12 09:50:16 +08:00
Lea Anthony e0e55e6e76 Better website spacing 2022-05-11 20:18:53 +10:00
Lea Anthony 4d5f31ab84 Merge pull request #1391 from wailsapp/bugfix/typo
bugfix: correct typo
2022-05-11 13:09:23 +10:00
Travis McLane b84fd76e86 bugfix: correct typo 2022-05-10 21:56:19 -05:00
Lea Anthony 55115742c1 fix: TS conversion of interface{} 2022-05-11 08:21:17 +10:00
Lea Anthony f2f8ed2e99 Merge pull request #1390 from lambdajack/v2-events-fix
[v2] Events | fixes #1388
2022-05-10 21:06:53 +10:00
Jack Bizzell d59bec171e Changing all occurrences of calls to OnMultiple() inside EventsOn() and EventsOnce() in the frontend definitions, to calls to EventsOnMultiple()
OnMultiple is undefined
2022-05-09 20:42:40 +01:00
Lea Anthony bff0ece017 Merge pull request #1387 from Junkher/patch-1
Update events.mdx
2022-05-08 04:16:48 +10:00
Junker 7c0d1019f2 Update events.mdx
A little mistake in the arguments of Js EventEmit
2022-05-07 23:12:01 +08:00
Lea Anthony a3de4577dd Update tagline 2022-05-07 12:05:30 +10:00
Lea Anthony 4986f9cea5 Fix docs formatting (#1372)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-05-07 10:36:39 +10:00
Lea Anthony 0f2fc1ab7a Merge branch 'master' into patch-1 2022-05-07 10:36:02 +10:00
stffabi 5f612301f9 [v2] During wails dev only use reload logic if no AssetsHandler are in use (#1385)
This slows down every GET request to the AssetsHandler taking 5s
2022-05-07 09:11:07 +10:00
Lea Anthony 84b6273baf Bugfix/incorrect bindings (#1383)
* Print struct path

* Better handling of anon structs
2022-05-05 23:07:33 +10:00
Lea Anthony 9c8a3a62da Update sponsors 2022-05-05 20:53:35 +10:00
Lea Anthony 6224d3aa82 Re-add plain template, Improve stalebot. 2022-05-05 06:53:39 +10:00
stffabi 2d66d2146a [v2] Improve multi platform builds (#1373)
- Make sure to reset the default Arch of the build options and not keep the previous one.
- Expand to the full platform in outputBinaries so e.g. `-platform windows` can be used with `-nsis`
2022-05-04 07:27:13 +10:00
Arpit Jain e5cc18cfc5 Fix docs formatting 2022-05-03 23:21:23 +05:30
Aleksey Polyakov 531d7cfb62 replace OnMultiple with EventsOnMultiple (#1369) 2022-05-02 22:10:33 +10:00
Lea Anthony 9c7ef2d47c v2.0.0-beta.36 2022-05-01 11:10:05 +10:00
Lea Anthony 490388ae8f Another vue fix 2022-05-01 10:47:09 +10:00
Lea Anthony fac2a8ba3c Closes #1357 #1366 2022-05-01 10:41:07 +10:00
Lea Anthony 912d7cf34b Add startup method to templates by default 2022-05-01 10:19:15 +10:00
Lea Anthony 848ea88207 Update stale.yml 2022-05-01 09:47:43 +10:00
stffabi 22d3f93b52 [v2, darwin] Initialize native variables on stack to prevent segfault (#1362) 2022-04-30 06:11:19 +10:00
stffabi d9120181b7 [v2] Validate devServer property to be of the correct form (#1359) 2022-04-29 07:22:45 +10:00
Lea Anthony 0a9ae0dff3 fix docs again 2022-04-27 22:29:25 +10:00
Lea Anthony 3dbe2a0942 Fix docs 2022-04-27 22:13:12 +10:00
Lea Anthony ac81d5aa3d v2.0.0-beta.35 2022-04-27 22:01:32 +10:00
Lea Anthony 2e1f758f20 v2.0.0-beta.35 2022-04-27 21:47:11 +10:00
Lea Anthony 41f9c07c88 Fixes #1343 2022-04-27 21:29:54 +10:00
Lea Anthony a8357a2459 Update templates 2022-04-27 20:53:59 +10:00
Lea Anthony bd344bf32c Update runtime.d.ts + regenerate templates 2022-04-27 20:53:24 +10:00
Lea Anthony ded28cf9c2 Remove redundant dev .js files 2022-04-27 19:26:42 +10:00
Lea Anthony e7aa74905a Initial commit (#1352) 2022-04-27 19:10:20 +10:00
Lea Anthony 781a0df72e Fix for TS/JS generation on methods with no returns (#1356) 2022-04-27 19:09:55 +10:00
Lontten 8aaa0e0d9d add a template docs : zh-Hans (#1354)
add a template with Vite + React + TypeScript
基于 Vite + React + TypeScript 的模板
2022-04-27 07:11:49 +10:00
Lontten ef8dc44317 add a template with Vite + React + TypeScript (#1353)
a template with Vite + React + TypeScript
2022-04-26 21:00:26 +10:00
stffabi 524411964f [v2] WindowReloadApp should use the startURL of the frontend to support reloading when a frontend dev server is used (#1347) 2022-04-23 07:09:53 +10:00
Lea Anthony 75ee36f8eb Update docs regarding TitlebarAppearsTransparent 2022-04-21 08:30:15 +10:00
Lea Anthony 7f3f56663f Fix: wails dev 2022-04-21 07:40:56 +10:00
Lea Anthony f6257d3d31 Add Environment and WindowReloadApp calls to runtime. Updated default templates. 2022-04-20 20:28:41 +10:00
Lea Anthony 2e3c90c096 Update runtime.d.ts documentation. Regenerate templates 2022-04-19 21:48:26 +10:00
Lea Anthony 4e9eda8e1f Fix bug in WindowSet*Theme 2022-04-19 17:44:40 +10:00
Lea Anthony 02fcf738d3 Update runtime wrapper. Update base templates. 2022-04-19 17:43:55 +10:00
Lea Anthony 053f2748d5 Use Algolia Search (#1339) 2022-04-18 09:41:56 +10:00
Lea Anthony ad6a7d5a8c Fix: Outputfilename in flags now works as it should 2022-04-17 06:59:39 +10:00
Benjamin Thomas 93defccf4d Add Elm template :) (#1336) 2022-04-16 21:50:41 +10:00
dependabot[bot] 5ffc815d34 Bump async from 2.6.3 to 2.6.4 in /website (#1335)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 14:01:57 +10:00
Lea Anthony 4e03c84fbb Feature/default templates (#1334) 2022-04-15 20:30:10 +10:00
Lea Anthony 7fbae0d333 Fix: event data processing (#1326) 2022-04-15 20:26:13 +10:00
Lea Anthony 82806d47b3 Move experimental tag 2022-04-13 07:50:23 +10:00
stffabi cb2de2ad30 [v2, docs] Add experimental badge for assets handler and fix type definitions (#1328) 2022-04-12 22:35:09 +10:00
stffabi 6d09a45a30 [v2] Add support for AssetsHandler (#1325)
* [website] Fix devserver default value doc

* [v2] Add support for AssetsHandler

AssetsHandler is a http.Handler delegate, which gets called
as a fallback for all Non-GET requests and for GET requests
for which the Assets didn’t find the file.

Known Limitations on Linux:
- All requests are GET requests
- No request headers
- No request body
- No response status code, only StatusOK will be returned
- No response headers

Known Limitations on Windows:
-  Request body is leaking memory. Seems to be a bug in
    WebView2, investigation angoing.

Most of these limitations on Linux will be fixed in the future with
adding support for Webkit2Gtk 2.36.0+.

* [v2, linux] Add response streaming support

The complete response won’t be held anymore in memory and will
be streamed to WebKit2.

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-04-12 20:18:27 +10:00
Lea Anthony 3fbe4f71c4 Ensure there's a default wailsJS dir 2022-04-12 20:13:05 +10:00
Lea Anthony 56206729ef Update sponsors 2022-04-12 06:15:56 +10:00
stffabi c70d93b482 Suppress resizing during minimize of a frameless window (#1322)
If the window is frameless and we are minimizing, then we need to suppress
the Resize on the WebView2. If we don't do this, restoring does not work as
expected and first restores with some wrong size during the restore animation
and only fully renders when the animation is done.
This highly depends on the content in the WebView.
Possible fix for #1319
2022-04-10 18:45:09 +10:00
Lea Anthony 5f596c7679 Update go.mod 2022-04-10 09:41:44 +10:00
Lea Anthony ebf4cf13f2 Feature: Add menu helpers 2022-04-09 20:36:48 +10:00
Lea Anthony f08176079c Feature: Support double click in drag areas 2022-04-09 10:27:54 +10:00
归位 65a97a668e If the element adds the data-rails-drag attribute, it can trigger the dbclick event. (#1317)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-04-09 10:18:01 +10:00
Lea Anthony 0c244b1ce4 Fix: broken links 2022-04-09 10:11:35 +10:00
Lea Anthony 3b85c75359 Update application-development.mdx 2022-04-09 07:21:08 +10:00
Florent c3a98b058e ensure webkit/gtk callbacks run on main thread (#1320)
prevent close event being propagated when handled in app
closes #1268
closes #1288
2022-04-08 06:42:17 +10:00
Lea Anthony b94db409dd Fixes #1315 2022-04-06 21:53:40 +10:00
Lea Anthony 43f8a1f773 fix: blank namespaces, unknown structs 2022-04-06 19:13:10 +10:00
Lea Anthony dce5fd442f fix: i18n messages/bug + docs bug. 2022-04-05 21:41:49 +10:00
Lea Anthony f21c9ba880 docs: update binding sections 2022-04-05 21:30:55 +10:00
Lea Anthony 55855ccc4d fix: duplicate model generation 2022-04-05 21:30:55 +10:00
Lea Anthony eb97f53124 Feature: Don't generate models.ts if there are no models. 2022-04-05 21:30:55 +10:00
Misitebao f192cbd01b feat(website): convert documents that don't require version management to individual pages (#1311) 2022-04-05 19:46:07 +10:00
Lea Anthony 625eca27f6 Feature: TS namespaces 2022-04-05 18:11:56 +10:00
Misitebao a65a40fb4c chore: upgrade issue template (#1312) 2022-04-05 08:49:11 +10:00
Lea Anthony 2465538448 Fix: TS namespace inference 2022-04-05 08:26:54 +10:00
Lea Anthony bb2da2f810 Chore: remove debug output 2022-04-04 21:19:36 +10:00
Lea Anthony 6b38f0c68e Improved TS Generation (#1310)
Improve TS Generation
2022-04-04 21:01:00 +10:00
Lea Anthony 95b70de01f chore: add build tags to win32 package 2022-04-04 20:55:25 +10:00
Misitebao 78c6705cc3 feat(website): improve website content (#1309)
Update Chinese translation
2022-04-04 20:05:54 +10:00
Lea Anthony 8bb3af2282 Refactor TS imports 2022-04-04 07:19:39 +10:00
Ariel 2c8d94ca48 Add missing method declaration (#1308)
* Add missing method declaration

* Add eventsoff to the wrapper
2022-04-03 22:01:31 +10:00
Ariel d5a8ee0132 Do not duplicate imports (#1307)
* Do not duplicate imports

* Fix warning as first element
2022-04-03 20:17:20 +10:00
Lea Anthony 55cec7af17 Fix: Handle struct pointers in new TS generation 2022-04-03 17:58:53 +10:00
Lea Anthony 90fc96b494 Translations docs 2022-04-03 17:47:56 +10:00
Lea Anthony 8e8b88ef48 Translations refactor 2022-04-03 17:22:37 +10:00
Lea Anthony 4a20655b29 Translations + Tidy Up 2022-04-03 17:18:36 +10:00
Lea Anthony 4721949657 Improved bindings generation 2022-04-03 07:31:07 +10:00
Florent d119fce3c3 remove duplicate mimetype entries (#1304) 2022-04-01 20:35:53 +11:00
Lea Anthony f6cdafa5ff Bugfix: generate correct model reference in bindings.d.ts 2022-04-01 13:08:56 +11:00
Lea Anthony 7af39e4819 Feature: Go logger "f" equivalents 2022-04-01 12:27:40 +11:00
Lea Anthony 073f8202e5 Fix windows/frontend compile error 2022-04-01 09:59:33 +11:00
Florent 8f860c9ea6 [Feature #1300] mime check for bom and comments (#1302)
* check for BOM and SVG comments
2022-04-01 08:39:54 +11:00
Lea Anthony f734d26adb Use wailsapp/mimetype module 2022-04-01 08:21:57 +11:00
Sebastian Bauer 7dd3f96915 [Feature/1149] Dark mode: functions for manually switching theme (#1291)
* [Feature/1149] Dark mode: functions for manually switching theme
2022-04-01 08:21:37 +11:00
Travis McLane 584f88f727 cleanup Version (#1303) 2022-03-31 17:59:23 +11:00
Lea Anthony 2376062008 Update NSIS guide. Backport docs to .34. Fix references. Fix titles. 2022-03-31 12:23:28 +11:00
Lea Anthony 5ead563989 Update NSIS guide 2022-03-31 11:24:35 +11:00
Lea Anthony f55f965b3d Update NSIS guide 2022-03-31 10:11:44 +11:00
gardc a22383df07 added docs for signing and NSIS (#1301) 2022-03-31 08:10:34 +11:00
stffabi 65fb42d9e7 [v2] Add support for external frontend dev servers (#1290)
* [v2] Consolidate AssetServers

* [v2] Support starturl for webview on linux and darwin

* [v2] Add support for frontend DevServer

* [v2] Activate frontend DevServer in svelte template

* [website] Add bleeding edge guide for PRs

* DoNotMerge: Bump Version for testing

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-31 00:40:44 +11:00
Lea Anthony 4cedfdc091 Docs versioning (#1299)
* Add beta.34 version

* Fix up document links
2022-03-30 23:21:33 +11:00
Misitebao 085d59612b refactor(website): upgrade site to docusaurus@2.0.0-beta.17 (#1223)
* refactor(website): Upgrade site to `docusaurus@2.0.0-beta.17`
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-30 21:49:19 +11:00
bearsh d8bcf7ac70 v2: linux: add icon to linux specific app option and load it during w… (#1272)
* v2: linux: add icon to linux specific app option and load it during window creation

Signed-off-by: Martin Gysel <me@bearsh.org>

* doc: linux specific option: icon
2022-03-30 18:15:58 +11:00
Florent ec31d49b59 prevent close event being propagated when handled in app (#1297)
closes #1288
2022-03-30 18:13:01 +11:00
Lea Anthony 6883337a18 Update headers code 2022-03-29 22:17:41 +11:00
Lea Anthony 3b81986bdd Fix wails doctor 1.18 2022-03-29 22:13:33 +11:00
Lea Anthony ec59eff352 Update go-webview. Fix wails doctor 2022-03-29 22:05:56 +11:00
Lea Anthony b6de689400 Update go-webview 2022-03-29 21:55:34 +11:00
Lea Anthony 1da68cfc7c Remove unused directories + tidy up 2022-03-29 21:47:26 +11:00
Lea Anthony a5bf76b30f Fix up dev. Pull in go-webview and winc 2022-03-29 21:45:16 +11:00
dependabot[bot] c78ee7e49b Bump minimist from 1.2.5 to 1.2.6 in /website (#1287)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-29 21:41:22 +11:00
dependabot[bot] 7749980040 Bump ansi-regex from 4.1.0 to 4.1.1 in /runtime/js (#1286)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 21:41:04 +11:00
dependabot[bot] 222deff03c Bump minimist from 1.2.5 to 1.2.6 in /v2/internal/runtime/js (#1284)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 21:40:26 +11:00
dependabot[bot] 6a3e73de3f Bump node-forge from 1.2.1 to 1.3.0 in /website (#1282)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-29 21:39:38 +11:00
dependabot[bot] 498fa51605 Bump minimist from 1.2.5 to 1.2.6 in /runtime/js (#1280)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 21:39:12 +11:00
dependabot[bot] 92df5fabba Bump ajv from 6.12.0 to 6.12.6 in /v2/internal/runtime/js (#1194)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.0...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-29 21:38:48 +11:00
dependabot[bot] 983306c13d Bump prismjs from 1.26.0 to 1.27.0 in /website (#1191)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-29 21:38:12 +11:00
dependabot[bot] e403ad8063 Bump follow-redirects from 1.14.7 to 1.14.8 in /website (#1151)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-29 21:37:45 +11:00
stffabi 1f7b7f5e6c [v2] Wails doctor add information about wails (#1294)
Also outputs VCS information if Go 1.18+ has been used
to build wails.
2022-03-29 20:10:33 +11:00
Lea Anthony 48254b73e5 [Feature/1149] Dark mode (#1281)
* Add Windows version helper

* Initial theme support

* Support custom themes

* Update docs

* Honour HighContrast theme. Remove import "C". Refactor

* Small refactor

* Support inactive theme

* Update Docs
2022-03-27 22:57:45 +11:00
Lea Anthony 2e21f25182 Fix S 2022-03-27 20:47:57 +11:00
Lea Anthony 1f96484e8c Update features 2022-03-27 20:47:27 +11:00
Lea Anthony ccbfafd576 Remove v1 Install instructions 2022-03-27 20:41:25 +11:00
Lea Anthony 0053641796 Update Sponsors 2022-03-27 19:51:14 +11:00
Lea Anthony 55f2a24a94 [Mac] Close window immediately on quit 2022-03-26 19:48:34 +11:00
Lea Anthony 2d2ee95c8a v2.0.0-beta.34 2022-03-26 19:00:20 +11:00
Lea Anthony 47bf92850c Update bleeding-edge.mdx 2022-03-25 21:02:56 +11:00
Lea Anthony f98571fae5 Update bleeding-edge.mdx 2022-03-25 21:02:36 +11:00
Lea Anthony e314c41337 Update WindowStartState for Linux 2022-03-19 11:26:14 +11:00
Lea Anthony 2c65415268 More info in the project template READMEs 2022-03-19 11:02:22 +11:00
Lea Anthony b002830897 Clarify supported platforms 2022-03-17 21:14:07 +11:00
Lea Anthony fcf52abec8 Fix CGO_LDFLAGS 2022-03-16 21:44:34 +11:00
Lea Anthony 8e3cb27bfe #1265 Support CGO_LDFLAGS 2022-03-16 21:40:58 +11:00
Lea Anthony 78212603bc #1265 Support debug IDE config 2022-03-16 21:13:56 +11:00
Lea Anthony 1996e8b2ba Fix compile issue 2022-03-16 08:41:34 +11:00
Lea Anthony d7395fc56a Check system for user installed Linux dependencies (#1180)
* [linux] Fix discovery of other deps

* Update v2/internal/system/system_linux.go

Co-authored-by: stffabi <stffabi@users.noreply.github.com>

* Try setting locale before running apt

* Use LC_ALL

* Remove continue

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-03-15 20:25:23 +11:00
Lea Anthony a278c9e164 Try to focus window when Show() is called. (#1212)
* Try to focus window when Show() is called.

* Ensure Focus is regained by Webview2 when tabbing

* Run restore code on main thread
2022-03-15 20:16:38 +11:00
Lea Anthony 60c6dce07d Ensure Focus is regained by Webview2 when tabbing (#1257) 2022-03-15 20:15:21 +11:00
Misitebao 3972093ede docs: sync documents (#1260) 2022-03-15 20:13:32 +11:00
Stefanos Papadakis e78557ec24 Windows switch scheme: https -> http (#1255) 2022-03-15 05:58:43 +11:00
stffabi ea4d479be3 [v2] Use os.Args[0] for self starting wails (#1258)
This removes the dependency of wails being in the PATH
2022-03-15 05:55:13 +11:00
Lea Anthony 15e5eb67f9 Output error message in runCommand 2022-03-14 22:53:46 +11:00
Lea Anthony 8aea6a3bfc Update domReady comment in templates + website 2022-03-14 22:48:32 +11:00
Lea Anthony 9c5600d8f3 Ensure default icon is generated regardless of icon.ico availability 2022-03-14 22:35:21 +11:00
Lea Anthony 97b24a51a1 Show extension by default (#1228) 2022-03-14 22:05:33 +11:00
Lea Anthony 106ff03f2e Add reference to community templates 2022-03-14 20:54:11 +11:00
Florent d9e5cce2b2 add support for 'DomReady' callback on linux (#1249)
* add support for 'DomReady' callback on linux
cosmetic: use bodyLen instead of len() in processRequest()

* reformat webViewLoadChanged() for consistency

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-14 18:42:38 +11:00
Lea Anthony daad8437c2 Update troubleshooting guide 2022-03-13 20:36:40 +11:00
Lea Anthony 8037eab895 Ignore .git dirs in dev 2022-03-13 10:19:25 +11:00
Lea Anthony 09756b5150 Initial commit 2022-03-13 10:15:57 +11:00
BillBuilt a52d68438b Fix, or at least a workaround, for (#1232) (#1247) 2022-03-12 17:30:25 +11:00
fengweiqiang f4d1d02ded Build added win32 compatibility (#1238) 2022-03-12 17:29:25 +11:00
Lea Anthony 3d12935e2e Fix memory leak in ExecJS for Mac (#1230) 2022-03-11 23:43:51 +11:00
Ian M. Jones 64480ff1ab Ensure Linux IsFullScreen uses GDK_WINDOW_STATE_FULLSCREEN bitmask appropriately. (#1245) 2022-03-11 15:41:28 +11:00
stffabi abe8ba9266 [v2, windows] Fix maximised start state (#1243) 2022-03-11 06:26:59 +11:00
Lea Anthony 1048782eb4 Initial commit (#1241) 2022-03-10 21:20:41 +11:00
Florent 622c4adad6 ensure binary resources can be served (#1240)
* ensure binary resources can be served
fixes #1235

* use free instead of g_free
check that C.malloc does not fail before using C.memcpy
2022-03-10 21:17:24 +11:00
Lea Anthony ae6da05e9d Feature/1175 default index page (#1229)
* Initial commit

* Retry index.html every 500ms for 5s before defaulting to the default index page.

* Load all files using the same technique

* Remove reload script
2022-03-09 23:49:27 +11:00
Lea Anthony ba0b173e02 Use local search (#1234) 2022-03-09 22:30:24 +11:00
Ariel 9097c9086b import models on binding definition (#1231) 2022-03-09 07:44:32 +11:00
stffabi c5c0617c89 [v2, nsis] Seems like / as path separator works only for some directives in a cross platform way (#1227)
Especially the File directive seems not to work with a `/` on
Windows. Whereas `\` works for all directives and on all platforms.
So the `\` in NSIS can be used also on Linux and MacOS.
2022-03-08 20:35:16 +11:00
Misitebao d29e01d552 docs: sync documents (#1224) 2022-03-08 06:54:40 +11:00
Lea Anthony 122806161b Output errors in dev mode #1031 2022-03-07 21:12:26 +11:00
Lea Anthony 3a23662a34 Added variadic workaround to troubleshooting guide 2022-03-07 20:08:59 +11:00
Lea Anthony 659cc3ed61 Tidy project init banner 2022-03-07 19:35:31 +11:00
Misitebao 2a096a6ff9 feat(website): optimize website and sync documents (#1219)
- Optimize the homepage carousel
- Sync documents
- Update style files and images
2022-03-07 19:28:37 +11:00
Lea Anthony 0c09fe4560 Update tagline 2022-03-06 22:31:15 +11:00
Lea Anthony 51dd1361e3 Feature/docs update (#1218)
* Doc updates

* Add carousel

* Add more images to carousel

* Add search

* Fix CSS

* Cheeky fix for 1px bug
2022-03-06 22:29:26 +11:00
Lea Anthony a48ea8768f Update installation.mdx 2022-03-06 22:22:09 +11:00
Lea Anthony 95d34c510e Run watcher after initial build (#1216) 2022-03-06 22:20:50 +11:00
Misitebao d36e130315 refactor(cli): optimize default templates (#1214)
* refactor(cli): optimize the template that generates the base template

* refactor: optimize the default vanilla template

* feat(cli): add script to default vanilla template

* refactor(cli): refactor default svelte template and add script

* fix: remove manually added assetdir fields

Manually specified values are removed as the application will automatically infer from embed.FS.

* fix: remove drag attribute within page

* Update v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/README.md

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-03-06 22:00:08 +11:00
Misitebao 7d8f2243ae feat(website): sync documents and add content (#1215)
* feat(website): sync documents and add content

- Add a directory to the website
- Update site navigation menu
- Update site tagline(Emphasis on cross-platform)
- Sync the changelog of the latest version to the website

* docs: remove the `appendix` directory
2022-03-06 16:18:02 +11:00
Lea Anthony 27ab3cf4e7 v2.0.0-beta.33 2022-03-05 13:35:34 +11:00
Lea Anthony 31b609dff0 Print friendlier file path when file does not exist 2022-03-05 13:33:24 +11:00
stffabi fbf75b1d14 [v2, windows] Move assets from file://wails to https://wails.localhost (#1211)
This should allow web workers to be used
2022-03-05 13:32:28 +11:00
Ian M. Jones e9aa0d5c5a Fix fullscreen on linux arm64 (#1209)
* Fix fatal error on otherwise clean exit.

* Fix race condition while setting title during window creation.

* Fix unexpected signal error when clicking webview should initiate a drag window operation.

* Ensure ExecuteOnMainThread callbacks are removed from the event source list on completion.

* Ensure all ExecuteOnMainThread callbacks use the expected return value on completion.

* Fix potential memory leak when exiting early from startDrag.

* Fix using runtime.WindowFullscreen on Linux ARM64.
2022-03-04 23:07:40 +11:00
Misitebao cdfd70d3f7 docs: improve and synchronize chinese documents (#1205) 2022-03-04 17:59:46 +11:00
Lea Anthony 7287fcc170 Fixes #1208. Add docs about go.mod version updates in dev mode 2022-03-04 17:56:46 +11:00
Ian M. Jones c378d935f3 Fix linux unexpected signal errors (#1200)
* Fix fatal error on otherwise clean exit.

* Fix race condition while setting title during window creation.

* Fix unexpected signal error when clicking webview should initiate a drag window operation.

* Ensure ExecuteOnMainThread callbacks are removed from the event source list on completion.

* Ensure all ExecuteOnMainThread callbacks use the expected return value on completion.

* Fix potential memory leak when exiting early from startDrag.
2022-03-04 17:50:43 +11:00
Lea Anthony 8eae31d865 Fixes #1206. ERROR level used in Production 2022-03-04 17:46:04 +11:00
Lea Anthony c7c068ade0 Add Javascriptcore include. #1198 2022-03-02 20:17:30 +11:00
stffabi b02dbfaddf [v2] NSIS installer support for Windows (#1184)
* [v2] Add support for post build hooks

Currently only supports build-level hooks

* [v2] Improve build assets handling and use single source for manifest generation

The manifest asset files are now a go template and data will be
resolved before they are included into the build output.

Breaking Change: Windows manifest file must be named
“wails.exe.manifest” and doesn’t depend on the project name
anymore.

* [v2, windows] NSIS installer generation
2022-03-02 19:44:31 +11:00
stffabi c63b1f1981 [v2] Consolidate processRequest, improve logging and error handling (#1158) 2022-02-28 19:14:03 +11:00
Lea Anthony 944494c4ef Add troubleshooting guide. #1187 2022-02-28 08:33:18 +11:00
Misitebao a971751dab feat(cli): optimized template generation (#1166)
* feat(cli): update base template configuration

* feat: optimize template project script

(https://github.com/wailsapp/wails/issues/1165)
2022-02-27 20:40:55 +11:00
Lea Anthony 6ec670129b Update README.md 2022-02-27 15:51:46 +11:00
Lea Anthony 4506da041a Update bug_report.md 2022-02-27 15:48:01 +11:00
Lea Anthony e9962198d0 Update feature_request.md 2022-02-27 15:46:18 +11:00
Misitebao 82cb3b99e5 feat(cli): add version support for remote templates (#1181)
(https://github.com/wailsapp/wails/issues/925)
2022-02-26 10:52:56 +11:00
Lea Anthony dfb3ab0681 Run webview2 bootstrapper as normal user, not administrator 2022-02-26 10:40:18 +11:00
Lea Anthony 5b60fcc8f6 Update menus.mdx 2022-02-26 10:11:05 +11:00
Misitebao 9e08fd668c docs: update and sync all documents (#1183)
* docs: update and sync all documents

* docs: sync readme
2022-02-24 22:08:00 +11:00
Lea Anthony 513c1fd981 Add Linux Arch 2022-02-24 06:10:38 +11:00
Lea Anthony 3866da944c Update Linux Status 2022-02-24 06:09:28 +11:00
Lea Anthony 613a9e3143 Bugfix: Fix potential nil dereference 2022-02-23 20:57:05 +11:00
stffabi ff8e701793 [v2] Introduce frontend:dev:watcher command (#1170) 2022-02-23 20:12:59 +11:00
Lea Anthony 451b0c1e15 Update logo 2022-02-23 19:53:15 +11:00
2004 changed files with 130384 additions and 65560 deletions
+1360
View File
File diff suppressed because it is too large Load Diff
-41
View File
@@ -1,41 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
#####################################################
**V1 users: If you have a technical issue, please do not open a bug this way!**
Please use the `wails issue` command!
If you do not do this then the issue may be closed automatically.
NOTE: If your bug is related to Windows, make sure you read
the [Windows Developer Guide](https://wails.app/guides/windows/)
#####################################################
**Description**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behaviour:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behaviour**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**System Details**
V2 users: Please add the output of `wails doctor`.
**Additional context**
Add any other context about the problem here.
- [ ] This issue is for Windows and I have read the [Windows Developer Guide](https://wails.app/guides/windows/)
+83
View File
@@ -0,0 +1,83 @@
name: Bug Report
description: Create a report to help us improve
# title: ""
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
***Please note: No new bug reports are being accepted for Wails v1***
Before submitting this issue, please do the following:
- Do a web search for your error. This usually leads to a much better understanding of the issue.
- Prove that the error is indeed a Wails bug and not an application bug, with a specific set of steps to reproduce.
- Search the issue tracker using [this link](https://github.com/wailsapp/wails/issues?q=is%3Aissue+).
- Search the [discussion forums](https://github.com/wailsapp/wails/discussions?discussions_q=type+your+issue+here).
- Read the [Troubleshooting Guide](https://wails.io/docs/next/guides/troubleshooting).
- Try to fix it yourself. Keep a list of things you have done to fix the problem.
If after doing all the above, the problem remains, please continue with this ticket providing *all* the information requested.
Bug reports that do not follow these steps will likely be closed, so please help us to help you.
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what the bug is.
placeholder: A clear and concise description of what the bug is.
# value: ""
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: To Reproduce
description: Steps to reproduce the behaviour
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: expected-behaviour
attributes:
label: Expected behaviour
description: A clear and concise description of what you expected to happen.
placeholder: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
placeholder: If applicable, add screenshots to help explain your problem.
validations:
required: false
- type: textarea
id: attempted-fixes
attributes:
label: Attempted Fixes
description: A list of things you have tried to fix the problem, including search engine links.
placeholder: A list of things you have tried to fix the problem, including search engine links.
validations:
required: false
- type: textarea
id: systemetails
attributes:
label: System Details
description: Please add the output of `wails doctor`.
render: shell
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the problem here.
placeholder: Add any other context about the problem here.
validations:
required: false
+5
View File
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: GitHub Community Discussions
url: https://github.com/wailsapp/wails/discussions
about: If your question is not a feature or a bug, please go to the discussion panel and retrieve if your question already exists before submitting.
+40
View File
@@ -0,0 +1,40 @@
name: Documentation
description: Report an issue related to documentation.
# title: ""
labels: ["documentation"]
body:
- type: markdown
attributes:
value: |
This template is only used for documentation related requests, including:
- Log undocumented APIs
- Update link
- Documentation other than non-project code
- Add new language
If you followed the documentation but things don't work, take some time to consider if it's the documentation or the code that's wrong. In the latter, prefer using the "[Bug Report](https://github.com/wailsapp/wails/issues/new?assignees=&labels=bug&template=bug_report.yml)" template.
- type: checkboxes
attributes:
label: Have you read the Documentation Contribution Guidelines?
options:
- label: I have read the [Documentation Contribution Guidelines](https://wails.io/community-guide#ways-of-contributing).
required: true
- type: textarea
attributes:
label: Description
description: A clear and concise description of what the issue is.
validations:
required: true
- type: checkboxes
attributes:
label: Self-service
description: |
If you feel like you could contribute to this issue, please check the box below. This would tell us and other people looking for contributions that someone's working on it.
If you do check this box, please send a pull request within 7 days so we can still delegate this to someone else.
options:
- label: I'd be willing to address this documentation request myself.
-20
View File
@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
@@ -0,0 +1,39 @@
name: Feature request
description: Suggest an idea for this project
# title: ""
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Before opening a feature request, please check the [Roadmap](https://github.com/wailsapp/wails/discussions/1484) to see if it has already been requested.
***Please note: No new feature requests are being accepted for Wails v1***
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: false
- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
+5 -2
View File
@@ -8,12 +8,15 @@ exemptLabels:
- security
- onhold
- inprogress
- "Selected For Development"
# Label to use when marking an issue as stale
staleLabel: wontfix
staleLabel: "Wont Fix"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
closeComment: false
exemptMilestones: true
exemptAssignees: true
+36
View File
@@ -0,0 +1,36 @@
name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-v2:
name: v2 Build
if: github.repository == 'wailsapp/wails'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: "master"
submodules: true
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ">=1.18.0"
- name: Build Wails CLI
run: |
cd ./v2/cmd/wails
go install
wails -help
@@ -1,50 +0,0 @@
name: Sync upstream branch and deploy mirror | 同步上游分支并部署镜像
on:
schedule:
- cron: "0 8,20 * * *"
workflow_dispatch:
jobs:
build-and-deploy:
name: Automatic deployment | 自动部署
runs-on: ubuntu-latest
if: github.repository == 'misitebao/wails'
steps:
- name: Checkout | 切换到部署分支
uses: actions/checkout@v2
with:
ref: "master"
submodules: true
fetch-depth: 0
- name: Setup Git | 设置Git
run: |
git config --local user.email "i@misitebao.com"
git config --local user.name "misitebao"
- name: Add remote upstream repository and sync | 添加远程上游仓库并同步
run: |
git remote add upstream https://github.com/wailsapp/wails
git pull -v --progress --no-rebase "upstream" master
- name: Push | 推送
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: Build Site | 构建网站
run: |
cd website &&
npm install && npm run build
- name: Deploy to Server | 部署到服务器
uses: hengkx/ssh-deploy@v1.0.1
with:
HOST: ${{ secrets.DEPLOY_HOST }}
USERNAME: ${{ secrets.DEPLOY_HOST_USER }}
PASSWORD: ${{ secrets.DEPLOY_HOST_PASSWORD }}
SOURCE: "website/build"
TARGET: "/www/wwwroot/wails.top"
@@ -0,0 +1,33 @@
name: Generate Sponsor Image
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches: [ master ]
jobs:
update-sponsors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set node
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Update sponsors
run: cd scripts/sponsors && chmod 755 ./generate-sponsor-image.sh && ./generate-sponsor-image.sh
env:
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
SPONSORKIT_GITHUB_LOGIN: wailsapp
- name: Commit
uses: EndBug/add-and-commit@v4
with:
message: "chore: update sponsors.svg"
add: "website/static/img/sponsors.svg"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+14
View File
@@ -0,0 +1,14 @@
name: Label sponsors
on:
pull_request:
types: [ opened ]
issues:
types: [ opened ]
jobs:
build:
name: is-sponsor-label
runs-on: ubuntu-latest
steps:
- uses: JasonEtco/is-sponsor-label-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-34
View File
@@ -1,34 +0,0 @@
name: latest pre-release
on:
push:
branches:
- develop
tags:
- '**-pre**'
jobs:
build:
name: Test Build Latest Pre-Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
go get -v -d ./...
- name: Build
run: go build -v ./cmd/wails
- name: Test
run: ./wails version
-32
View File
@@ -1,32 +0,0 @@
name: pr
on:
pull_request:
branches:
- develop
jobs:
build:
name: Test Build PR
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Get dependencies
run: |
go get -v -d ./...
- name: Build
run: go build -v ./cmd/wails
- name: Test
run: ./wails version
+60 -23
View File
@@ -1,34 +1,71 @@
name: release
name: Release
on:
push:
branches:
- master
tags:
- '!**pre**'
jobs:
branches: [ release/* ]
pull_request:
branches: [ release/* ]
workflow_dispatch:
build:
name: Test Build Latest Release
jobs:
test:
name: Run Go Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
os: [ ubuntu-latest, windows-latest, macos-latest ]
go-version: [ 1.18, 1.19 ]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Install linux dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Set up Go 1.18
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Get dependencies
run: |
go get -v -d ./...
- name: Build
run: go build -v ./cmd/wails
- name: Run tests
run: go test -v ./...
- name: Test
run: ./wails version
test_templates:
name: Test Templates
needs: test
if: github.repository == 'wailsapp/wails'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
template: [ svelte, svelte-ts, vue, vue-ts, react, react-ts, preact, preact-ts, lit, lit-ts, vanilla, vanilla-ts, plain ]
go-version: [ 1.18, 1.19 ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Build Wails CLI
run: |
cd ./v2/cmd/wails
go install
wails -help
- name: Install linux dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
- name: Generate template '${{ matrix.template }}'
run: |
mkdir -p ./test-${{ matrix.template }}
cd ./test-${{ matrix.template }}
wails init -n ${{ matrix.template }} -t ${{ matrix.template }} -ci
cd ${{ matrix.template }}
wails build -v 2
+3 -3
View File
@@ -27,7 +27,7 @@ v2/pkg/parser/testproject/frontend/wails
v2/test/kitchensink/frontend/public
v2/test/kitchensink/build/darwin/desktop/kitchensink
v2/test/kitchensink/frontend/package.json.md5
/v2/internal/ffenestri/windows/test/cmake-build-debug/
!v2/internal/ffenestri/windows/x64/webview2.dll
!v2/internal/ffenestri/windows/x64/WebView2Loader.dll
.idea/
v2/cmd/wails/internal/commands/initialise/templates/testtemplates/
.env
/website/static/img/.cache.json
-48
View File
@@ -1,48 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Test cmd package",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/cmd/"
},
{
"name": "Wails Init",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/wails/main.go",
"env": {},
"cwd": "/tmp",
"args": [
"init",
"-name",
"runtime",
"-dir",
"runtime",
"-output",
"runtime",
"-template",
"vuebasic"
]
},
{
"name": "Wails Update Pre",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmd/wails/main.go",
"env": {},
"cwd": "/tmp",
"args": [
"update",
"-pre"
]
}
]
}
-8
View File
@@ -1,8 +0,0 @@
{
"go.formatTool": "goimports",
"eslint.alwaysShowStatus": true,
"files.associations": {
"__locale": "c",
"ios": "c"
}
}
+1 -34
View File
@@ -1,34 +1 @@
2019-07-20 **v0.17.6-pre**
* Significant refactor of runtime
* Removed wailsbridge file - now a unified approach taken
* Fixed React on Windows - Thanks [Florian Didran](https://github.com/fdidron)!
2019-06-18 **v0.16.0**
* React template FTW! - Thanks [admin_3.exe](https://github.com/bh90210)!
* Updated contributors
* Arch Linux detection without lsb-release
* Removed deprecated methods for dealing with JS/CSS in the backend
2019-05-29 **v0.14.11-pre**
* Windows fix for spinner
2019-05-29 **v0.14.10-pre**
* Windows fix for Vuetify
2019-05-29 **v0.14.9-pre**
* Vuetify project template 🎉
2019-05-29 **v0.14.8-pre**
* Updated Ubuntu npm install command
2019-05-22 **v0.14.7-pre**
* New projects are built automatically when initialised
* Go 1.12 is now a minimum requirement
2019-05-21 **v0.14.6-pre**
* Hotfix for module dependency issue
2019-05-20 **v0.14.5-pre**
* Added developer tooling - New Template Generator
* Documentation fixes - Thanks [admin_3.exe](https://github.com/bh90210)!
The current changelog may be found at: https://wails.io/changelog/
+1
View File
@@ -0,0 +1 @@
The current Contribution Guidelines can be found at: https://wails.io/community-guide

Some files were not shown because too many files have changed in this diff Show More