mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 04:59:38 +08:00
Merge pull request #68 from wailsapp/fix-packaging
fix: call package when -p flag provided
This commit is contained in:
commit
01dce9f139
@ -116,6 +116,14 @@ func BuildApplication(binaryName string, forceRebuild bool, buildMode string, pa
|
|||||||
}
|
}
|
||||||
packSpinner.Success()
|
packSpinner.Success()
|
||||||
|
|
||||||
|
// packageApp
|
||||||
|
if packageApp {
|
||||||
|
err = PackageApplication(projectOptions)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,6 +26,9 @@ func init() {
|
|||||||
initCmd.Action(func() error {
|
initCmd.Action(func() error {
|
||||||
|
|
||||||
message := "Building Application"
|
message := "Building Application"
|
||||||
|
if packageApp {
|
||||||
|
message = "Packaging Application"
|
||||||
|
}
|
||||||
if forceRebuild {
|
if forceRebuild {
|
||||||
message += " (force rebuild)"
|
message += " (force rebuild)"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user