I have these lines of (probably incompetent) code in an application:
set vmPath to (path to me) & "Contents:Resources:Files:MacOS.sheepvm" as string set vmFile to vmPath as alias set vmPosix to (POSIX path of vmFile) as string set extfsPath to (vmPosix & "extfspath")
They cause no problem when I run my application, but if I try to run it SD, I get this error:
Stopped:(Error: File Macintosh HD:Users:edward:Desktop:Mac OS 9.app::Contents:Resources:Files:MacOS.sheepvm wasn't found.)
Notice the two colons between “app” and “Contents”. I’m assuming that’s the problem.
EDIT: I now see that I can avoid this by replacing all that code with this one line:
set extfsPath to (POSIX path of (path to me)) & "Contents/Resources/Files/MacOS.sheepvm/extfspath"
But perhaps this really is a bug in SD?