Skip to content

Commit 29aa9b2

Browse files
committed
Create icon path if not existing
1 parent 91f2ce6 commit 29aa9b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/package/macos.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ defmodule Desktop.Deployment.Package.MacOS do
6666

6767
outfile = Path.join(iconset, "icon_512x512@2x.png")
6868
cmd!("sips", ["-z", 1024, 1024, pkg.icon, "--out", outfile])
69+
File.mkdir_p!(Path.dirname(icon_path))
6970
cmd!("iconutil", ["-c", "icns", iconset, "-o", icon_path])
7071
end
7172

0 commit comments

Comments
 (0)