mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Fix syso generation bug
This commit is contained in:
parent
cfab21bc81
commit
96b97b25bf
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ func GenerateSyso(options *SysoOptions) (err error) {
|
|||
}
|
||||
defer func() {
|
||||
err2 := iconFile.Close()
|
||||
if err2 != nil {
|
||||
if err == nil && err2 != nil {
|
||||
err = errors.Wrap(err, "error closing icon file: "+err2.Error())
|
||||
}
|
||||
}()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue