New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puzzling Mac download behavior #93

Closed
scripting opened this Issue Aug 28, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@scripting
Owner

scripting commented Aug 28, 2018

On the Frontier-User list, Frank Meeuwsen reports a problem using the DMG that installs the OPML Editor. He downloads the DMG, extracts the OPML folder, runs the app, and gets a dialog asking where the root is. You're not supposed to get this dialog. OPML.app is supposed to look for and automatically open opml.root in the same folder as the app. This isn't happening.

I have been able to reproduce it here. To try to narrow down the problem, I created a virgin OPML folder, zipped it, copied it to another folder, unzipped it, ran the app and it worked as it's supposed to. I then uploaded the zipped file, downloaded it, unzipped as before, ran the app, and got the behavior Frank describes. If you want to try it, you can download the zip file from my Dropbox.

I wrote a script to compare the original zip file with the downloaded file. They are identical. Something is happening when the zip file is uncompressed? Not sure. I don't have the ability to look inside the OPML app to see what's tripping it up. This is new behavior. I am having trouble coming up with theories to try.

@remorse

This comment has been minimized.

Show comment
Hide comment
@remorse

remorse Aug 28, 2018

Recent versions of Mac OS do a weird trick where they mount applications on a random path before running if the application hasn't been copied in the Finder (or something like that). If you're running the application, and you to go a terminal, and typemount, do you see the application mounted on a random folder?

I think the term to search on is "App(lication) Translocation"? I have a note in my scrapbook that goes:

2017-11-13 [Nov 13] 04:09 PM

Command to remove translocation from an application in Mac OS High Sierra

	xattr -dr com.apple.quarantine "/Applications/Keyboard Maestro.app"

I'm not sure if this is your problem or not, but it reminds me of some issues I was having which were solved by this. I'm not sure how to work around it though from the point of view of the application developer.

remorse commented Aug 28, 2018

Recent versions of Mac OS do a weird trick where they mount applications on a random path before running if the application hasn't been copied in the Finder (or something like that). If you're running the application, and you to go a terminal, and typemount, do you see the application mounted on a random folder?

I think the term to search on is "App(lication) Translocation"? I have a note in my scrapbook that goes:

2017-11-13 [Nov 13] 04:09 PM

Command to remove translocation from an application in Mac OS High Sierra

	xattr -dr com.apple.quarantine "/Applications/Keyboard Maestro.app"

I'm not sure if this is your problem or not, but it reminds me of some issues I was having which were solved by this. I'm not sure how to work around it though from the point of view of the application developer.

@tedchoward

This comment has been minimized.

Show comment
Hide comment
@tedchoward

tedchoward commented Aug 28, 2018

More info here:

tedchoward/Frontier#9

@scripting scripting closed this Aug 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment