-
Notifications
You must be signed in to change notification settings - Fork 122
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
Make extracted ffmpeg executable #361
Conversation
Can you explain / can anyone else confirm? No one has reported this to be an issue and the feature has been out for a long time now. |
Opsu failed to play background videos and the log showed stacktraces caused by the ffmpeg file not being executable. |
Confirmed. I probably haven't noticed because I build using the system FFmpeg and turn videos off. However, this patch isn't enough to fix the problem. The patch only covers the case when you're running the JAR and natives get extracted into the Natives directory, but not when running using gradle and there's already a
|
Is this solved by changing
|
@itdelatrisu Yes, it appears so. I'm not so sure about stuffing it in that function as it would result in too many concerns, but I guess it's fine as long as you're okay with the side effect. |
Committed in cd1cdf8, thanks! |
This also makes
./gradlew
executable for easier building on linux.