lkpthreads.blogg.se

Xojo 2015r4
Xojo 2015r4











xojo 2015r4 xojo 2015r4 xojo 2015r4

On OS X a user see an application, while on Windows a folder. The fact they share a similar structure for Resources, etc. You can’t compare OS X bundles with Windows folders. There is no perfect solution, but I believe it is more in the spirit of cross platform, which is Xojo’s strong point, to have consistency between platforms, so if one day we have SpecialFolder.Resources ( feedback://showreport?report_id=6306 since 2009), it will be consistent as well. And having one Resources folder only makes sense. exe resides like a Windows form or app bundle. Then you got to consider the folder in which the. exe and Unix executable within the bundle. The true analogy between Mac OS X and Windows in regards to executable folder is not between Windows exe and Mac OS X. If one uses TPS to find the path to Resources, “myApp Libs” will never be found. In a Mac OS X app, Resources is always Resources no matter the number of Unix executables within the bundle. This would allow “Appname Resources” just like “Appname Libs”Īctually, I am not so sure that would be a good idea. It is also much cleaner to deal with for the installer, IMHO.Ī good FR: feedback://showreport?report_id=39116 Note that in the past, you could always have a Resources folder made, to host your files and stuff, instead of having a mess of files in the application folder. In Mac OS X, the resources folder is inside the bundle, but it exists as well, so it is nice to be able to find the files there. If you want to hide things inside the code as before, you can use a constant containing an encodeBase4 version of the file or picture you need in a constant.įinally, as a cross platform developer, I think having a Resources folder is a good idea for consistency. For resources, yes, both EXE will look into the same Resources folder. If you have two exe in the same folder, make sure to rename the “myapp Libs” to “libs” if both EXE are complied with the same version of Xojo. Now I have to work on my existing projects or go back to 2015.1. Why not making this process easier with a build option (build dialog)? Are there some example project that show this solution?įor some reasons the “resource folder” solution looks not very well-conceived. There are some tips in the xojo blog to use virtual volumes instead of the resource folder to hide the content. What happens if I have more then one EXE file in that folder? Because the folder name is always the same, do I have to merge the content of both exe files in one resource folder? I’m a little bit confused since Xojo 2015.2 windows builds have a resource folder.













Xojo 2015r4