This repository has been archived by the owner on Nov 29, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Add TiShadow Support #224
Milestone
Comments
ghost
assigned joshjensen
Jan 9, 2014
Any idea why? I've added the modules into my custom tishadowapp, and updated it's tiapp.xml to include them. What am I missing? |
I found that it has to do with where TiShadow stores the app data. So in the controllers/index.js file I added: Ti.App.Properties.setString("resourcesDirectory", Ti.Filesystem.resourcesDirectory);
if(Ti.App.name === "TiShadow") {
Ti.App.Properties.setString("resourcesDirectory", Ti.Filesystem.resourcesDirectory + Ti.Platform.osname + "/");
} Then throughout the app when I need to call the resource directory instead of using "Ti.Filesystem.resourcesDirectory" I use "Ti.App.Properties.getString("resourcesDirectory")" Probably not the most elegant, but it works. |
@joshjensen, all fixed now in master |
nice app, by the way! |
Thanks @dbankier ! |
Yes, thank you and thanks for taking care of the ticket. |
@joshjensen Is this fixed now with @dbankier 's commit to TiShadow? |
@mcongrove As far as I know. I have not tested it yet. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently ChariTi does not like TiShadow
The text was updated successfully, but these errors were encountered: