Skip to content

Commit

Permalink
Pass obfuscation settings from wails.json (#3080)
Browse files Browse the repository at this point in the history
* pass obfuscation settings from wails.json

* add to changelog
  • Loading branch information
APshenkin authored Nov 26, 2023
1 parent 674042d commit b2839ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions v2/cmd/wails/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ func buildApplication(f *flags.Build) error {
return err
}

// Set obfuscation from project file
if projectOptions.Obfuscated {
f.Obfuscated = projectOptions.Obfuscated
}

// Set garble args from project file
if projectOptions.GarbleArgs != "" {
f.GarbleArgs = projectOptions.GarbleArgs
}

// Create BuildOptions
buildOptions := &build.Options{
Logger: logger,
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 @@ -44,6 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed issue with npm being called npm20 on openSUSE-Tumbleweed. Fixed by @TuffenDuffen in [PR](https://github.com/wailsapp/wails/pull/2941)
- Fixed memory corruption on Windows when using accelerator keys. Fixed by @stffabi in [PR](https://github.com/wailsapp/wails/pull/3002)
- Fixed binding mapping for obfuscated build, when binding are in different structs. Fixed by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3071)
- Fixed issue with obfuscation settings in wails.json. Fixed by @APshenkin in [PR](https://github.com/wailsapp/wails/pull/3080)

## v2.6.0 - 2023-09-06

Expand Down

0 comments on commit b2839ed

Please sign in to comment.