Lea Anthony
0971857e7e
Fix position runtime ( #1123 )
...
* [linux] Move SetTitle and startDrag to main thread
* [linux] Move SetPosition, Center, Fullscreen and UnFullscreen to main thread
* Fix runtime Window Get/Set Position signatures
* Fix vanilla template keyboard handling
2022-02-03 21:42:14 +11:00
Lea Anthony
4d0b0947d2
Fixes #1070
2022-02-01 19:47:46 +11:00
stffabi
b1c2065dfb
[v2, windows] Add WebviewUserDataPath to windows options
2022-01-25 21:42:01 +01:00
Lea Anthony
e96410e714
Support -debug
for wails build
2022-01-17 21:14:07 +11:00
Lea\Anthony
c16bb9715f
Fix for bad default directories in dialog options. Fixes #1052
2021-12-30 17:34:06 +11:00
Lea\Anthony
3c6ed12637
New build flag: -debug
2021-12-29 06:54:52 +11:00
Lea\Anthony
5c357f012d
[v2] Update context error
2021-12-22 06:28:47 +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
6fcd4b7bd4
[v2] Support fs.FS for assets
...
Reloading changed asset files in dev mode will only work
if an embed.FS has been provided for the assets.
2021-12-06 08:50:39 +01:00
ironpark
fda3323386
basic implement
2021-12-04 04:55:36 +09:00
stffabi
47d783291d
[windows] Support drawing a frame for frameless to support hiding the titlebar
2021-12-02 11:16:13 +01: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
507e8d5222
[v2] Fix slash escaping in git username
2021-11-30 19:02:20 +11: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
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
Lea Anthony
dbcf4058e5
[windows-x] Update log runtime
2021-08-25 20:30:31 +10:00
Lea Anthony
b558246d52
[windows-x] Dev mode. Auto rebuild/reload. Auto open browser. Disconnect spinner. Base template update. mimecache
2021-08-24 23:48:03 +10:00
Lea Anthony
c3c88f5e27
[windows-x] Huge updates to devmode, runtime, build command.
2021-08-22 23:05:22 +10:00
Lea Anthony
31468aa177
[windows-x] Initial support for dev
2021-08-18 22:13:45 +10:00
Lea Anthony
83baf4c6bb
[windows-x] Support debug flag, prevent devtools, zoom and context menus in prod builds
2021-08-17 20:38:14 +10:00
Lea Anthony
8acfeba3e1
[windows-x] Fix compress text output
2021-08-15 21:32:47 +10:00
Lea Anthony
b7cd36921e
[windows-x] Experimental -> Default
2021-08-15 21:07:34 +10:00
Lea Anthony
3ac1dcc8d9
[windows-x] Use winres for processing manifest + icon
2021-08-15 20:16:14 +10:00
Lea Anthony
1d6cce7c52
[windows-x] Simplify build assets
2021-08-14 19:35:00 +10:00
Lea Anthony
c2ac4961ef
[windows-x] Don't process assets when building
2021-08-14 19:24:29 +10:00
Lea Anthony
619d8cc05e
[windows-x] Support events runtime js->go, Refactor events methods, Refactor JS runtime.
2021-08-01 22:14:56 +10:00
Lea Anthony
244b3dc2b4
[windows-x] Support embed.fs assets, log runtime
2021-08-01 22:14:56 +10:00
Lea Anthony
5b10ee4b40
[windows-x] Runtime ported. Menu shortcuts.
2021-07-25 20:21:21 +10:00
Lea Anthony
72b1e58218
[windows-x] Deprecate Super key for now
2021-07-25 20:19:08 +10:00
Lea Anthony
7eb0718c9c
[windows-x] Tidy up refactor
2021-07-25 15:56:53 +10:00
Lea Anthony
ca8d41dd3b
[windows-x] Refactor runtime again
2021-07-25 15:37:30 +10:00
Lea Anthony
179d26b1c4
[windows-x] revert refactor
2021-07-25 15:22:13 +10:00
Lea Anthony
9786053324
[windows-x] Refactor runtime
2021-07-25 15:04:01 +10:00
Lea Anthony
f02c140709
[v2] [broken - WIP] Major refactor of runtime in progress
2021-07-19 20:21:41 +10:00
Lea Anthony
b80a64b0ee
[v2] [broken - WIP] Major refactor of runtime in progress
2021-07-18 20:00:01 +10:00
Lea Anthony
fee14babbc
[windows] Basic accelerator support
2021-07-18 12:32:14 +10:00
Lea Anthony
2b69ac8391
[windows] Update manifest to use windows common comtrols v6
2021-07-16 20:15:08 +10:00
Lea Anthony
4c2804eac9
[v2] Create default windows app menu
2021-07-04 13:59:21 +10:00
Lea Anthony
6dbcd4fc45
[v2] New Svelte template. Updates to vanilla. Improved wails generate template
2021-06-30 20:50:39 +10:00
Lea Anthony
995d485a43
[v2] ldflags fix
2021-06-27 04:18:33 +10:00
Lea Anthony
fd40faabe8
[v2] Update build directory template. Update vanilla template.
2021-06-20 15:09:03 +10:00
Lea Anthony
102a8cc5a6
[windows] Support Dialog API
2021-06-19 16:29:49 +10:00
Lea Anthony
e90f5361be
[windows] Support webview2 runtime installation strategies
2021-06-15 21:25:08 +10:00
Lea Anthony
58e6ce10ad
[windows] Support disabling window icon
2021-06-14 12:00:47 +10:00
Lea Anthony
62fc489001
[windows] Remove default app title
2021-06-14 11:04:24 +10:00
Lea Anthony
eb2ac99067
[mac] fix compilation bug
2021-06-12 06:56:15 +10:00
Lea Anthony
79147c612e
[v2] Big tidy up!
2021-06-12 06:49:38 +10:00
Lea Anthony
3d75ba174b
[v2] If using -compiler flag, add go version to filename.
2021-06-11 15:24:42 +10:00
Lea Anthony
955fe1d583
[v2] Better app icon
2021-06-06 11:35:35 +10:00
Lea Anthony
82bce89086
[mac] Update branding
2021-06-05 16:02:03 +10:00
Lea Anthony
d5cbfa6749
[linux] Support wails build
and wails dev
2021-06-04 20:36:56 +10:00
Lea Anthony
d2507660c2
[linux] Get CLI working. yum->dnf. doctor improvements.
2021-06-02 20:02:45 +10:00
Lea Anthony
93d9b61366
[windows] Fix bridge payload for 'wails dev'
2021-05-30 20:03:01 +10:00
Travis McLane
31cf04a944
fix shadowed err ( #718 )
2021-05-19 05:55:05 +10:00
Lea Anthony
08f4476087
Support for upx and more go:embed.
2021-05-18 21:25:16 +10:00
Lea Anthony
8be2a39daf
[windows] Generate syso file for windows builds
2021-05-17 19:51:43 +10:00
Lea Anthony
e9deb248f9
Move assets -> build dir. Bundle assets in CLI binary.
2021-05-13 20:12:19 +10:00
Alexander Hudek
8399cc1e57
Fix width and height being set to zero when no max width and max height is set. ( #709 )
2021-05-13 18:49:53 +10:00
Lea Anthony
6b919808c9
[windows] Added options, WindowBackgroundIsTranslucent
2021-05-02 12:04:29 +10:00
Lea Anthony
62bfe953a1
[windows] Add CGO_CXXFLAGS
2021-04-30 16:00:09 +10:00
Lea Anthony
67611d5ae7
[windows] Support -compress flag for UPX compression
2021-04-29 21:53:17 +10:00
Lea Anthony
7f54f7bb7e
fix frameless option
2021-04-28 15:44:55 +10:00
Lea Anthony
2881a5bc0d
[windows] output required DLLs on build
2021-04-28 15:44:29 +10:00
Lea Anthony
ee05884c9c
[windows] ON_MAIN_THEAD macro. Misc updates
2021-04-27 21:09:04 +10:00
Lea Anthony
385988989b
fix: min/max constraint logic
2021-04-27 19:32:25 +10:00
Lea Anthony
dea6d261ad
Ensure min/max window sizes are valid
2021-04-25 14:52:42 +10:00
Lea Anthony
5e96bb5a32
[windows] Improve wails doctor
2021-04-17 13:40:27 +10:00
Lea Anthony
6fdc87454a
Initial support for desktop notifications
2021-04-07 06:32:21 +10:00
Lea Anthony
5d444cd6dd
Support user tags
2021-04-04 13:42:48 +10:00
Lea Anthony
be43049fc6
Remove debug code
2021-04-04 05:25:21 +10:00
Lea Anthony
1b0193161c
Improvements for handling Info.plist
2021-04-04 05:14:16 +10:00
Lea Anthony
1b377fb575
Support enter as alias for return
2021-04-03 16:52:54 +11:00
Lea Anthony
86c1ea5e6a
Initial support for compression
2021-03-27 20:59:14 +11:00
Lea Anthony
86b4a4f2f5
Don't clean directory when doing universal builds
2021-03-26 18:29:28 +11:00
Lea Anthony
fd96ebc050
Better verbose output
2021-03-26 18:12:42 +11:00
Lea Anthony
6a7a288a0f
Limit StartsAtLogin
to app bundles
2021-03-26 16:52:59 +11:00
Lea Anthony
3a136a73ca
Add package for mac functions
2021-03-26 15:57:30 +11:00
Lea Anthony
50c219307f
Add clean flag
2021-03-26 14:10:25 +11:00
Lea Anthony
6eb4b0a419
Fix packaging universal builds
2021-03-25 21:12:29 +11:00
Lea Anthony
41d2158375
Support building arm64 & universal binaries.
2021-03-25 21:12:29 +11:00
Lea Anthony
92ebf506dd
Get app compiling
2021-03-20 18:32:09 +11:00
Lea Anthony
39bfa5d910
Support disabling tray menu. Fix font sizing. Tooltip in tray menu support.
2021-03-18 20:54:53 +11:00
Lea Anthony
a962ae6f63
Support rich text in Tray labels
2021-03-17 23:30:08 +11:00
Lea Anthony
c7dee158ba
tray menu Icon->Image. Support template images.
2021-03-17 22:24:09 +11:00
Lea Anthony
bbf4dde43f
Support upserting environment variables
2021-03-12 23:41:13 +11:00
Lea Anthony
0afd27ab45
Add FileLogger option
2021-03-12 23:40:35 +11:00
Lea Anthony
81e83fdf18
Ensure modifiers are lowercase when parsing
2021-03-07 16:21:30 +11:00
Lea Anthony
18adac20d4
Tray menu open/close events
2021-03-06 00:25:34 +11:00
Lea Anthony
e124f0a220
Support Alternative menu items
2021-03-04 06:07:45 +11:00
Lea Anthony
b4c669ff86
Support custom protocols
2021-02-28 22:08:23 +11:00
Lea Anthony
2d1b2c0947
Guard app signing
2021-02-28 15:29:15 +11:00
Lea Anthony
f48d7f8f60
Add support for -sign
2021-02-27 20:32:29 +11:00
Lea Anthony
bb8e848ef6
Run go mod tidy before compilation
2021-02-27 14:03:54 +11:00
Lea Anthony
552c6b8711
fix: modifiers
2021-02-23 18:57:59 +11:00
Lea Anthony
9889c2bdbb
Support Activation Policy
2021-02-23 08:52:56 +11:00