hopefully catching more issues on command line.

This commit is contained in:
Bryce Covert
2016-01-28 16:57:18 -08:00
parent 9e7008ea84
commit 6786c8b0d6
5 changed files with 9 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
"executable": "Tick's Tales", "executable": "Tick's Tales",
"appjar": "target/advent-standalone.jar", "appjar": "target/advent-standalone.jar",
"mainclass": "advent/core/desktop_launcher", "mainclass": "advent/core/desktop_launcher",
"resources": ["resources/icon" ], "resources": ["resources/icon", "steam_appid.txt" ],
"minimizejre": "soft", "minimizejre": "soft",
"outdir": "target/linux/i586" "outdir": "target/linux/i586"
} }

View File

@@ -4,7 +4,7 @@
"executable": "Tick's Tales", "executable": "Tick's Tales",
"appjar": "target/advent-standalone.jar", "appjar": "target/advent-standalone.jar",
"mainclass": "advent/core/desktop_launcher", "mainclass": "advent/core/desktop_launcher",
"resources": ["resources/icon" ], "resources": ["resources/icon", "steam_appid.txt" ],
"minimizejre": "soft", "minimizejre": "soft",
"outdir": "target/linux/amd64" "outdir": "target/linux/amd64"
} }

View File

@@ -4,7 +4,7 @@
"executable": "Tick's Tales", "executable": "Tick's Tales",
"appjar": "target/advent-standalone.jar", "appjar": "target/advent-standalone.jar",
"mainclass": "advent/core/desktop_launcher", "mainclass": "advent/core/desktop_launcher",
"resources": ["resources/icon" ], "resources": ["resources/icon", "steam_appid.txt"],
"minimizejre": "soft", "minimizejre": "soft",
"outdir": "target/osx/Tick's Tales.app" "outdir": "target/osx/Tick's Tales.app"
} }

View File

@@ -4,7 +4,7 @@
"executable": "TicksTales", "executable": "TicksTales",
"appjar": "target/advent-standalone.jar", "appjar": "target/advent-standalone.jar",
"mainclass": "advent/core/desktop_launcher", "mainclass": "advent/core/desktop_launcher",
"resources": [], "resources": ["steam_appid.txt"],
"minimizejre": "soft", "minimizejre": "soft",
"outdir": "target/windows/" "outdir": "target/windows/"
} }

View File

@@ -15,7 +15,9 @@
[advent.pathfind]) [advent.pathfind])
(:import [com.badlogic.gdx.graphics Pixmap Pixmap$Filter Texture Texture$TextureFilter] (:import [com.badlogic.gdx.graphics Pixmap Pixmap$Filter Texture Texture$TextureFilter]
[com.badlogic.gdx.graphics.g2d TextureRegion] [com.badlogic.gdx.graphics.g2d TextureRegion]
[com.badlogic.gdx Gdx Application])) [com.badlogic.gdx Gdx Application]
[java.io FileOutputStream File PrintStream])
)
(defonce am (asset-manager)) (defonce am (asset-manager))
@@ -24,6 +26,7 @@
(defgame advent (defgame advent
:on-create :on-create
(fn [this] (fn [this]
(clojure.tools.logging/log-capture! *ns* :warn :error)
(steam/init) (steam/init)
(set-screen! this title/title-screen))) (set-screen! this title/title-screen)))
@@ -34,5 +37,5 @@
(try (screen-fn) (try (screen-fn)
(catch Exception e (catch Exception e
(.log Gdx/app "ERROR" (with-out-str (.printStackTrace e))) (.log Gdx/app "ERROR" (with-out-str (.printStackTrace e)))
(log/error e) (log/error e (with-out-str (.printStackTrace e)))
(set-screen! advent title/title-screen))))) (set-screen! advent title/title-screen)))))