[mac] fix compilation bug

This commit is contained in:
Lea Anthony
2021-06-12 06:56:15 +10:00
parent 79147c612e
commit eb2ac99067

View File

@@ -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 <projectdir>/icon.png into the application
func (d *DesktopBuilder) compileIcon(assetDir string, iconFile string) error {
return nil
}
// We will compile all tray icons found at <projectdir>/assets/trayicons/*.png into the application
func (d *DesktopBuilder) processTrayIcons(assetDir string, options *Options) error {