mirror of
https://github.com/taigrr/wails.git
synced 2026-04-15 03:11:14 -07:00
Compare commits
2 Commits
267-Check-
...
262-Add-Wa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86d850ac12 | ||
|
|
b75aee1128 |
@@ -219,15 +219,6 @@ func InstallFrontendDeps(projectDir string, projectOptions *ProjectOptions, forc
|
|||||||
|
|
||||||
const md5sumFile = "package.json.md5"
|
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 we aren't forcing the install and the md5sum file exists
|
||||||
if !forceRebuild && fs.FileExists(md5sumFile) {
|
if !forceRebuild && fs.FileExists(md5sumFile) {
|
||||||
// Yes - read contents
|
// Yes - read contents
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
// Version - Wails version
|
// Version - Wails version
|
||||||
const Version = "v0.18.4"
|
const Version = "v0.18.3"
|
||||||
|
|||||||
Reference in New Issue
Block a user