shitty tweaks.

This commit is contained in:
Bryce Covert
2019-12-15 15:16:46 -08:00
parent ec1f9e1b2f
commit 297214896f
6 changed files with 14 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
{
"platform": "mac",
"jdk": "/Users/brycecovert/dev/jvms/jre1.8.0_112.jre/Contents/jre.zip",
"jdk": "/Users/bryce/Documents/jdk8u202-b08/Contents/Home/",
"executable": "Tick's Tales",
"vmargs": ["-Dui_scale=1.0"],
"vmargs": ["-Duse-repl=false", "-Dui_scale=1.0", "-Dno-steam=true", "-Dclojure.compiler.direct-linking=true", "-Dis-desktop=true", "-Dplatform=desktop"],
"classpath": ["target/advent-standalone.jar"],
"mainclass": "advent.core.desktop_launcher",
"resources": ["resources/icon", "steam_appid.txt"],

View File

@@ -22,7 +22,7 @@
false)))
(defn use-pref []
(swap! has-purchased? #(or % (check-purchase-pref)))
(swap! has-purchased? #(or % (check-purchase-pref) (= "desktop" (System/getProperty "platform"))))
(println "preferences purchased:" @has-purchased?))
(defn start-purchase []