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

Always ends up uninstalling itself [mac] #208

Open
tbodt opened this issue Feb 22, 2025 · 1 comment
Open

Always ends up uninstalling itself [mac] #208

tbodt opened this issue Feb 22, 2025 · 1 comment

Comments

@tbodt
Copy link

tbodt commented Feb 22, 2025

Every time I install OpenAsar, after a little while, it somehow uninstalls itself and reverts back to the stock discord.

I'm not sure when this happens or what triggers it.

@tbodt
Copy link
Author

tbodt commented Feb 28, 2025

Turns out it's just that discord uses the stock electron updater on macos and openasar only implements restoring itself on updates for the windows updater.

I tried to write some code to fix this and it almost worked, except for code signing. Turns out discord with openasar is already in violation of code signing rules. But if you open discord before installing it, the code signing validity is cached and you can keep using it. But a new copy of discord being installed for an update will never open if openasar installs itself before the updated version ever opens.

I'm not sure if there's anything to be done other than somehow stripping the code signature. This would make it not run at all under default system security settings.

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

No branches or pull requests

1 participant