Lea Anthony
4e03c84fbb
Feature/default templates ( #1334 )
2022-04-15 20:30:10 +10:00
Lea Anthony
3fbe4f71c4
Ensure there's a default wailsJS dir
2022-04-12 20:13:05 +10: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
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
Lea Anthony
9c5600d8f3
Ensure default icon is generated regardless of icon.ico availability
2022-03-14 22:35:21 +11:00
fengweiqiang
f4d1d02ded
Build added win32 compatibility ( #1238 )
2022-03-12 17:29:25 +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
Valentin Trinqué
e6424dc8ab
Update icon.ico file mode ( #1154 )
...
* Add os.O_WRONLY to icon.ico to avoid bad file descriptor error
* Wrap errors coming from winres.LoadICO()
If the file exists but is empty, a blunt "Unexpected EOF" is returned, and propagated as is.
This is not super helpful when trying to pin point what's going on.
Wrapping the error helps to locate the problem.
2022-02-16 06:02:45 +11:00
Lea Anthony
f923a431f7
Try to provide help when old xcode tools installed. #1142
2022-02-12 21:12:17 +11:00
Lea Anthony
eb0f22b4ee
Fix appicon bug on Mac. Fixes #1143
2022-02-12 20:48:43 +11:00
Lea Anthony
771594519f
[mac] Better support for multi-builds
2022-02-10 21:41:40 +11:00
Lea Anthony
ec44ca58f1
Better output for build
2022-02-10 21:25:43 +11:00
Lea Anthony
28e31c46c6
Fix output filename for windows builds
2022-02-10 21:11:32 +11:00
Lea Anthony
c2fa4b6103
Support multiple targets for windows
2022-02-10 19:55:04 +11:00
Lea Anthony
4d0b0947d2
Fixes #1070
2022-02-01 19:47:46 +11:00
Lea Anthony
e96410e714
Support -debug
for wails build
2022-01-17 21:14:07 +11:00
Lea\Anthony
3c6ed12637
New build flag: -debug
2021-12-29 06:54:52 +11:00
Dario Emerson
44035637f7
Add flag to skip mod tidy
2021-12-12 15:01:16 +01:00
Lea Anthony
008a5c70b9
[mac] Fix linking issue. Removed warnings.
2021-12-11 20:06:42 +11:00
Lea\Anthony
24eaef1604
[mac] fix dynamically linking UTIFramework during cgo build
2021-12-11 19:43:21 +11:00
Lea\Anthony
62adcab722
[mac] try dynamically linking UTIFramework during cgo build
2021-12-11 19:36:17 +11:00
stffabi
fb5bcdc364
[v2] Windows: Add file information for windows
2021-12-01 11:59:46 +01:00
stffabi
e6f42247e7
[v2] Add missing import
2021-12-01 11:51:43 +01:00
stffabi
d43b7b1882
[windows] Add arm64 support
2021-11-30 10:07:27 +01:00
Lea Anthony
e5057e1627
[linux] Fix installing cli
2021-11-29 20:25:11 +11:00
Lea Anthony
b036b8c547
[linux] Support Window start state. fixed warnings.
2021-11-28 08:40:10 +11:00
Lea Anthony
39ca977b18
[linux] basic windowing pt2
2021-11-27 20:36:48 +11:00
Eng Zer Jun
ef8d7d2fd7
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-25 12:15:43 +08:00
Eng Zer Jun
ae341be638
chore: run go fmt ./...
and go mod tidy
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-25 12:14:27 +08:00
stffabi
5e2f25af9b
[v2] Add windowsgui ldflag when crosscompiling for windows
2021-11-23 14:16:50 +01:00
Lea Anthony
d569e37b81
[mac] Fix open panel in dev
2021-11-23 21:04:01 +11:00
Lea Anthony
ab1469638f
[linux] get compiling working
2021-11-13 17:06:48 -08:00
Lea Anthony
cc2651c377
[v2] Tidy up
2021-11-08 21:02:54 +11:00
Lea Anthony
e651b9c7ff
[v2] Fix dev build when no dev command in project
2021-11-08 21:01:42 +11:00
Lea Anthony
6e8cbb8e8f
[mac] Ensure minimum osx version
2021-11-04 20:45:22 +11:00
Lea Anthony
333949ee53
[mac] better output text on build
2021-11-02 22:20:44 +11:00
Lea Anthony
a090a689cf
[mac] Fix plist generation
2021-11-02 21:56:35 +11:00
Lea Anthony
6a7118ff6d
[mac] Support cross compiling to windows
2021-10-30 10:44:22 +11:00
Lea Anthony
fd5348d26d
[v2] Fix build output
2021-10-30 10:33:30 +11:00
Lea Anthony
6721e59277
[v2] Fix build command for dev mode
2021-10-28 19:24:05 +11:00
Lea Anthony
00e9eb4b0b
[v2] fix: run frontend:dev when using wails dev
2021-10-26 19:20:09 +11:00
Lea Anthony
3022b0bf3f
[mac] Fix binary path in dev
2021-10-09 17:43:34 +11:00
Lea Anthony
3723c41d15
[mac] Fix binary path in build. Remove apple identity
2021-10-09 17:39:51 +11:00
Lea Anthony
9e347bf71f
[v2] Generate ipcdev.js
and runtimedev.js
2021-10-04 19:58:46 +11:00
Lea Anthony
817952f3d0
[windows] Misc updates for feature parity
2021-09-19 17:14:06 +10:00
Lea Anthony
5585d72c1c
[v2] Fix wailsjs generation
2021-09-15 23:20:47 +10:00
Lea Anthony
414b0149f2
[v2] Add forcebuild flag. Tags flag to dev. Refactor dev.
2021-09-09 19:44:06 +10:00
Lea Anthony
a78b9a5b9b
[v2] allow no package.json
2021-09-07 07:06:18 +10:00
Lea Anthony
6ade38e0ff
[windows] Fix build assets, use 512x512 icon
2021-09-03 20:34:14 +10:00