Re: copying OS X binary resources & isfile question

Stefan Csomor <csomor-ejQy8aU/RJv3mm9ruovRYR+/[email protected]> Tue, 05 Aug 2008 15:08:00 +0200
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <C4BE1D50.47213%[email protected]>
Hi Vaclav

>> ok, I thought you were aware of it, so I didn't want to elaborate on
>> something known: currently eg for the minimal sample the app is built once
>> as a single file ./minimal , in the finder this is the file with the old wx
>> icon. (This is the file that doesn't receive input when double clicked,
>> that's what people complain about on the list).
> 
> In other words, the only problem is that people are confused by Finder's
> representation of the build directory, right?

mostly, there are now two applications with the same name visible to the
user, one works, the other doesn't

more technically there are two other steps in the build process which aren't
needed since we are doing bundles :

- the setting of the custom icon with SetFile, setting the type of the
single file exe to APPL, done with the  ...__mac_setfilecmd,
- the rezzing of .r resource files, done with the ...._mac_rezcmd

if we get rid of those two steps, the single file exe gets at least a
terminal screen icon, and is also reflected in the info dialog as being a
'unix executable', the risk of mistaking one for the other would already be
reduced, I'd think at least ;-)

Thanks,

Stefan




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/