Bundles are indeed just directories, but to be recognized as an application it must have the application bit set. To do that we need a program to set it (which is currently native to OSX) and we need a filesystem which supports that bit. If you aren't running on a platform which supports that bit, (say Win32) then you could only do it with a virtual filesystem, like say inside of a tar file. This are solvable problems, but there is no way to do it right now. For the time being the final assembly of a Mac app must be done on a Mac.
The icon structure is undocumented, but I'm sure that will be solvable as well. |