Compare commits

..

2 Commits

Author SHA1 Message Date
Lea Anthony
86d850ac12 feat: WailsShutdown callback
Now handles proper shutdown through:
  * runtime.Window.Close()
  * Killing the main window
  * Ctrl-C
2019-10-23 13:09:27 +11:00
Lea Anthony
b75aee1128 feat: support close in bridge mode 2019-10-23 13:05:48 +11:00
2 changed files with 1 additions and 10 deletions

View File

@@ -219,15 +219,6 @@ func InstallFrontendDeps(projectDir string, projectOptions *ProjectOptions, forc
const md5sumFile = "package.json.md5"
// If node_modules does not exist, force a rebuild.
nodeModulesPath, err := filepath.Abs(filepath.Join(".", "node_modules"))
if err != nil {
return err
}
if !fs.DirExists(nodeModulesPath) {
forceRebuild = true
}
// If we aren't forcing the install and the md5sum file exists
if !forceRebuild && fs.FileExists(md5sumFile) {
// Yes - read contents

View File

@@ -1,4 +1,4 @@
package cmd
// Version - Wails version
const Version = "v0.18.4"
const Version = "v0.18.3"