Skip to content
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

Notarize the macOS dmg #29

Closed
MPlugInSpace opened this issue Feb 12, 2020 · 6 comments · Fixed by #90
Closed

Notarize the macOS dmg #29

MPlugInSpace opened this issue Feb 12, 2020 · 6 comments · Fixed by #90

Comments

@MPlugInSpace
Copy link

I tried to install this on a mac and received this error.

"BreakTime.app" can't be opened because Apple cannot check if for malicious software.

I am pretty new to mac and will investigate possible alternative install options but thought you may like to know.

OS: macOS Catalina v10.15.3
Software version: latest (unsure of version number)

Screenshot 2020-02-12 11 28 03

@tom-james-watson
Copy link
Owner

Hello. Where exactly did you download the app from? Is it from https://breaktimer.app or did you download a release file from github? Older versions of the mac app were not signed properly, but it should be now.

Can you right click the .app file in Finder and show me a screenshot of what appears when you press 'Get Info'? Thanks.

@tom-james-watson tom-james-watson added the question Further information is requested label Feb 15, 2020
@MPlugInSpace
Copy link
Author

I appologize for not responding to the first comment, I have just now, tried downloading it from both the website and github both resulting in the same message reported. I was able to get it working following the "How to open an app that hasn’t been notarized or is from an unidentified developer" section from https://support.apple.com/en-us/HT202491 .

@tom-james-watson
Copy link
Owner

OK it looks like I've misunderstood the fact that "notarized" is not the same as signing your app.

Looks like some manual work is required to get this working with electron-builder - electron-userland/electron-builder#3870

@tom-james-watson tom-james-watson changed the title Apple cannot check for "malicious software" Notarize the macOS dmg Mar 12, 2020
@tom-james-watson tom-james-watson added question Further information is requested and removed question Further information is requested labels Mar 12, 2020
@EvanGoss
Copy link

I don't have any experience to help with this, but it looks like there has been quite a few posts to electron-userland/electron-builder#3870 since March 2020.

For anyone looking for a work around - I followed the instructions in DEVELOPMENT.md to compile my own binary that runs just fine for me.

git clone
npm i
npm run package

Then open release/BreakTimer.dmg

@tom-james-watson
Copy link
Owner

Just to be clear, you can run an un-notarized app by going to Applications, right clicking the app and pressing Open. You don't need to build your own package.

The instructions for notarizing the app are here - https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application. I just haven't gotten around to it yet. I'd accept a PR adding the functionality.

@tom-james-watson
Copy link
Owner

As of version the just released version 0.9.0 (https://github.com/tom-james-watson/breaktimer-app/releases/tag/v0.9.0), the macOS app will now be notarized 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants