So corey can reload without bugging others.

This commit is contained in:
Corey Johnson
2011-11-06 13:58:15 -08:00
parent ba6e913cf8
commit 1207ced5fa

View File

@@ -1,5 +1,8 @@
resourcePath = OSX.NSBundle.mainBundle.resourcePath
#resourcePath = "/Users/corey/code/mine/Atomicity"
# Hack to get code reloading working in dev mode
if OSX.NSUserName().valueOf() == "corey"
resourcePath = "/Users/corey/code/mine/Atomicity"
else
resourcePath = OSX.NSBundle.mainBundle.resourcePath
paths = [
"#{resourcePath}/src"