Skip to content

Commit

Permalink
Remove the hard coded path separators for the music player sample icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy committed Mar 28, 2024
1 parent 89afd6a commit 6e578fc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,10 @@ module Shell =
type ShellWindow() as this =
inherit HostWindow()
do
let iconPath = System.IO.Path.Combine("Assets", "Icons", "icon.ico")

base.Title <- "Music Player in F# :)"
base.Icon <- WindowIcon("Assets\Icons\icon.ico")
base.Icon <- WindowIcon(iconPath)
base.Width <- 800.0
base.Height <- 600.0
base.MinWidth <- 526.0
Expand Down

0 comments on commit 6e578fc

Please sign in to comment.