-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
[macOS] Install guide #53
Comments
woah, thanks a lot for this detailed guide! Ill pin it to the repo's issues and add it to the readme. By the way, any idea on why you have to do the terminal thing? Does macos consider it a virus? |
macOS flags unsigned apps from unidentified developers as potentially unsafe, hence the warning. This isn't because it considers Zen a virus, but because it doesn't recognise the developer. Running the terminal commands bypasses Gatekeeper, allowing the app to run. To avoid this, you can get an official Apple developer certificate and sign the app (although this will cost 100 USD, so for something such as this, would not exactly be viable, hence why we use terminal commands). |
that sucks :( |
in my experience the corrupted thing can be fixed with a chmod +x on the executable itself and from there you get past the unidentified developer thing in settings |
|
It's one command or the other, not both. The command you just ran clears the attributes so it should work already. (Someone tell me if I'm wrong) |
hi @mauro-balades , could you please update the icons? thanks for the browser, enjoying so far! |
Honestly, I would have loved to try, but the instructions to circumvent security measures are a real turn-off. I understand why, I get it intellectually, but I think its a bad decision, in my opinion. |
a bad decision to do what exactly? |
I would love to try Zen for real but skipping what looks to be a pretty key security feature of MacOS is throwing up all kinds of red flags. Could we donate somewhere so you could pay for the developer certificate and signing process? |
Sure, you could donate here, but they cost 100 euros |
You can just do right click -> open on the .app, and then you'll get an option to start the app. This just needs to be done on the first run. No need to drop down to the terminal. |
That's not what that message means. "This application is damaged and cannot be opened" means the app has a signature, but it's not valid (it's not trusted, the app has been tampered with, or is app was ad-hoc signed by another machine ). macOS does not give users the option to bypass this warning because it assumes the application has been tampered with. Applications shouldn't be distributed with an ad-hoc signature, because that is not what ad-hoc signatures are designed for. (see: https://apple.stackexchange.com/questions/288291/what-are-the-restrictions-of-ad-hoc-code-signing#317002) Instead, developers that don't have a certificate that is trusted on the machines they want to distribute to shouldn't code sign the apps at all, then your users will get a message that says 'The developer of this application cannot be verified' and will allow the users to open the app (via right-click open) without resorting to tricking the system into believing it doesn't need to check it.
(delete and re-copy from DMG)
|
Hey I was excited about Zen. I like Firefox, and care a lot about UX. I suspect a lot of users that care about UX will also be using OSX. But few users will bother to search out this workaround. Instead of acquiring users, your marketing site is a user-journey to a dead end. You would be better off not advertising OSX support in the first place. |
Having to install third party software to uninstall it is a major red flag and a turn off. |
I didn't have this issue on the lastest? I'm running Sonoma 14.5 on a M1 Pro. |
I'm liking it, but the install instructions on the website don't indicate that we must Edit: I see now that the website does link to this issue. Sorry. |
For the meantime, as @foxt mentioned, can the ad-hoc signature be removed? Then people can install the app as normal, they'll receive a popup, just like a lot of other open-source apps. There's no need to disable gatekeeper for this really. Either sign the app with a certificate, or not sign it. The ad-hoc signature doesn't provide any value and having to use |
Hold ctrl, and right-click >> Open You should have the option to open it. |
As @foxt and @RobertBoes mentioned, I'll be waiting for a non ad-hoc signature to test the browser. A friend suggested Zen to me and, since I didn't install Arc browser because it's Google's Chrome in all its telemetry-and-data-collection-with-no-shame mode, I was keen to new experience and UI, away from the always-the-same already established browsers. |
@mauro-balades If you could remove the ad-hoc signature—even to leave it without a signature at all—it shouldn’t be a problem. There are lots of apps I have on my mac that don’t have a signature, it is fine and there is no big workaround like this needed, it’ll just say the developer can’t be identified and on the first launch the user will need to right click to open it—something virtually any MacOS user who would find this browser in the first place will be very familiar with because most apps we download online are like that because people don’t want to pay that license. This is why the Intel Mac version of Zen Browser does not have this issue while the Apple Silicon one does, the Intel version is unsigned whereas this version has the ad-hoc signature, which is not how Mac Apps are supposed to be distributed. Just leave the signature blank like you did for the Intel Mac release and this problem should go away, opening up the app to a lot more users. |
How could I remove it? Any guides? |
I'm currently looking into the firefox docs, will update with instructions to remove build signing soon, however it looks like you may want to sign with an official apple dev account for some features anyway. See This Edit: It seems like builds shouldn't be signed unless explicitly called, and I don't see this anywhere but I admittedly don't fully understand your build process. |
@SenpaiHunters |
@NathanielH-snek It's an app called Apparency |
Heya, i've finally gotten the license keys, ill release today with them included! |
LMK when you include them, I will update Homebrew so the |
If version 35's build passes this night (ill be sleeping), then you can remove them, they are signed now |
Thanks-that explains why iCloud passkeys aren't working in the current build, and why all Apple silicon builds are ad-hoc signed |
@mauro-balades It looks like something has gone wrong with the signing. I just downloaded the macos-64x.dmg of a35 and I still get the "Zen is damaged .. move it to the Trash" dialog. |
@mauro-balades I can confirm what @AlternateRT has mentioned above. The new Alpha build - 1.0.0-a.35 (2024-09-03) build still shows the same dreaded message on Mac. I'm on MacOS Sonoma 14.6.1 |
Yes, please stop pinging me, ill look more into it... The workflow succeeded when signing the macos app so idk what's going on |
Mac M1. "Zen is damaged" issue still persists. |
im still working on it, I think I just need to notarize the dmg... @sergio-lopez93 is there any terminal output? |
Update: Once 38 is out, I want this issue gone out of existance... It works! |
Just installed 39, no need of work around. Also Touch ID works with 1Password as well. |
can't confirm, are you sure about that? Desktop App and Extension still don't sync for me, but further discussion of that is better placed here anyways probably: #856 Edit: It works when I follow the 1Password Guide to add the browser manually by going into the mac app -> settings -> browser and add it there 🥳 |
macOS Installation Guide for Zen Browser
Initial Setup
Step 1: Download the Latest Version
Step 2: Install Zen Browser
Applications
folder.Note for Developers
If you are the developer of Zen Browser, ensure you include the following icon sizes for macOS, and update the names accordingly:
These icons serve different purposes, such as the DMG and app icon (1024), Finder icon (128), etc.
Step 3: Bypass Gatekeeper
Upon trying to open Zen Browser, you may encounter a message indicating the file is damaged. This happens because the app does not have a valid developer signature and is using an Ad-hoc sign.
To bypass this warning:
Open Terminal.
Run one of the following commands:
To bypass Gatekeeper for the current installed version:
xattr -c '/Applications/Zen Browser.app/'
To bypass Gatekeeper for all versions of the app:
xattr -d com.apple.quarantine '/Applications/Zen Browser.app/'
After running the command, if successful, Terminal will return a blank line.
Step 4: Open Zen Browser
Step 5: Restart Zen Browser
At the time of writing, there seems to be a bug with Zen Browser where the menu might not display correctly on the initial start. To fix this, quit Zen Browser (
⌘Q
) and reopen it.You should now have a fully functional Zen Browser on your macOS. If you need to uninstall Zen, you can use Pearcleaner.
The text was updated successfully, but these errors were encountered: