Open joshjensen opened 10 years ago
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.
Currently ChariTi does not like TiShadow