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
a8fcd994c9
Merge branch '930_-_default_window_state'
2021-11-16 18:23:43 +11:00
Lea Anthony
3a93c08813
[linux] basic windowing
2021-11-14 22:40:37 +11:00
Lea Anthony
ab1469638f
[linux] get compiling working
2021-11-13 17:06:48 -08:00
Lea Anthony
56ef4ddd47
[v2] Add WindowStartState. Fix startHidden option. Only windows supported atm
2021-11-10 18:11:54 +11: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
aab67b416f
[mac] add default menu
2021-11-03 19:22:38 +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
489b9b358b
[mac] menu support
2021-10-30 09:51:46 +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
4e68f92083
[v2] Add WindowGetPos & WindowGetSize
2021-10-18 21:42:02 +11:00
Lea Anthony
3edbda313e
[mac] add SetRGBA and basic hooks for asset serving
2021-10-17 21:50:15 +11:00
Lea Anthony
616ecabb41
[mac] migrated colour code
2021-10-14 20:38:11 +11:00
Lea Anthony
a1323ce5e9
[mac] experimental
2021-10-13 22:01:35 +11:00
Lea Anthony
e0e4c0ae11
[v2] Add "AlwaysOnTop" option
2021-10-13 08:02:35 +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
ae29a3b1cd
[v2] Misc template updates
2021-09-19 17:14:06 +10: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
be87d73da8
[v2] go fmt + windowIsTranslucent
2021-09-15 20:30:14 +10:00
misitebao
954470250e
feat: added a method to open the link in runtime(wailsapp#796)
2021-09-13 17:58:36 +08:00
Lea Anthony
d6cdd1df82
[v2] Update Menu runtime
2021-09-12 20:45:40 +10:00
Lea Anthony
3c0da9fd15
[windows] support runtime.WindowSetRGBA
2021-09-12 16:32:43 +10:00
Lea Anthony
88bbfcb7f1
[v2] Guard against nil context
2021-09-09 20:11:48 +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
dacea399ab
[v2] Refactor assets type
2021-09-07 07:06:58 +10:00
Lea Anthony
a78b9a5b9b
[v2] allow no package.json
2021-09-07 07:06:18 +10:00
Lea Anthony
1e9807189c
[windows] Workaround for DPI scaling bug
2021-09-07 07:04:29 +10:00
Lea Anthony
2c2ce66ec4
[windows] Fix bug with windows options
2021-09-05 22:40:34 +10:00
Lea Anthony
505bb51a27
[v2] Tidy up.
2021-09-05 16:21:24 +10:00
Lea Anthony
6ade38e0ff
[windows] Fix build assets, use 512x512 icon
2021-09-03 20:34:14 +10:00
Lea Anthony
20f82cbde4
[v2] Default project path to cwd
2021-09-03 18:55:44 +10:00
Lea Anthony
0b71d64931
[v2] window.backend -> window.go
2021-09-01 20:52:34 +10:00
Lea Anthony
8db91df185
[windows] Fix compiled binary path
2021-09-01 06:42:30 +10:00
Lea Anthony
a7c5064a33
[windows-x] Generate runtime wrapper in project, initial model binding, better error handling in calls, assetdir fix,
2021-08-27 21:11:03 +10:00
Lea Anthony
f20ce7411d
[windows-x] Add wailsjs directory flag
2021-08-26 23:25:29 +10:00
Lea Anthony
01de76a32e
[windows-x] Improve compiler flags (big speedup)
2021-08-26 23:23:30 +10:00
Lea Anthony
58dc917fb7
[windows-x] Startup/Shutdown -> OnStartup/OnShutdown
2021-08-26 20:38:03 +10:00