Skip to content

Commit f175d89

Browse files
icons for mac are different
1 parent cfa7ef3 commit f175d89

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

build.clj

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,21 @@
6868
(println "Building uberjar first...")
6969
(uber nil)
7070
(let [os-name (System/getProperty "os.name")
71-
[installer-type icon-file extra-args]
71+
[installer-type extra-args]
7272
(cond
7373
(re-find #"(?i)windows" os-name)
74-
["msi" "resources/Clay.svg.png"
75-
["--win-shortcut" "--win-menu" "--win-menu-group" "Fegloj"]]
74+
["msi"
75+
["--icon" "resources/Clay.svg.png"
76+
"--win-shortcut" "--win-menu" "--win-menu-group" "Fegloj"]]
7677

7778
(re-find #"(?i)mac" os-name)
78-
["dmg" "resources/Clay.svg.png"
79+
["dmg"
7980
["--mac-package-identifier" "com.fegloj.Fegloj"]]
8081

8182
:else ; Linux
82-
["deb" "resources/Clay.svg.png"
83-
["--linux-shortcut" "--linux-menu-group" "Development"
83+
["deb"
84+
["--icon" "resources/Clay.svg.png"
85+
"--linux-shortcut" "--linux-menu-group" "Development"
8486
"--linux-app-category" "Development"
8587
"--linux-deb-maintainer" "timothypratley@gmail.com"
8688
"--resource-dir" "package/linux"]])]
@@ -93,7 +95,6 @@
9395
"--main-jar" (str (name lib) "-" version "-standalone.jar")
9496
"--main-class" "Fegloj"
9597
"--type" installer-type
96-
"--icon" icon-file
9798
"--app-version" version
9899
"--vendor" "Fegloj"
99100
"--description" "Fegloj - A Clojure notebook environment"

0 commit comments

Comments
 (0)