Skip to content

Commit

Permalink
#3200: Use OutputFilename instead of Name (#3551)
Browse files Browse the repository at this point in the history
* Use OutputFilename instead of Name

* #3200: add changelog entry

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
  • Loading branch information
plutov and leaanthony authored Jul 19, 2024
1 parent 482f19e commit e941f36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/pkg/commands/build/packager.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ func packageApplicationForDarwin(options *Options) error {
return err
}
// Copy binary
packedBinaryPath := filepath.Join(exeDir, options.ProjectData.Name)
packedBinaryPath := filepath.Join(exeDir, options.ProjectData.OutputFilename)
err = fs.MoveFile(options.CompiledBinary, packedBinaryPath)
if err != nil {
return errors.Wrap(err, "Cannot move file: "+options.ProjectData.OutputFilename)
return errors.Wrap(err, "Cannot move file: "+options.CompiledBinary)
}

// Generate Info.plist
Expand Down
1 change: 1 addition & 0 deletions website/src/pages/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Fixed
- Fixed MacOS build to use `outputfilename` from wails.json. [#3200](https://github.com/wailsapp/wails/issues/3200)
- Fixed file drop events on windows. Fixed in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi
+ Fixed file drop events on Windows in [PR](https://github.com/wailsapp/wails/pull/3595) by @FrancescoLuzzi

Expand Down

0 comments on commit e941f36

Please sign in to comment.