5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-20 10:59:30 +08:00
wails/v2
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
..
cmd/wails Refactored wails dev command: 2021-10-03 23:01:42 -06:00
internal [v2] Fix killing dev command on Windows 2021-10-03 22:19:40 +11:00
pkg [v2] Misc template updates 2021-09-19 17:14:06 +10:00
go.mod [v2] fix module version in templates. Refactor ide flag 2021-09-29 20:15:26 +10:00
go.sum [v2] fix module version in templates. Refactor ide flag 2021-09-29 20:15:26 +10:00
init_windows.go [windows] Lint fixes 2021-06-21 09:58:10 +10:00
init.go [windows] Add DPI awareness 2021-04-29 21:25:03 +10:00
NOTES.md Merge commit 'a213e8bcd1d8e4e5c764978879d875d2d55dd400' as 'v2' 2020-09-15 19:52:54 -05:00
README.md [v2] Update Workflow 2021-09-13 20:04:08 +10:00
wails.go [windows-x] Experimental -> Default 2021-08-15 21:07:34 +10:00

Wails v2 ALPHA

This branch contains WORK IN PROGRESS! There are no guarantees. Use at your peril!

This document will be updated as progress is made.