Fix Shadow Line translation line endings

This commit is contained in:
Storm Dragon
2026-05-05 02:38:10 -04:00
parent 1f977bb1f4
commit 92745d8af8
3 changed files with 24 additions and 1 deletions
+7
View File
@@ -105,6 +105,13 @@ set_umu_app_winver() {
set_umu_reg_value "HKCU\\Software\\Wine\\AppDefaults\\${exeName}" "Version" "$winVersion"
}
install_crlf_file() {
local sourceFile="$1"
local destFile="$2"
mkdir -p "${destFile%/*}"
perl -pe 's/\r?\n/\r\n/' "$sourceFile" > "$destFile"
}
stop_umu_bottle() {
if command -v wineserver &> /dev/null; then
wineserver -k 2> /dev/null || true