-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Process killed immediately when running on macOS #455
Comments
You might also need to allow |
Allowing files does not stop the process from being killed. |
It runs fine if you clone the project and build it locally. I guess there is something wrong with the packaging |
Running it via |
I don't work in terminal space - how do I use dotnet? It worked beautifully on Windows, but I really intended to use it with MacOS arm. |
You can download .NET runtime (or SDK) here: https://dotnet.microsoft.com/en-us/download Then use the terminal, switch to the directory with the app, and run |
In first you need to install dotnet from brew with this command : And now you can use the @Tyrrrz command : |
@Raphael0010 with |
When I run : |
Okay that's unfortunate |
The solution to this issue is probably an app bundle, similar to Tyrrrz/DiscordChatExporter#1249 |
This is definitely a gatekeeper/signing problem, I'm doubtful that an app bundle would solve it. With gatekeeper disabled, it opens just fine. With gatekeeper enabled, it complains about the app itself, along with all of the libraries it tries to load. In pre-sequoia macOS it would probably only complain about the main executable. I have seen this with app bundles as well as raw executables like this. The only easy workaround is to disable gatekeeper for a bit, and once you've done that and opened the app, you can re-enable gatekeeper and it will continue to allow this app (although if you redownload it or download an update, you'll have to do this all again) Alternatively, yt-dlp works great on macOS if you're okay with a bit of command line, since it's python no weirdness with gatekeeper is needed. Reading through this again after writing this out though, I never got the "killed" message when trying to run it, even with gatekeeper enabled. Have you set Allow Applications from App Store and Known Developers in Privacy and Security? That could be the source of this issue, as if it's set to App Store only, I don't think it will let anything even try to run other than App Store downloads. |
Version
v1.12.2
Platform
macOS 14
Steps to reproduce
Terminal looks like this:
(base) ➜ YoutubeDownloader.osx-arm64 ./YoutubeDownloader
[1] 4396 killed ./YoutubeDownloader
Details
can't open the app, no matter running in terminal or clicking the "YoutubeDownloader" in the folder
p.s. already allowed this app in system settings
Checklist
The text was updated successfully, but these errors were encountered: