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

248 Commits

Author SHA1 Message Date
Lea Anthony
75f703465a [v2] Generate module command. Updated wails dev 2021-10-05 22:27:12 +11:00
Cody Bentley
bdda454f69 Refactored wails dev command:
- added `devFlags` data structure for managing flags
- created `defaultDevFlags()` for generating default `devFlags` struct
- created `loadAndMergeProjectConfig()` to consolidate wails.json interaction
- re-arranged some variable creation and logic to put related pieces together
- consolidated `frontend:dev` handling to `runFrontendDevCommand()`
- added `generateBuildOptions()` for readability
- removed unused `passthruArgs` slice
- consolidated `restartApp()` call signature, removed unused `firstRun` argument
- fixed browser open option still using hard-coded default value, switched to recently added const `defaultDevServerURL`
- removed unnecessary `projectDir` variable (it's identical to `cwd` variable)
- consolidated watcher init to `initialiseWatcher()` which returns a deferable closer
- moved the main watch loop to `doWatcherLoop()`
- moved new deBounce flag handling to `loadAndMergeProjectConfig()`
2021-10-03 23:01:42 -06:00
Lea Anthony
a59d01ddb9 [v2] Fix killing dev command on Windows 2021-10-03 22:19:40 +11:00
Lea Anthony
27f8df2b31 [v2] Support "frontend:dev" command 2021-10-03 21:29:59 +11:00
Lea Anthony
7572b64bec [v2] Add -devserverurl flag 2021-10-03 15:07:10 +11:00
Lea Anthony
f6b83b0933 [v2] New -debounce flag to configure debounce time of dev server 2021-10-03 14:04:05 +11:00
Cody Bentley
4bf3eb303b Fixed base NEXTSTEPS and README in v2 template generator 2021-10-02 17:29:43 -06:00
Lea Anthony
e2e752dd06 [v2] Fix timing bug 2021-10-02 19:55:49 +10:00
Lea Anthony
b0da974a7d [v2] v2.0.0-beta.4 2021-10-02 14:16:40 +10:00
Lea Anthony
b4dc8c252a [v2] update now uses go install 2021-10-02 14:14:07 +10:00
Lea Anthony
6bc26aa669 [v2] Add .gitignore to templates 2021-09-30 08:20:32 +10:00
Lea Anthony
e013ce14a1 [v2] fix tags in dev mode 2021-09-30 07:11:49 +10:00
Lea Anthony
c8359b0743 [v2] sync go.sum 2021-09-30 07:01:12 +10:00
Lea Anthony
12b7cf09e6 [v2] Support Goland IDE 2021-09-30 07:00:46 +10:00
Lea Anthony
49b1acc147 [v2] v2.0.0-beta.3 2021-09-29 20:24:56 +10:00
Lea Anthony
4aa1464b48 [v2] fix module version in templates. Refactor ide flag 2021-09-29 20:15:26 +10:00
Lea Anthony
9a54f289c4 [v2] v2.0.0-beta.2 2021-09-29 07:25:02 +10:00
Lea Anthony
481eaa5ade [v2] beta.1 2021-09-27 21:13:54 +10:00
Lea Anthony
33c4865ca7 [v2] beta.0 test 2021-09-27 20:53:05 +10:00
Lea Anthony
3417455ba6 [v2] Template mod updates 2021-09-27 20:30:31 +10:00
Lea Anthony
020b098328 [v2] Template mod updates 2021-09-27 20:29:44 +10:00
Lea Anthony
3781cbe731 [v2] Template updates 2021-09-27 20:11:44 +10:00
Lea Anthony
b7c28ab1f2 [v2] Misc Fixes 2021-09-27 19:59:00 +10:00
Lea Anthony
828f07ea13 [v2] Misc template updates 2021-09-27 19:09:49 +10:00
Lea Anthony
8565749b0c [v2] Fixed file change detection 2021-09-26 17:52:45 +10:00
Lea Anthony
33112029b8
[v2] Check for dev binary before deleting 2021-09-25 20:15:03 +10:00
Lea Anthony
37df1e0e0f [v2] more vscode fixes 2021-09-25 14:52:11 +10:00
Lea Anthony
f7bb8771f1 [v2] Fix svelte template 2021-09-25 14:44:48 +10:00
Lea Anthony
2f2a7a567a [v2] Fix vscode output + default template 2021-09-25 14:44:23 +10:00
misitebao
23d53253f9 [v2]feat: optimize the template content of the template command 2021-09-23 04:12:16 +08:00
misitebao
54a401106b [v2]feat: optimize the content of the default template 2021-09-23 04:09:48 +08:00
Lea Anthony
36647b9370 [v2] Fix default templates README 2021-09-21 20:18:52 +10:00
Lea Anthony
bb50941770 [v2] Add version command 2021-09-21 20:16:35 +10:00
Lea Anthony
981ce4f8ad [v2] Always generate into subdir 2021-09-21 20:11:25 +10:00
Lea Anthony
92a80c7b69 [v2] Small template fix 2021-09-20 21:43:25 +10:00
Lea Anthony
09a73540ea
Merge pull request #808 from misitebao/optimization-template
feat(template): optimization template
2021-09-20 21:34:13 +10:00
Lea Anthony
731d73d2e1 [v2] Remove platform for now 2021-09-20 21:24:30 +10:00
Lea Anthony
d21fe2a526 [v2] CLI sponsor footer 2021-09-20 06:26:43 +10:00
Lea Anthony
cac15cf95c [v2] Print template support link. Update base templates 2021-09-20 06:05:39 +10:00
Lea Anthony
6aee66c35a [v2] Template fixes - update to Go 1.17 2021-09-19 20:00:20 +10:00
Lea Anthony
ae29a3b1cd [v2] Misc template updates 2021-09-19 17:14:06 +10:00
misitebao
275412358a feat(temlate): optimize the default template vanilla 2021-09-16 01:21:52 +08:00
Lea Anthony
be87d73da8 [v2] go fmt + windowIsTranslucent 2021-09-15 20:30:14 +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
33e4ec3e80 [v2] "Pack" by default in dev 2021-09-08 23:52:20 +10:00
Lea Anthony
5d2242f7a4 [v2] Delete .git for remote templates 2021-09-08 21:38:46 +10:00
Lea Anthony
6204e63c56 [v2] Svelte template fixes 2021-09-08 21:29:53 +10:00
Lea Anthony
36cd6af6df [v2] Update base templates 2021-09-07 07:05:34 +10:00
Lea Anthony
505bb51a27 [v2] Tidy up. 2021-09-05 16:21:24 +10:00
Lea Anthony
1ee9cf41e2 [v2] Enable package by default in wails build 2021-09-03 18:55:24 +10:00
Lea Anthony
1cd38d12f9 Add webview2 to wails doctor, refactored IsAppleSilicon 2021-09-03 05:55:51 +10:00
Lea Anthony
0b71d64931 [v2] window.backend -> window.go 2021-09-01 20:52:34 +10:00
Lea Anthony
627aa06786 [windows] Use forward slash paths for assetdir and wailsjsdir 2021-08-31 19:38:29 +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
58dc917fb7 [windows-x] Startup/Shutdown -> OnStartup/OnShutdown 2021-08-26 20:38:03 +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
1c5c26e04a [windows-x] Remove -k flag 2021-08-17 20:52:09 +10:00
Lea Anthony
38c507a605 [windows-x] Add skip frontend build option 2021-08-15 21:27:33 +10:00
Lea Anthony
3e28bfe717 [v2] [broken - WIP] Update vanilla template 2021-07-19 23:08:00 +10:00
Lea Anthony
b80a64b0ee [v2] [broken - WIP] Major refactor of runtime in progress 2021-07-18 20:00:01 +10:00
Lea Anthony
f06ffb62de [windows] Remove debug statement 2021-07-18 11:55:12 +10:00
Lea Anthony
4a1a4d75ad [v2] v2.0.0-alpha.73 2021-07-16 22:31:53 +10:00
Lea Anthony
f409dbdab1 [v2] v2.0.0-alpha.72 2021-07-11 14:15:05 +10:00
Lea Anthony
e1dd77fd3f [v2] Remove SetTitle from templates 2021-07-04 09:51:19 +10:00
Lea Anthony
7661082d58
[v2] v2.0.0-alpha.71 2021-07-03 18:35:14 +10:00
Lea Anthony
642c1d5ec5
[v2] Target ARM on Apple Silicon, even if CLI is compiled for AMD64 2021-07-03 16:32:47 +10:00
Lea Anthony
30e96118b1
[v2] Remove debug statement 2021-06-30 21:00:09 +10:00
Lea Anthony
efd768ac5d
[v2] Remove wails debug (now a build flag) 2021-06-30 20:52:18 +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
11cd51c9ca
[v2] v2.0.0-alpha.70 2021-06-29 23:45:13 +10:00
Lea Anthony
418438b762
[v2] v2.0.0-alpha.69 2021-06-29 23:30:16 +10:00
Lea Anthony
8ac69d6afd
[v2] Tidy generate module 2021-06-27 20:26:37 +10:00
Lea Anthony
6dec097184
[v2] Support remote templates 2021-06-27 20:15:05 +10:00
Lea Anthony
c2015b1d72
[v2] Add wails generate template command 2021-06-27 20:15:05 +10:00
Lea Anthony
9ac4990f89 [v2] v2.0.0-alpha.68 2021-06-26 18:20:58 +10:00
Lea Anthony
695f78861d [v2] v2.0.0-alpha.67 2021-06-21 19:28:51 +10:00
Lea Anthony
a2d95e1b99 [v2] Update default template 2021-06-21 14:49:08 +10:00
Lea Anthony
2d03d355c2 [v2] Vanilla template fix (no drag) 2021-06-21 14:10:13 +10:00
Lea Anthony
fd40faabe8
[v2] Update build directory template. Update vanilla template. 2021-06-20 15:09:03 +10:00
Lea Anthony
e90f5361be [windows] Support webview2 runtime installation strategies 2021-06-15 21:25:08 +10:00
Lea Anthony
aa5ff6ed2e
[v2] Update vanilla template with @wails/runtime v1.3.20 2021-06-06 12:29:49 +10:00
Lea Anthony
82bce89086
[mac] Update branding 2021-06-05 16:02:03 +10:00
Lea Anthony
c13257b9e9
[v2] v2.0.0-alpha.66 2021-06-05 14:37:12 +10:00
Lea Anthony
5b23122b35
[v2] Make user + email discovery optional 2021-06-05 14:18:42 +10:00
Lea Anthony
d5cbfa6749
[linux] Support wails build and wails dev 2021-06-04 20:36:56 +10:00
Lea Anthony
ac957b27cb
[v1] Upgrade vanilla template to use runtime v1.3.19 2021-06-03 21:00:13 +10:00
Lea Anthony
20bc332720
[v1] Fix vanilla template package-lock.json 2021-06-03 20:33:25 +10:00
Lea Anthony
d2507660c2
[linux] Get CLI working. yum->dnf. doctor improvements. 2021-06-02 20:02:45 +10:00
Lea Anthony
64264c6378 [v2] Add README to vanilla template 2021-06-01 21:40:35 +10:00
Lea Anthony
9f365ed85e [windows] Support rollup in vanilla template 2021-05-30 20:05:07 +10:00
Lea Anthony
410d23b4d9 [windows] wails doctor docker support Better output 2021-05-30 11:06:38 +10:00
Lea Anthony
a300172adc [windows] Better wails doctor installation details 2021-05-30 09:41:47 +10:00
Lea Anthony
1eba408f64 [windows] Better wails doctor diagnostics 2021-05-30 09:34:07 +10:00
Lea Anthony
be39b293b5
[mac] better wails doctor 2021-05-26 21:18:52 +10:00
Lea Anthony
f5912d29b6 Updated README.md 2021-05-18 21:29:03 +10:00
Lea Anthony
08f4476087 Support for upx and more go:embed. 2021-05-18 21:25:16 +10:00
Lea Anthony
6ab1a4adb0 Support passing arguments when using wails dev 2021-05-14 14:22:25 +10:00