Skip to content

Commit 92e66a5

Browse files
Merge pull request #75 from jheuel/icon_path
enable icon_path (for windows builds)
2 parents 43de90f + 381497a commit 92e66a5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/bindings/window/window.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func NewWindow(options Options) *Window {
7777
Title: spawn.ApplicationName,
7878
Size: size,
7979
HasFrame: !options.HasFrame,
80+
IconPath: options.IconPath,
8081
},
8182
}
8283
dispatcher.RegisterHandler(w.DispatchResponse)

lib/commands/commands.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ type CommandArguments struct {
4747
Kiosk bool `json:"kiosk"`
4848
Focus bool `json:"focus"`
4949
HasFrame bool `json:"has_frame"`
50+
IconPath string `json:"icon_path,omitempty"`
5051
Path string `json:"path,omitempty"`
5152
Message RemoteMessage `json:"message,omitempty"`
5253
}

0 commit comments

Comments
 (0)