Skip to content

Commit 56d29c8

Browse files
authored
Merge pull request #134 from eerohele/uberjar
Fix uberjar generation
2 parents 06a8b02 + b11403c commit 56d29c8

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

src/clooj/core.clj

-1
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,6 @@
816816
(doall (map #(project/add-project app %) (project/load-project-set)))
817817
(let [frame (app :frame)]
818818
(utils/persist-window-shape utils/clooj-prefs "main-window" frame)
819-
(utils/enable-mac-fullscreen frame)
820819
(.setVisible frame true)
821820
(on-window-activation frame #(project/update-project-tree (app :docs-tree))))
822821
(setup-temp-writer app)

src/clooj/utils.clj

+1-10
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
;; identify OS
112112

113113
(defn get-os []
114-
(string/lower-case (.getProperty System "os.name")))
114+
(string/lower-case (System/getProperty "os.name")))
115115

116116
(def is-win
117117
(memoize #(not (neg? (.indexOf (get-os) "win")))))
@@ -558,12 +558,3 @@
558558
java.net.URL.
559559
slurp)
560560
(catch Exception _ nil)))
561-
562-
;; OS-specific utils
563-
564-
(defmacro enable-mac-fullscreen
565-
"Shows the Mac full-screen double arrow, as introduced in
566-
OS X Lion, if possible."
567-
[window]
568-
(when (is-mac)
569-
`(com.apple.eawt.FullScreenUtilities/setWindowCanFullScreen ~window true)))

0 commit comments

Comments
 (0)