mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[v3] allow build with garble (#3192)
* feat: allow build with garble * docs: update * Updated docs --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
parent
1f9f8dae66
commit
a5c32a1504
4 changed files with 10 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Fix event handling by [@leaanthony](https://github.com/leaanthony)
|
||||
- Fixed window shutdown logic by [@leaanthony](https://github.com/leaanthony)
|
||||
- Common taskfile now defaults to generating Typescript bindings for Typescript templates by [@leaanthony](https://github.com/leaanthony)
|
||||
- Fixed garble build by @5aaee9 in [#3192](https://github.com/wailsapp/wails/pull/3192)
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
|||
0
mkdocs-website/docs/en/changelog.md
Normal file
0
mkdocs-website/docs/en/changelog.md
Normal file
|
|
@ -3,6 +3,7 @@
|
|||
package cfd
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
|
@ -14,6 +15,9 @@ type FileFilter struct {
|
|||
Pattern string
|
||||
}
|
||||
|
||||
// Never obfuscate the FileFilter type.
|
||||
var _ = reflect.TypeOf(FileFilter{})
|
||||
|
||||
type DialogConfig struct {
|
||||
// The title of the dialog
|
||||
Title string
|
||||
|
|
|
|||
|
|
@ -40,6 +40,11 @@ func newApplication(options Options) *App {
|
|||
func (a *App) logStartup() {
|
||||
var args []any
|
||||
|
||||
// BuildInfo is nil when build with garble
|
||||
if BuildInfo == nil {
|
||||
return
|
||||
}
|
||||
|
||||
wailsPackage, _ := lo.Find(BuildInfo.Deps, func(dep *debug.Module) bool {
|
||||
return dep.Path == "github.com/wailsapp/wails/v3"
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue