Skip to content

Commit

Permalink
fix moving exec when bundling (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed Aug 24, 2018
1 parent e8cb7b5 commit b8fcac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/goapp/mac.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func createAppBundle(bundle driver.Bundle, root, appName string) error {
}

execName := filepath.Base(root)
if err := os.Rename(execName, filepath.Join(appName, "Contents", "MacOS", execName)); err != nil {
if err := os.Rename(execName, filepath.Join(appName, "Contents", "MacOS", bundle.AppName)); err != nil {
return err
}

Expand Down

0 comments on commit b8fcac0

Please sign in to comment.