mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 22:02:01 +08:00
Create dialog dir if missing
This commit is contained in:
parent
f4ca9a6b9e
commit
44c55d06a6
@ -121,8 +121,7 @@ func (d *DesktopBuilder) processDialogIcons(assetDir string, options *Options) e
|
||||
|
||||
// If the directory does not exist, create it
|
||||
if !fs.DirExists(dialogIconDirectory) {
|
||||
defaultDialogIconsDirectory := fs.RelativePath("./internal/packager/icons/default/dialog")
|
||||
err := fs.CopyDir(defaultDialogIconsDirectory, dialogIconDirectory)
|
||||
err = fs.MkDirs(dialogIconDirectory)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user