OpenUtau icon indicating copy to clipboard operation
OpenUtau copied to clipboard

Add .exe to list of executable files on Linux or use file permission modifiers

Open shuntia opened this issue 6 months ago • 0 comments

Acknowledgement

  • [x] I have read Getting-Started and FAQ

Description of the new feature / enhancement

Linux currently is unable to use .exe files when rendering, even if it's registered as directly executable using MIME types(basically default file handlers).

If OU is going to probe for executable resamplers, it should be probing for the eXecution file permission modifier, not probe for linux-native file types. I currently have a workaround using shellscript. It's like this, but it's not idiomatic and straightforward if you set Linux and Wine up correctly.

#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
"$DIR"/moresampler.exe "$@"

Proposed technical implementation details

add .exe to list of probers or implement a different probing algorithm to check by file permissions instead.

shuntia avatar Jun 02 '25 05:06 shuntia