MacDownApp / macdown

Open source Markdown editor for macOS.
https://macdown.uranusjr.com/
9.44k stars 1.09k forks source link

Error: MacDown is damaged and can’t be opened #1106

Closed fowse42 closed 4 years ago

fowse42 commented 4 years ago

Apple official says that macOS10.15.1 is not compatible with 32-bit version programs. Does MacDown provide 64-bit versions in the future? 1015

FranklinYu commented 4 years ago

I have uploaded a new build of v0.7.2 replacing the original one. Would be appreciated if everybody in this thread try it out.

nickyfoto commented 4 years ago

I use the auto update within the app upgrade successfully without problem. I'm on 10.15.1 .

manngo commented 4 years ago

I can confirm that the application runs once you have ignored the warnings and given it permission. It still flickers, though, so I’m still using 7.1.

FranklinYu commented 4 years ago

@manngo Yes, v0.7.2 won’t fix #1104. Even if I figure out the cause (which I have not) and fix it, I would do that in v0.7.3. Current priority is to make sure that I’m able to roll out a release.

hacktrick commented 4 years ago

I have uploaded a new build of v0.7.2 replacing the original one. Would be appreciated if everybody in this thread try it out.

I can open the new macdown build via "right-click open". But "Preferences -> Markdown" looks like macdown-pref-mardown

If anyone else has this problem, I will file another issue.

klaas commented 4 years ago

@hacktrick After downloading I get

Screenshot 2019-12-07 at 10 13 38

But works fine after opening/enabling in the Security & Privacy Settings! 👏👏👏

alexkaessner commented 4 years ago

@FranklinYu I get this error, basically the same as @klaas:

Error

Translated:

"MacDown" can't be opened because it is from an unidentified developer. macOS can't verify that this app does not contain malware. Safari created this file on an unknown date. Move to Trash | Cancel

I can open it with right click to bypass this message though! Sorry for the German screenshots. I'm on 10.15.1

@hacktrick This is issue is already tracked here #1103

tempelmann commented 4 years ago

To everyone: It's currently expected behavior that you have to open the app with a right click. No need to mention this as a problem here.

@FranklinYu Maybe you want to mention this fact on the website (though that's on UranusJr's site - not sure if you have access to that?)

FranklinYu commented 4 years ago

Maybe you want to mention this fact on the website

How would you like it to be mentioned on the website? Would like some more details. Like updating the release note or what?

tempelmann commented 4 years ago

@FranklinYu Ah right - the Download link on https://macdown.uranusjr.com/ is immediate. I see no good place to add such a note.

How about this instead: Instead of putting only the app into the zip, why not add also a text file there. It could be named "Read me to install MacDown.txt" and would contain text like this:

To run MacDown on your Mac, you need to:

1. Move MacDown.app to your Applications folder
2. Right-click (or ctrl-click) on MacDown.app and choose "Open" from the menu.

If you do not perform step 2, macOS will likely tell you that the app cannot be opened.

Afterwards, you can open MacDown normally with a double click as usual.
blackketter commented 4 years ago

The traditional way to distribute Mac apps is to use a DMG disk image where you can place documentation and even aliases to the Applications folder to make dragging and dropping easy. You have control over the arrangement of the icons, background images, etc. You can even add instructions in the window that explain how to launch the app safely. It's a bit more work to create but make it easier for users in the long run. A little non-technical background information here with images: https://www.maketecheasier.com/why-does-macos-use-dmg-files/

FranklinYu commented 4 years ago

@tempelmann I thought by “this fact” you meant “the v0.7.2 release has been re-built and re-uploaded“. If you are talking about “telling users that they need right-click to open the application“ then it has actually been mentioned in https://macdown.uranusjr.com/faq/#unidentified

Morane commented 4 years ago

The same for me :-(

Envoyé de mon iPhone

Le 7 déc. 2019 à 10:10, Patrick Hackbarth notifications@github.com a écrit :

 I have uploaded a new build of v0.7.2 replacing the original one. Would be appreciated if everybody in this thread try it out.

I can open the new macdown build via "right-click open". But "Preferences -> Markdown" looks like

If anyone else has this problem, I will file another issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

FranklinYu commented 4 years ago

Since no one is reporting binary corruption issue I would assume that this is fixed. While I would still be working on it, my current priority is #1104.

@tempelmann Would appreciate a Pull Request for your solution of removing code signature.

tiennou commented 4 years ago

For example, not being codesigned properly will cause LittleSnitch to report a missing signature from the previous version, on each connection. Now I'm wondering why the heck the latest version isn't signed. Sooo, you'll either have to codesign properly, so that Apple can attest that you've only used an Apple-sanctified buildsystem (without some hacked clang version, there has been an occurence 🙄), or not do it, and provide the following workaround/tidbits in the release notes :

"Please either drag the downloaded .app file into /Applications manually, to implicitly consent that you're aware of this application, and allow it to run on your machine, or alternatively, right-click on its icon, choose Open, and choose Allow to make GateKeeper aware that you're explicitly trusting this application."

Please, can we macOS power users, agree to never, ever advise anyone to change the global GateKeeper switch, pretty please ? That's like "Disk Utility > Fix permission problems", but worse, and it does not mean you you think it means — it'll disable all signature checks, on anything you download, even that malwared OpenOffice you've just accidentally hit via some weird Flash ad somewhere. Please.

Keep up the good work tho, I'll just do what I said and explicitly trust your work, but not before sincere kudos from another macOS "developer", banging its head against ever more crazy signing issues 😜.

FranklinYu commented 4 years ago

Please, can we macOS power users, agree to never, ever advise anyone to change the global GateKeeper switch, pretty please ?

I don’t recall recommending anyone to change the global switch in this issue. In fact, the option is hidden by default since macOS Sierra. If you are concerned about https://macdown.uranusjr.com/faq/, please file an issue (or better yet, a Pull Request) at https://github.com/MacDownApp/macdown-site.

I’m closing this issue since the original problem has been solved temporarily. Long-term solution will be discussed in #1127.