5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 22:49:31 +08:00
Commit Graph

854 Commits

Author SHA1 Message Date
Lea Anthony
2859143b2f
Add Screen docs 2023-08-03 08:35:34 +10:00
Andreas Christou
027edad51b
Create-React-App documentation updates (#2805)
* Add documentation for running a create-react-app project in watch mode

* Fix build warning
2023-08-02 08:58:05 +10:00
Lea Anthony
a96d51be02
Update project-config.mdx 2023-07-29 12:04:41 +10:00
github-actions[bot]
fe479876c5
chore: update sponsors.svg (#2794)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-07-28 08:15:00 +10:00
Aranggi J. Toar
48b35aaafe
chore: update npm and docker package names for dnf package manager (#2790)
* chore: update package names for dnf package manager

* chore: update changelog
2023-07-24 19:53:24 +10:00
github-actions[bot]
7f402bf0c4
chore: update sponsors.svg (#2778)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-07-18 23:04:16 +10:00
figuerom16
e0a92712fe
SvelteKit Guide: Manual installation, Bash installation, Usage Notes. (#2771)
* Create SvelteKit.mdx

* Rename SvelteKit.mdx to sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update sveltekit.mdx

* Update changelog.mdx
2023-07-15 23:52:33 +10:00
Ethan Reesor
22cfcbd5a1
Override error formatting (#2717) 2023-07-13 20:40:22 +10:00
Marcus Crane
f150d25152
Update October showcase image (#2762) 2023-07-06 20:51:40 +10:00
Mohamed Gharib
8acbdc246c
[v2] Add smart default context-menu functionality (backported from v3) (#2748)
* [v2] Add smart default context-menu functionality (backported from v3)

* Update changelog
2023-06-28 06:35:02 +10:00
Mohamed Gharib
5292ced731
[v2, runtime] Separate runtime js debug build (#2745) 2023-06-27 21:31:08 +10:00
Mahcks
abbbf05a79
added shadcn-ui template (#2744) 2023-06-26 08:50:52 +10:00
github-actions[bot]
4c7c3d9d82
chore: update sponsors.svg (#2738)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-06-21 21:52:55 +10:00
stffabi
8fd16d4be3
[assetServer] Make WebView request URL and RequestURI RFC and Go docs compliant (#2722)
* [v2 dev] Improve logging of external AssetHandler

* [assetServer] Make WebView request URL and RequestURI RFC and Go docs conforme
2023-06-20 08:06:42 +02:00
Mohamed Gharib
4162f097f1
[v2, options] Add EnableDefaultContextMenu option (#2733)
* [v2, options] Add EnableDefaultContextMenu option

* Update changelog & docs

* go mod tidy (./v2)

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-06-20 06:31:47 +10:00
github-actions[bot]
07c971476d
chore: update sponsors.svg (#2729)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-06-19 20:54:20 +10:00
Mohamed Gharib
fa851f29c5
[v2] Add -devtools production build flag (#2725)
* [v2] Add devtools production build flag

* Update changelog

* Fix changelog spacing

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-06-19 06:45:01 +10:00
Lea Anthony
f2ab205415
[chore] Use webview2 package (#2687)
* [v2 windows] Use external webview2 package

* Update CHANGELOG
2023-06-10 17:04:31 +10:00
github-actions[bot]
3dbe6e96c1
chore: update sponsors.svg (#2701)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-06-09 10:40:39 +10:00
5aaee9
6d857bf61a
windows/nsis: add hidpi support for nsis installer (#2694)
* feat(windows/nsis): add hidpi support for nsis installer

* website: add changelog
2023-06-04 07:26:24 +10:00
github-actions[bot]
4814e65da2
docs: sync translations (#2685)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-06-03 17:20:10 +10:00
github-actions[bot]
644dc653a9
chore: update sponsors.svg (#2698)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-06-03 17:18:59 +10:00
Misite Bao
d3a4d89786
chore: add Prettier as format tool (#2689) 2023-05-30 07:40:54 +10:00
Lea Anthony
84919468ba
[v2 docs] Fix cli.mdx 2023-05-27 13:30:24 +10:00
Misite Bao
bd5b7e5e3f
feat(website): update the Crowdin branch (#2688) 2023-05-27 12:51:43 +10:00
Lea Anthony
4f3dc1b0e1
[v2 docs] Fix changelog + cli options. 2023-05-27 12:49:10 +10:00
Marvin Wendt
65c68301a0
Change style of doctor command (#2660)
* Refactor doctor command

* Refactor doctor command

* Refactor doctor command

* Refactor doctor command

* Added changelog entry
2023-05-26 17:55:53 +10:00
Misite Bao
37e43dabc0
docs: improve documentation (#2686)
* docs: fix changelog format

* fix: fix release tools

* chore: set sync translated documents as a scheduled task
2023-05-26 17:49:50 +10:00
github-actions[bot]
ec19458c1b
docs: sync translations (#2616)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-05-25 18:43:31 +10:00
Amin Yahyaabadi
35eb1e0160
fix: avoid app crashing when the Linux GTK key is empty (#2672)
* fix: avoid app crash when the Linux GTK key is empty

Fixes this error:

```
DEBUG | Log dir is: /root/.config/surrealdb_explorer/log.txt

Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running, locked to thread]:
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.parseKey({0x0, 0x0})
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/keys.go:87 +0xa5
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.acceleratorToGTK(0xc0001c5f20)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/keys.go:72 +0x2c
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processMenuItem(0x866bc0?, 0xc0001c8a80, 0xc0001c8a80?)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:159 +0x40b
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processSubmenu(0xc0001c8a20, 0x79a2a9?)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:99 +0xdc
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processMenu(0xc00021f6c0, 0x12?)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:82 +0x46
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.(*Window).SetApplicationMenu(0xc00021f6c0, 0xc000128dc8)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:75 +0x1b6
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.NewWindow(0xc00011ba40, 0x0)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/window.go:126 +0x37b
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.NewFrontend({0x1cea4e8?, 0xc00023b890}, 0xc00011ba40, 0xc000128e40, 0xc0001c8b40, {0x1ce7480?, 0xc000139840})
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/frontend.go:182 +0x5c5
github.com/wailsapp/wails/v2/internal/frontend/desktop.NewFrontend(...)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/desktop_linux.go:16
github.com/wailsapp/wails/v2/internal/app.CreateApp(0xc00011ba40)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/app/app_production.go:84 +0x5a5
github.com/wailsapp/wails/v2/pkg/application.(*Application).Run(0xc000131940)
        /home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/pkg/application/application.go:57 +0x29
wails_vue/backend.BootApplication(0xc000131640, 0xc000138a40, 0xc0001c5320, 0xc0001c55c0, 0xc000128b40, 0xc00012ec30, 0xc000131880)
        /home/aminya/Documents/GitHub/teamnoon/SurrealDB-Explorer/backend/Application.go:103 +0x718
reflect.Value.call({0x874160?, 0x1c761f0?, 0xc000138a00?}, {0x8e263d, 0x4}, {0xc0001584d0, 0x7, 0x1c761f0?})
        /usr/local/go/src/reflect/value.go:586 +0xb0b
reflect.Value.Call({0x874160?, 0x1c761f0?, 0x1c761f0?}, {0xc0001584d0?, 0x0?, 0x1c761f0?})
        /usr/local/go/src/reflect/value.go:370 +0xbc
github.com/Envuso/go-ioc-container.(*Invocable).CallMethodWith(0xc000138a00, 0x1c761f0?, {0x0?, 0x1cef290?, 0x8bd180?})
        /home/aminya/go/pkg/mod/github.com/!envuso/go-ioc-container@v0.0.5/invocable.go:149 +0xad
github.com/Envuso/go-ioc-container.(*ContainerInstance).Call(0xc00011c630?, {0x874160?, 0x1c761f0?}, {0x0, 0x0, 0x0})
        /home/aminya/go/pkg/mod/github.com/!envuso/go-ioc-container@v0.0.5/container_invocation.go:30 +0x6c
main.main()
        /home/aminya/Documents/GitHub/teamnoon/SurrealDB-Explorer/main.go:34 +0x112
```

* fix: merge the key length comparison
2023-05-25 18:40:37 +10:00
github-actions[bot]
12a9ff17d6
chore: update sponsors.svg (#2683)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-05-25 17:05:48 +10:00
Lea Anthony
a7116ff5e7 [website] Add windows icon troubleshooting guide 2023-05-21 17:55:38 +10:00
Lea Anthony
62d97f85ec v2.5.1 2023-05-16 19:43:41 +10:00
stffabi
496461920f
[v2] DevServer improvements and fixes (#2664)
* [assetserver, darwin] Fix copying request headers by using strdup

* [assetserver, linux] Fake some basic http headers for legacy webkit2 versions to support proxying requests to other servers

This fixes the devserver on v2 for newer vite versions that use the custom
scheme.

* [v2, windows] 304 responses are going to hang the WebView2 so prevent them by removing cache related headers in the request.

* [v2, dev] Now uses the custom schemes `wails://` on macOS and Linux for all Vite versions.

Prevent missing reload after fast multiple savings on Linux and Windows.
2023-05-16 09:35:48 +02:00
stffabi
22b53192e6
[v2, webview2loader] Prevent env and registry overrides when using the go loader (#2668) 2023-05-15 21:12:16 +02:00
Lea Anthony
774cbdec38
Update changelog.mdx 2023-05-13 14:49:07 +10:00
Lea Anthony
ba6b28b3c2
v2.5.0 2023-05-13 14:18:06 +10:00
github-actions[bot]
0342023990
chore: update sponsors.svg (#2656)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-05-13 13:44:15 +10:00
github-actions[bot]
2922a98f7c
chore: update sponsors.svg (#2650)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-05-06 11:16:28 +10:00
github-actions[bot]
8d7c033a66
chore: update sponsors.svg (#2643)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-05-03 19:52:34 +10:00
LGiki
832d6bc4d3
[v2, linux] Fix StartHidden option not working on Linux (#2624)
* fix: StartHidden option not working on Linux

* chore: add an entry to the changelog
2023-04-30 01:20:39 +10:00
github-actions[bot]
ea40cf8705
chore: update sponsors.svg (#2630)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-04-28 18:27:29 +10:00
stffabi
3853d2d1bf
[v2, windows] Handle webview2 process crashes and add DisableWebViewRendererCodeIntegrity flag (#2627)
* Add flag to disable webview RendererCodeIntegrity checks
* Handle webview2 process crashes
2023-04-27 23:03:26 +02:00
Dominic Lee
d249c2207b
fix: parse struct references for type generation (#2552)
* fix: parse struct references for type generation

* chore: update changelog for typescript generation fix
2023-04-26 23:23:39 +10:00
stffabi
0bf41090b0
[v2, darwin] Add some missing default shortcuts (#2586)
* [v2, darwin] Add "Hide, Hide Others, Show All“ to appmenu

This also includes shortcuts support for those commands.
Arrange the menu items in the well known MacOS order.

* [v2, darwin] Add Window menu with well known shortcuts Minimize, Full-Screen and Zoom.
2023-04-20 12:38:32 +02:00
stffabi
529ec569f7
[v2, dev] Use custom schemes for in-app dev mode (#2610)
This fixes some long-standing inconsistencies between
dev mode builds and production builds but is a breaking
change. Dev mode uses custom scheme for Vite versions >= 3.0.0
and for older it still behaves in the old way.
2023-04-20 12:37:40 +02:00
github-actions[bot]
c7e5608a60
docs: sync translations (#2581)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-04-17 23:48:27 +10:00
Misite Bao
d8d4997532
chore: optimize website building process (#2601)
* chore: remove pnpm from dependencies

* chore: upgrade devDependencies

* chore: set Nodejs version
2023-04-17 20:54:06 +10:00
github-actions[bot]
a1cc41c926
chore: update sponsors.svg (#2603)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-04-17 20:51:33 +10:00
stffabi
767bfcff89
[v2, windows] Make sure to open the CommonFileDialogs on the main thread (#2606)
Otherwise it might have some strange side-effects like blocking
the completion of Deferrals in WebView2 when using custom
IStreams.
2023-04-17 20:50:27 +10:00
Lea Anthony
46bcce7566 [website] Upgrade pnpm-lock.yaml 2023-04-16 20:58:19 +10:00
Lea Anthony
c4609efe01 [website] Upgrade pnpm 2023-04-16 20:26:43 +10:00
Joshua Hull
489689b477
Use json.Marshal instead of strconv.Quote to correctly support unicode (#2509)
* Use json.Marshal instead of strconv.Quote to correctly support unicode

* Add fix to changelog

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-16 10:19:40 +10:00
George Wang
eaca3d06f6
Update zypper.go (#2593)
Add package(webkit2gtk3-soup2-devel) for `libwebkit`.
Change environment variable before running command to query information
of the package.
2023-04-16 10:00:39 +10:00
Matthew Davis
b302064f2f
Feature/templates/angular15 (#2595)
* added new angular template

* removed 2-year old template

* renamed to wails-template-angular from wails-angular-template

* added previous template back
2023-04-16 09:58:36 +10:00
github-actions[bot]
03cef1887f
chore: update sponsors.svg (#2596)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-04-15 18:14:43 +10:00
github-actions[bot]
f96aab0d44
chore: update sponsors.svg (#2591)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-04-14 20:08:52 +10:00
stffabi
39a7ab5856
[assetserver, linux] Add support for WebKit2GTK 2.40+ features (#2592) 2023-04-14 11:16:27 +02:00
stffabi
ec3da8b7ef
[v2, darwin] Fix updating the menu on runtime (#2588) 2023-04-14 00:14:19 +10:00
stffabi
b64b2a8da1
[v2, dev] Fix skipbindings flag in wails dev (#2584) 2023-04-13 07:45:49 +10:00
Misite Bao
1979bca0f5
chore: fix pnpm environment settings (#2580) 2023-04-12 22:21:25 +10:00
Misite Bao
0f791c71f4
fix: fix website build and add taskfile (#2577)
* chore: update dependencies

* docs: update source documents

* chore: use Taskfile instead of scripts
2023-04-12 21:36:01 +10:00
Misite Bao
5e3c736bee
feat(cli): add Nodejs version in wails doctor (#2546)
* feat(cli): add Nodejs version in `wails doctor`

* Added check for output length

* docs: update changelog.mdx

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-12 07:11:37 +10:00
Lea Anthony
3f62fa0d86 Update credits.mdx 2023-04-11 20:46:45 +10:00
github-actions[bot]
9574bfc054
chore: update sponsors.svg (#2566)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-04-11 18:26:28 +10:00
希嘉嘉
739ca98597
Update templates.mdx (#2571) 2023-04-10 22:00:04 +10:00
dependabot[bot]
ef6366af61
Bump webpack from 5.75.0 to 5.76.2 in /website (#2503)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 22:02:24 +11:00
Simon Shutter
34fd76617e
annotated menu example and updated runtime.Quit call (#2539) 2023-04-01 21:50:29 +11:00
憧憬Licoy
1e8b938d15
fix obfuscate build param name (#2542)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-01 21:48:03 +11:00
Misite Bao
49bd33e642
docs: update routing.mdx (#2547) 2023-04-01 16:05:09 +11:00
github-actions[bot]
78f638a9bc
docs: sync documents (#2514)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-04-01 16:04:43 +11:00
github-actions[bot]
fef6e2a616
chore: update sponsors.svg (#2535)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-04-01 16:03:09 +11:00
Noah Gorstein
2a22933220
docs: fix broken link for react router HashRouter (#2544) 2023-04-01 08:43:15 +11:00
Arpit Jain
abe6f520b4
Fix dates in changelog (#2527) 2023-03-26 16:19:12 +11:00
Adam Tenderholt
130fab6c01 Feature/v3 parser: expand TS model generation tests & some fixes (#2485)
* v3 parser: add tests for model generation

* v3 parser: use single quotes for got model.ts

* v3 parser: fixes for some failing tests

* v3 parser: misc simplification and cleanup

* v3 parser: fix model tests when no structs returned

* v3 parser: fix last failing test case

* Update contributors list

* v3 parser: update README

* Revert "Update contributors list"

This reverts commit f429d2ba89.

* Changelog: add line about my contribution
2023-03-25 10:09:17 +11:00
github-actions[bot]
b5f1eab59b
chore: update sponsors.svg (#2525)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-24 23:20:18 +11:00
github-actions[bot]
5988cdca9a
chore: update sponsors.svg (#2517)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-23 19:33:04 +11:00
Misite Bao
93d7c6b5f3
docs: optimize code block display style (#2520) 2023-03-22 21:54:08 +11:00
github-actions[bot]
7d28ad1a3b
docs: sync documents (#2510)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-03-21 17:47:23 +11:00
Lea Anthony
a7278b4224 Update docs 2023-03-20 20:32:25 +11:00
stffabi
47af68a8cb
[windows] Allow single-clicks on wails-draggable items (#2482)
* [runtime] Make it possible to restore old drag behaviour on windows with window.wails.flags.deferDragToMouseMove

* [runtime] Use deferDragToMouseMove as new default

This enhanced version should work well in all cases for Windows:
- No lag/delayed start of dragging
- Double-Clicks and Single-Click events still work in JavaScript on elements

* [docs] Add changelog
2023-03-20 08:45:21 +01:00
github-actions[bot]
77f053068c
docs: sync documents (#2504)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-03-19 20:37:06 +11:00
github-actions[bot]
e3edea1cb3
chore: update sponsors.svg (#2498)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-18 11:48:23 +11:00
stffabi
6ed0eb217d
[webview2] Fix error handling in CreateWebResourceResponse (#2496)
The old error handling fails on WebView2Runtimes > 110.0.1587.69 and
will show a "connection refused" page and reloads after a short time.
After the reload everything worked as expected again.
2023-03-16 10:49:59 +01:00
github-actions[bot]
a2c1c507e1
chore: update sponsors.svg (#2492)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-16 19:27:23 +11:00
github-actions[bot]
4bffc57cb5
chore: update sponsors.svg (#2488)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-14 17:32:25 +11:00
stffabi
5dba18c853
[dev] Fix panic in devserver when using the logger (#2481) 2023-03-13 08:12:09 +01:00
github-actions[bot]
4cd873fecb
docs: sync documents (#2443)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2023-03-11 17:57:56 +11:00
github-actions[bot]
050ac9e613
chore: update sponsors.svg (#2478)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-11 12:54:20 +11:00
github-actions[bot]
1684894b52
chore: update sponsors.svg (#2474)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-09 20:06:35 +11:00
Lea Anthony
ebc14debdf
Release/v2.4.0 (#2470)
* Release v2.4.0

* Add docs
2023-03-08 23:27:23 +11:00
github-actions[bot]
66bd24e184
chore: update sponsors.svg (#2455)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-08 08:31:23 +11:00
stffabi
c11c32940e
[events] Fix race condition and missing unlock of mutex (#2453) 2023-03-07 10:40:33 +01:00
stffabi
d7a8406640
[options] Mergo doesn't play well with reference types (#2452)
Remove mergo and just use a simple hardcoded defaults approach.
2023-03-07 07:04:37 +01:00
github-actions[bot]
17ff16c1ad
chore: update sponsors.svg (#2449)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-06 19:10:57 +11:00
github-actions[bot]
ac4de2289a
chore: update sponsors.svg (#2440)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-03-05 11:18:33 +11:00
wander
29a4c28da4
add showcase (#2435) 2023-03-01 19:49:11 +11:00
Rachel Chen
ad2fed8f08
[v2] frontend/runtime/wrapper: return function return value in runtime wrapper (#2434) 2023-03-01 07:37:09 +01:00
stffabi
c6146ccbf8
[darwin] Fix undo/redo (#2430) 2023-02-28 19:41:18 +11:00
github-actions[bot]
d66e75c456
chore: update sponsors.svg (#2429)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-27 19:54:00 +11:00
github-actions[bot]
393a4c9251
chore: update sponsors.svg (#2424)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-26 13:14:25 +11:00
Watson-Sei
dcfd525dd1
ja translation of tutorials (#2393)
* ja translation of tutorials

* reset v2.3.1 md and moved translate md to current

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-02-25 12:52:16 +11:00
github-actions[bot]
01820d0e8e
chore: update sponsors.svg (#2418)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-25 12:32:22 +11:00
github-actions[bot]
64ff075302
chore: update sponsors.svg (#2416)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-25 10:02:34 +11:00
Gwyn
017ce1e33e
The outputFile was only being set for darwin universal builds. I move… (#2358)
* The outputFile was only being set for darwin universal builds. I moved the
variable assignment to a location where it will take place for all builds.

The ProjectData entries are used in generating the .app plist file, so
setting them here ensures that the app will run with the custom binary name.

* Increases the reach of the output flag.

* Updates the changelog with a record of this fix.
2023-02-25 06:13:27 +11:00
github-actions[bot]
6c2b0fcb02
chore: update sponsors.svg (#2403)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-23 20:03:16 +11:00
stffabi
0f57292555
[darwin] Add a macOS version guard for opening the web inspector (#2397)
Log if the inspector could not be opened due to missing or
incorrect private API.
2023-02-22 20:55:40 +11:00
stffabi
cccd708b2b
[assetserver] Add more builtin mimetypes by extension (#2391) 2023-02-21 18:20:01 +11:00
github-actions[bot]
c9492ec258
chore: update sponsors.svg (#2379)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-16 19:56:42 +11:00
stffabi
260fd061f6
[nsis] Adjust template to install shortcuts for all users (#2373) 2023-02-13 18:40:42 +11:00
github-actions[bot]
adca2150d4
chore: update sponsors.svg (#2370)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-12 12:33:08 +11:00
Joshua Mangiola
fa33e5d2bc
Update to Mac App Store Guide (#2369) 2023-02-11 15:00:03 +11:00
github-actions[bot]
3fde885d34
chore: update sponsors.svg (#2361)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-09 18:41:47 +11:00
github-actions[bot]
88e79f2598
chore: update sponsors.svg (#2346)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-04 11:35:16 +11:00
github-actions[bot]
522a634b86
chore: update sponsors.svg (#2341)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-03 08:54:12 +11:00
github-actions[bot]
0fed83ec21
chore: update sponsors.svg (#2337)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-02-01 20:18:16 +11:00
David Walton
709244c3a2
Fix #2280 - code block highlights (#2338)
* Fix #2280; code highlight & minor linter change

* Fix #2280; adjust code highlight
2023-02-01 17:52:43 +11:00
David Florness
e1bd841be3
fix grammar (#2334) 2023-01-31 17:51:51 +11:00
Richard Guay
5a747e75f1
The title was still wrong (#2331)
Fixing the title to properly reflect the page. Somehow I messed up the merge.
2023-01-26 21:42:47 +11:00
github-actions[bot]
8239964c28
chore: update sponsors.svg (#2327)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-01-23 17:16:01 +11:00
github-actions[bot]
a5ddce2c7c
chore: update sponsors.svg (#2317)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-01-22 15:25:04 +11:00
Richard Guay
e4789750c8
Updating and Adding (#2324)
* Adding Tutorial link

* Fixed EmailIt, Modal File Manager, and ScriptBar descriptions and added BulletinBoard

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-22 07:28:51 +11:00
Lea Anthony
18d0ed890a
Merge branch 'blog/v3-roadmap' 2023-01-18 20:59:38 +11:00
Lea Anthony
2479603143
Add github issue link 2023-01-18 17:41:33 +11:00
Lea Anthony
dbf6b3a718
updated 2023-01-18 07:57:10 +11:00
stffabi
45c3a501d9
[cli] Fix applying default arch to platform flag (#2309) 2023-01-17 20:39:15 +01:00
Lea Anthony
401165ce30
blog 2023-01-17 21:19:17 +11:00
stffabi
8f92cf1074
[assetHandler] Allow middleware to set the content-type for an assets file (#2286) 2023-01-16 21:05:25 +11:00
Oussama Sethoum
d0bd849be6
Update events.mdx (#2300)
* Update events.mdx

* Add doc update to docs dir

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-16 20:59:58 +11:00
stffabi
0a98efeea9
[runtime] Improve —wails-draggable by starting a drag immediately but only for the first click in a series (#2302)
This removes the sometime lagging experience when
starting to drag on Windows. But it's still possible to use
double-click events for adding e.g. a WindowToggleMaximise.
2023-01-16 20:56:13 +11:00
github-actions[bot]
93cfc777f9
chore: update sponsors.svg (#2293)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-01-16 20:53:31 +11:00
stffabi
d15e673a19
[windows] Some improvements to fullscreen (#2299) 2023-01-15 06:14:15 +01:00
stffabi
aaf039bcff
[windows] Disable frameless decorations during fullscreen (#2288)
Otherwise this leads to thin transparent lines on the window borders on older Windows versions.
2023-01-11 15:22:48 +01:00
stffabi
05679e70d0
[runtime] Frameless resize now sets the cursor on documentElement (#2289)
Otherwise if the body does not cover the full viewport the cursor won't
be shown outside of its rectangle.
2023-01-10 13:19:09 +01:00
stffabi
8e4606d104
[windows] Improve fullscreen mode for frameless windows (#2279)
* Improve fullscreen mode for frameless windows
* Set Window background color in addition to WebView2 background color
2023-01-09 12:15:43 +01:00
Lea Anthony
6e3b4cf1a1
Add Warmine to showcase 2023-01-08 12:53:14 +11:00
Johannes Haseitl
ccceadbd24
Replace more slack links with discord invites (#2256)
* Add Discord link and deprecate slack links

* More slack -> discord changes

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-07 16:19:33 +11:00
Noah Hsu
e1fc7119bc
docs: fix admonitions syntax (#2263) 2023-01-07 15:36:37 +11:00
Zámbó, Levente
add10df5ff
fix missing bin dir on build hook (#2273)
* fix missing bin dir on build hook

* add fix to changelog
2023-01-07 06:51:01 +11:00
stffabi
284e20a290
Add EnableFraudulentWebsiteDetection to options (#2269)
This allows to explicitly opt-in to scan services for fraudulent
content, such as malware or phishing attempts.
2023-01-06 00:06:26 +11:00
Zámbó, Levente
0a32c1124e
Add common text clipboard support (#2228) 2023-01-05 16:41:07 +11:00
Igor Sementsov
fc9dd99dea
Update troubleshooting.mdx (#2252)
* Update troubleshooting.mdx

https://github.com/wailsapp/wails/issues/2249

* Move guide to docs

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-01-05 16:19:49 +11:00
希嘉嘉
2727af43d4
Update templates.mdx (#2230)
添加 solid 模版的中文描述信息。
2023-01-05 16:09:53 +11:00
github-actions[bot]
4d0163d8af
chore: update sponsors.svg (#2271)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2023-01-05 15:12:13 +11:00
Zámbó, Levente
ef5f547d27
Support GPU acceleration settings on Windows & Linux (#2266)
* support GPU acceleration settings Window & Linux

* fix linux empty option crash

* fix change linux gpu policy switch case

* add PR to changelog
2023-01-02 09:38:53 +11:00
Lea Anthony
908aecfd1c
Update Changelog 2022-12-30 15:58:11 +11:00
Lea Anthony
0aa056fcc5
Bump version to v2.3.1 2022-12-30 07:38:22 +11:00
Lea Anthony
1b2bc8ee27 Remove old docs 2022-12-29 16:00:10 +11:00
Lea Anthony
f01e1e5bda Update docs to v2.3.0 2022-12-29 15:59:38 +11:00
Lea Anthony
5c0f1e409d Fix crowdin client code 2022-12-29 12:34:43 +11:00
Oleg Gulevskyy
fff0fd4d07
Website / Documentation - Slack to Discord (#2200)
* change slack to discord in footer

* change Slack to Discord in community guideline
2022-12-29 11:54:18 +11:00
Oleg Gulevskyy
d11b459486
refactor crowdin init to not throw without key (#2231) 2022-12-29 10:51:49 +11:00
github-actions[bot]
0474a9e89a
chore: update sponsors.svg (#2236)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-12-26 16:00:25 +11:00
stffabi
a312c0ffcb
[darwin] Add support for Request/Response streaming (#2219) 2022-12-20 13:44:33 +01:00
Lea Anthony
8067a1cedb
Add nosyncgomod flag (#2215)
* Add nosyncgomod flag

* Fix tests on unix
2022-12-20 22:08:02 +11:00
stffabi
7d61971f86
[darwin] Add support for file input selection (#2209)
This will show a message on the console
"+[CATransaction synchronize] called within transaction"
but there's seem no way to mitigate that. Still everything
works as expected.
2022-12-15 11:18:13 +01:00
github-actions[bot]
aa5875e8ca
chore: update sponsors.svg (#2207)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-12-15 20:57:34 +11:00
stffabi
4aab1e6b93
[webview2loader] Promote go loader from experimental to stable (#2199)
Default webview2loader is now the go loader
2022-12-13 23:27:50 +11:00
tk
3f077d9bdb
Update templates.mdx (#2184)
Add wails-template-naive
2022-12-07 18:50:22 +11:00
github-actions[bot]
606ce3de1d
chore: update sponsors.svg (#2180)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-12-04 14:05:37 +11:00
希嘉嘉
026bb7c02c
Added templates (#2178)
* Added  templates

vite + solid + js 
vite + solid + ts

* Update templates.mdx

Co-authored-by: Misite Bao <i@misitebao.com>
2022-12-04 09:30:28 +11:00
github-actions[bot]
5262153fa8
docs: sync documents (#2170)
Co-authored-by: misitebao <misitebao@users.noreply.github.com>
2022-12-03 22:32:08 +11:00
Misite Bao
bd66451dd9
docs: fix and sync documents (#2140) 2022-12-01 19:18:59 +11:00
github-actions[bot]
9d53db4281
chore: update sponsors.svg (#2150)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-12-01 12:27:11 +11:00
stffabi
5418b879c4
[linux] Add support for WebKit2GTK 2.36+ features (#2151) 2022-11-30 11:04:12 +01:00
Lea Anthony
7f8952ebe5
Fix signal handler (#2152)
* Fix signal handler

* Update changelog
2022-11-30 20:37:55 +11:00
Aman
ac1e150315
Initial Mac App Store Guide (#2142)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-11-29 20:03:45 +11:00
stffabi
993f87af97
[assetserver] Add support for serving the index.html file when requesting a directory (#2110)
* [assets] Improve error message if no `index.html` could be found in the assets

* [assetoptions] Valide options that at least one property has been set

* [assetserver] Move defaultHTML handling for 404 from assethandler to assetserver

* [assetserver] Add support for serving the index.html file when requesting a directory

* [docs] Update changelog
2022-11-29 09:29:08 +01:00
Misite Bao
73caeb9793
docs: fix and sync documents (#2135)
* docs: standardize JavaScript and TypeScript name writing

* docs: sync translated documents

* docs: fix broken link

* docs: sync translated documents
2022-11-28 20:13:22 +11:00
github-actions[bot]
6d975b965b
chore: update sponsors.svg (#2131)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-28 12:55:39 +11:00
Lea Anthony
6cd5edcc4d
More clarity around bug reports 2022-11-25 14:50:05 +11:00
Lea Anthony
3e8ae9835b
Small update to Mac troubleshooting guide 2022-11-24 21:38:16 +11:00
Oleg Gulevskyy
ca8a1fab36
Ability to define prefix / suffix for TS module (#2101)
* add tspostfix and tsprefix flags + organise under struct

* postifx -> suffix

* tsPrefix options on bindings struct

* pass prefix and suffix to the executable

* add support for CLI flags for generating module

* method to set TSpref/suff to bindings

* use passed ts prefix for typescriptify

* add brief Readme udpate to include new flags

* create reusable common flags

* use common flags instead of hardcoded text

* support tsprefix & suffix for dev

* add tsPrefix & tsSuffix for build cmd

* take pref & suff in account when gen d.ts

* export colorsful log functions into utils for reuse

* detect and warn the user about usage of reserved keyword

* fmt

* add TrimSpace on fn input

* refactor utils -> logutils

* add bindings -> ts_generation options to wailsjson parse

* use wailsjson for ts generation

* update warning message + extract to func

* remove suff/pref info from readme

* update json schema

* add tests for prefix and suffix case

* rename suffix method

* Update v2/internal/typescriptify/typescriptify.go

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>

* Update website/static/schemas/config.v2.json

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>

* Update website/static/schemas/config.v2.json

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>

* update changelog

* Minor tweaks

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-11-24 21:33:58 +11:00
Lea Anthony
c1c1bff7a4
Update changelog.mdx 2022-11-24 06:13:24 +11:00
stffabi
72aef804ef
[windows] Prevent a thin white line at the bottom of a frameless window (#2111)
This seems to be only a problem on some Windows versions.
2022-11-22 20:37:45 +11:00
Misite Bao
d0b403b9b8
docs: fix and sync documents (#2119)
* docs: fix Russian documents

* docs: sync French documents
2022-11-22 18:34:04 +11:00
Misite Bao
51a12131a4
feat(website): add translation progress (#2113)
* feat(website): add translation progress

* feat(website): add French and Portuguese to language list

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-11-21 22:19:34 +11:00
Misite Bao
91de3ab0c5
docs: update and sync documents (#2112)
* docs: update options documentation

* docs: sync documents

* docs: sync Korean, Russian, French and Portuguese documents

* docs: sync Chinese, Japanese and Korean documents
2022-11-21 22:13:43 +11:00
Oleg Gulevskyy
b3d7682efc
Fix multiple nested build/bin folders in dev mode (#2103)
* stop circular assigning to OutputFilename

* update changelog

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-11-19 10:04:46 +11:00
Misite Bao
ec56f8807f
docs: sync documents (#2083) 2022-11-18 22:11:25 +11:00
github-actions[bot]
8850b453d9
chore: update sponsors.svg (#2106)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-18 22:10:45 +11:00
Marvin Collins Hosea
a8bbce6a12
React Hash Router Links returns 404 (#2050)
The linked Hash Router link is not valid anymore and returns a 404.

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-11-17 20:19:24 +11:00
Christian Kilb
66dd310823
Update obfuscated.mdx (#2102)
Fixed a typo.
2022-11-17 20:01:54 +11:00
juju
29acbe3079
Update events.mdx (#2105) 2022-11-17 20:01:02 +11:00
stffabi
177d90497a
[assetserver] Add support for range requests if the fs.FS provides an io.Seeker (#2091)
This allows streaming audio and videos with range requests if the
platform webview supports it.
2022-11-15 07:19:25 +11:00
stffabi
efd209b7c5
[darwin] Show Xcode version in wails doctor (#2089) 2022-11-14 20:11:07 +11:00
Lea Anthony
236570909c
Rename bleeding edge -> local development (#2086) 2022-11-13 22:44:50 +11:00
stffabi
f6e46ac1c3
[debug] Introducing debug options for debug builds to allow opening the inspector on startup (#2080) 2022-11-12 19:51:54 +11:00
Antonio Cheong
e3e20bdb42
Reference NSIS as optional dependency and provide more info (#2070)
* Update system.go

* Update installation.mdx

* Update base docs
2022-11-12 18:36:57 +11:00
stffabi
6d0ae669f9
[dev] Fix noreload flag and only skip reloads triggered by assetdir (#2081) 2022-11-12 17:08:54 +11:00
Misite Bao
8c4c4a9df3
docs: sync documents (#2073)
* docs: fix document formatting

* docs: sync documents
2022-11-12 08:30:16 +11:00
github-actions[bot]
fc312a5f04
chore: update sponsors.svg (#2077)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-11 23:46:30 +11:00
Lea Anthony
67e2a4bdeb
Update docs and changelog 2022-11-09 22:26:22 +11:00
Lea Anthony
f7c602c212
Update docs and changelog 2022-11-09 22:06:10 +11:00
Misite Bao
4c840c07f2
docs: sync documents (#2063)
* docs: sync documents

* docs: fix document escape syntax
2022-11-09 06:25:18 +11:00
Sean Gosiaco
8ee493f48d
Added quasar-js and quasar-ts templates (#2062) 2022-11-08 20:34:05 +11:00
github-actions[bot]
95116912a2
chore: update sponsors.svg (#2054)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-06 15:32:15 +11:00
github-actions[bot]
55f76a291b
chore: update sponsors.svg (#2051)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-05 14:34:14 +11:00
github-actions[bot]
928bc75602
chore: update sponsors.svg (#2049)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-11-04 18:32:17 +11:00
Lea Anthony
18b2d315dd
Modularize wails (#2009)
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-11-03 21:21:40 +11:00
github-actions[bot]
3d62681450
chore: update sponsors.svg (#2022)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-10-30 19:27:08 +11:00
stffabi
638caf72f0
[assetserver] Introduce middleware and extract options (#2016)
* [assetserver] Add support for HTTP Middlewares

* [dev] Disable frontend DevServer if no Assets has been defined and inform user

* [dev] Consistent WebSocket behaviour in dev and prod mode for assets handler and middleware

In prod mode we can't support WebSockets so make sure the
assets handler and middleware never see WebSockets in dev mode.

* [templates] Migrate to new AssetServer option

* [docs] Add assetserver.Options to the reference
2022-10-29 23:15:15 +02:00
Lea Anthony
4cd89e1507
Add Angular docs 2022-10-29 19:35:41 +11:00
github-actions[bot]
ac8ed94ae6
chore: update sponsors.svg (#2018)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-10-26 18:29:36 +11:00
Lea Anthony
52238f0fdd
Update Mac troubleshooting guide 2022-10-26 08:23:00 +11:00
Lea Anthony
6a12d01624
Update v2.1.0 release notes 2022-10-26 08:19:46 +11:00
Misite Bao
00864fa14f
docs: sync documents (#2013) 2022-10-26 08:02:36 +11:00
Lea Anthony
6d94cb4afe
Add installation error docs 2022-10-25 06:06:53 +11:00
Joshua Hull
9f751d66e0
Add single listener deregistration (#1969)
* Add single listener deregistration

* Return function to stop listening, updates types

* Add missing returns, improve documentation

* Duplicate interface in go

* Define eventName

* Use lo instead for filtering

* Move logger to Interface. Add sample test.

* Add vite test for events

* Add js test workflow

* Add corresponding go method to remove all events

* Update documentation

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-10-23 09:03:37 +11:00
Binyamin Aron Green
4bff4af2b0
Add JSON schema for config file (#1864)
* Add JSON schema for config file

* Fix typo in wails config schema

* Update wails.tmpl.json

* Update wails.tmpl.json

* Add reference to schema in docs

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-10-22 21:07:37 +11:00
Will Andrews
c55f94a3dc
[Docs] Add troubleshooting guide for unable to start service (#2001)
* add troubleshooting

* moved

* Added to the docs repo

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-10-22 21:04:18 +11:00
github-actions[bot]
2fd704e47c
chore: update sponsors.svg (#2003)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-10-22 00:40:09 +11:00
Will Andrews
38f6b8787f
[Docs] Add troubleshooting guide for unable to start service (#2000)
* add troubleshooting

* moved
2022-10-21 07:42:57 +11:00
Scott Opell
7fcb537f85
feature/turn off color terminal output of dev command (#1947)
* feat: Adds option to dev command to turn off color terminal output

* Update docs

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-10-20 21:11:20 +11:00
github-actions[bot]
789a4e9bba
chore: update sponsors.svg (#1991)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-10-19 20:34:17 +11:00
Lea Anthony
d9e077389c
Update changelog 2022-10-18 07:28:41 +11:00
Lea Anthony
94a936e3ad
Update changelog 2022-10-18 07:26:59 +11:00
Lea Anthony
639389022b
Update date 2022-10-18 07:24:10 +11:00
Lea Anthony
a5fba5b218
Release/v2.1.0 (#1988)
* Add changelog. Fix zoom docs. Add Info.dev.plist info

* Update build assets README.md

* Update changelog

* actions/checkout@v2 => v3

* Docs
2022-10-18 07:21:07 +11:00
cuigege
ef6263c164
Update events.mdx (#1979) 2022-10-15 20:08:25 +11:00
Misite Bao
7b501a8fd1
docs: sync documents (#1968)
* docs: update template description

* docs: sync documents
2022-10-15 10:29:31 +11:00
github-actions[bot]
24dbd71be0
chore: update sponsors.svg (#1973)
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-10-15 10:28:58 +11:00
Pierre Joye
f4adff1cb3
#1057 expose ZoomFactor get/set and add the respective windows only options (#1463)
* #1057 expose ZoomFactor get/set and add the respective windows only options

* Remove debug log, use IsZoomControlEnabled as well

* use math.float to/from 64bits functions instead

* Add new windows options ZoomFactor and IsZoomControlEnabled doc

* Grammar

* Update options.mdx

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-10-14 08:46:14 +11:00
Lea Anthony
7effede62b
Add support for Info.dev.plist (#1960) 2022-10-14 07:58:43 +11:00
Lea Anthony
de1d032f10
Use swc + pnpm (#1966)
* Use swc + pnpm

* Upgrade deps
2022-10-13 21:22:57 +11:00
Lea Anthony
4ca0580ced
Chore/generate sponsors (#1965)
* Create PR

* chore: update sponsors.svg (#1964)

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

* Delete branch after merge

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com>
2022-10-13 20:10:12 +11:00
Lea Anthony
855c74ff30
Make highlighted code line easier to read. Fixes #1951. 2022-10-12 21:43:28 +11:00
Rob Nice
c78f59bbc1
Add Elm Tailwind CSS community template (#1939)
* add link/description

* rename project
2022-10-11 19:22:24 +11:00
Lea Anthony
eee6797907
Add WindowExecJS method (#1927)
* Add WindowExecJS

* [devserver] Embed the base frontend into the DevServer struct

* Update docs

Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-10-05 08:44:23 +11:00
Misite Bao
130f4cc36a
docs: sync documents (#1936) 2022-10-04 19:22:35 +11:00
Artur S
f3cbd383a3
add react-ts-vite-tailwind template (#1930) 2022-10-02 22:38:58 +11:00
Zámbó, Levente
2690250378
Add window transparency for linux (#1926) 2022-10-01 15:44:38 +10:00
Richard Guay
d92e8d43c8
Adding Tutorial link (#1903)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-30 08:40:30 +10:00
Misite Bao
5421f559df
docs: sync documents (#1907)
* fix(website): fix command flag name

* feat(website): sync translations
2022-09-30 07:17:34 +10:00
Lea Anthony
e22cfc18c9
Update howdoesitwork.mdx 2022-09-28 08:32:14 +10:00
ALMAS
2d61278125
Update Chinese translation (#1894)
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-09-26 20:43:28 +10:00
Arif Ali
73b9dead5d
obfuscated instead of obfuscate in the docs (#1895)
the option in the docs is the wrong flag you have to add a d at the end
2022-09-24 15:05:18 +10:00
Lea Anthony
fd32734382
Add support for default No button (#1875)
* Add support for default No button

* Fix tests
2022-09-23 10:50:54 +10:00
Lea Anthony
8bbbb0f148
Fix i18n blog 2022-09-22 18:34:04 +10:00
Lea Anthony
495c129ec6
Update blog 2022-09-22 11:27:40 +10:00
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
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
28fd3cdba1
Fix link to runtime docs in introduction page 2022-09-15 21:11:12 +10:00
stffabi
854bd9433d
[go] Bump minimum required go version to 1.18 (#1854) 2022-09-14 23:47:15 +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