From eb2ac99067b7b63ac90406d28001ce39e8b891b6 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sat, 12 Jun 2021 06:56:15 +1000 Subject: [PATCH] [mac] fix compilation bug --- v2/pkg/commands/build/desktop_darwin.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/v2/pkg/commands/build/desktop_darwin.go b/v2/pkg/commands/build/desktop_darwin.go index 1d0870b6..bc084f4f 100644 --- a/v2/pkg/commands/build/desktop_darwin.go +++ b/v2/pkg/commands/build/desktop_darwin.go @@ -4,13 +4,14 @@ package build import ( "fmt" - "github.com/leaanthony/slicer" - "github.com/wailsapp/wails/v2/internal/fs" "io/ioutil" "log" "path/filepath" "strconv" "strings" + + "github.com/leaanthony/slicer" + "github.com/wailsapp/wails/v2/internal/fs" ) func (d *DesktopBuilder) convertToHexLiteral(bytes []byte) string { @@ -21,6 +22,11 @@ func (d *DesktopBuilder) convertToHexLiteral(bytes []byte) string { return result } +// compileIcon will compile the icon found at /icon.png into the application +func (d *DesktopBuilder) compileIcon(assetDir string, iconFile string) error { + return nil +} + // We will compile all tray icons found at /assets/trayicons/*.png into the application func (d *DesktopBuilder) processTrayIcons(assetDir string, options *Options) error {