mihaip / infinite-mac

A classic Mac loaded with everything you'd want
https://infinitemac.org
Apache License 2.0
1.17k stars 70 forks source link

"Infinite HD could not be opened" error when IM drive is not attached? #202

Closed that-ben closed 1 year ago

that-ben commented 1 year ago

Could the "Infinite HD could not be opened" error be avoided when we launch Infinite Mac without the Infinite HD drive attached? I know it does that because it tries to open the Infinite HD drive window in the Finder at startup. Instead of doing this, could the Infinite HD simply have a couple of aliases of the various useful folders on the desktop so that when you launch IM with the Infinite HD attached, they show on the desktop and when you don't attach Infinite HD, then they simply don't show and there's no file not found error?

infinite hd not found

asddas

mihaip commented 1 year ago

There's not much I can do here, without giving up having the Infinite HD window open.

You can create a custom boot disk that omits that startup item?

that-ben commented 1 year ago

Can I make a small 400KB app that you could put in STARTUP ITEMS instead of the Infinite Mac alias? All the app will do is check if Infinite Mac volume exists and if it does, open it, or else do nothing and quit, which will avoid any kind of error popup. I will send you both the compiled app and the full source code (just a couple lines of code!)