I guess this has been mentioned beforeā¦
But to me the current implementation under OSX makes no sense whatsoever, since you basically get only half of the needed information back (ie. I don't know which executable is running the image)
Smalltalk vmFullPath yields '/Applications'
so what about getting at least the '.app' dir? (most of the information can be reconstructed from there on)
This would simply require to change setVMPathFromApplicationDirectory:
- self.vmPathStringURL = [NSURL fileURLWithPath: [[[NSBundle mainBundle] bundlePath] stringByDeletingLastPathComponent]]; + self.vmPathStringURL = [NSURL fileURLWithPath: [[NSBundle mainBundle] bundlePath]];
camillo