5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-06 13:00:08 +08:00
Commit Graph

3315 Commits

Author SHA1 Message Date
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