5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-15 16:39:32 +08:00
Commit Graph

298 Commits

Author SHA1 Message Date
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
Lea Anthony
d4191e7d1b
Support parsing keyboard shortcuts 2021-02-20 21:32:32 +11:00
Lea Anthony
4362a14459
Dev colours 2021-02-20 15:25:40 +11:00
Lea Anthony
d8ad250608
Template Image support 2021-02-19 05:25:23 +11:00
Lea Anthony
e4b03f510b
First step to bridge support 2021-02-06 21:50:21 +11:00
Lea Anthony
e1b7332c47
Graceful shutdown 2021-02-03 07:14:44 +11:00
Lea Anthony
fe87463b78
Move Bind() into app config 2021-01-26 07:04:12 +11:00
Lea Anthony
064ff3b65e
Change build wording 2021-01-26 06:38:54 +11:00
Lea Anthony
f40899821f
Support ToolTips 2021-01-23 16:14:48 +11:00
Lea Anthony
47bca0be88
Support updating tray labels in an efficient manner 2021-01-16 11:35:49 +11:00
Lea Anthony
7ac8cc6b8b
Add Menu.Merge() to combine 2 menus 2021-01-15 11:53:55 +11:00
Lea Anthony
742e4ba2cb
Remove WailsInit and WailsShutdown methodsr 2021-01-14 11:07:06 +11:00
Lea Anthony
15a273458e
Ensure build directory exists when building 2021-01-13 23:46:47 +11:00
Lea Anthony
e65118e962
Fixed and refactored context menu support 2021-01-13 22:51:44 +11:00
Lea Anthony
a86fbbb440
Removal of menu IDs. WARNING: context menus are currently broken 2021-01-13 21:14:44 +11:00
Lea Anthony
1921862b53
Partially introduce context menu changes back 2021-01-12 21:20:08 +11:00
Lea Anthony
db6dde3e50
[WIP] Support tray in menu manager 2021-01-12 15:55:28 +11:00
Lea Anthony
b4b7c9d306
Implemented MenuItem.Remove() to remove from the menu structures 2021-01-11 11:57:49 +11:00
Lea Anthony
8053357d99
Support Menu updates! 2021-01-11 11:21:28 +11:00
Lea Anthony
8ee8c9b07c
[WIP] New menu processor 2021-01-10 21:31:13 +11:00
Lea Anthony
3a2d01813a
Don't inline functions in debug builds 2021-01-10 20:32:25 +11:00
Lea Anthony
fbee9ba240
Support UpdateContextMenus. Submenus are now *menu.Menu. Tidy up++ 2021-01-08 06:28:51 +11:00
Lea Anthony
2a8ce96830
Remove custom asset bundling. Use Go's embed instead! 2021-01-05 14:28:18 +11:00
Lea Anthony
9be539cfb8
Force rebuild each time to pick up .h changes Tidy up go.mod. Bump version. 2021-01-05 14:01:53 +11:00
Lea Anthony
d2020fedda
Move generated assets to build dir. Precompile platform runtime. 2021-01-05 13:01:03 +11:00
Lea Anthony
a55fc4d0e9
Refactor TrayOptions to Tray. Add ID. 2021-01-04 15:58:28 +11:00
Lea Anthony
5d41aad539
Misc lint fixes 2021-01-03 21:31:19 +11:00
Lea Anthony
f384fc7562
Add -k flag for debug purposes 2021-01-03 05:02:48 +11:00
Lea Anthony
44c55d06a6
Create dialog dir if missing 2021-01-02 13:37:58 +11:00
Lea Anthony
a54d875ceb
Fix misc build issues 2021-01-01 13:00:38 +11:00
Lea Anthony
657df8bdda
Use assets dir in project for all application assets 2021-01-01 12:53:06 +11:00
Lea Anthony
c0fabc0bb7
Default dialog icon generation improvement 2021-01-01 12:43:21 +11:00
Lea Anthony
4fd476bb7d
Default readme for assets directory 2021-01-01 12:42:52 +11:00
Lea Anthony
2a93e2694d
Retina & theme aware dialog icons. Default icons + override ability 2020-12-30 22:36:23 +11:00
Lea Anthony
91fb3501c5
Support custom dialog icons. Move icons to new dir. 2020-12-30 08:27:00 +11:00
Lea Anthony
e18ba0eb81
Handle no tray icons 2020-12-28 14:49:15 +11:00
Lea Anthony
25f464c177
Refactor accelerator to keys package 2020-12-26 14:58:22 +11:00
Lea Anthony
3b0f852f37
Updated accelerators API 2020-12-26 06:11:22 +11:00
Lea Anthony
a85c8ba894
Remove "WithAccellerator" methods. Now mandatory in base methods 2020-12-26 06:01:10 +11:00
Lea Anthony
f0c932713b
Support changing tray icon at runtime
Support both icon & text in tray
2020-12-24 10:05:55 +11:00
Lea Anthony
a0774cf71c
Support loading multiple tray icons 2020-12-23 06:55:45 +11:00
Lea Anthony
16b872352d
Support Text label tray 2020-12-22 18:08:38 +11:00
Lea Anthony
a8995c5377
Support context menu data
Support StartHidden
2020-12-18 15:50:25 +11:00
Lea Anthony
34ac62e4ac
Updated tray icon 2020-12-16 08:59:01 +11:00
Lea Anthony
dd35f0119b
Better error handling 2020-12-11 05:41:24 +11:00
Lea Anthony
b837b1e131
Tray menu support
Bugfix move after tray use
Refactored options to handle default tray/menu
2020-12-10 07:16:10 +11:00