@@ -37,9 +37,9 @@ elif [[ ${TAG} == playtest* ]]; then
37
37
fi
38
38
39
39
if command -v curl > /dev/null 2>&1 ; then
40
- curl -s -L -O https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe
40
+ curl -s -L -o $HOME /rcedit-x64.exe https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe
41
41
else
42
- wget -cq https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe
42
+ wget -cq -O $HOME /rcedit-x64.exe https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe
43
43
fi
44
44
45
45
function makelauncher()
@@ -58,12 +58,12 @@ function makelauncher()
58
58
59
59
# Use rcedit to patch the generated EXE with missing assembly/PortableExecutable information because .NET 6 ignores that when building on Linux.
60
60
# Using a backwards version tag because rcedit is unable to set versions starting with a letter.
61
- wine64 rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-product-version " ${BACKWARDS_TAG} "
62
- wine64 rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-version-string " ProductName" " OpenRA"
63
- wine64 rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-version-string " CompanyName" " The OpenRA team"
64
- wine64 rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-version-string " FileDescription" " ${LAUNCHER_NAME} mod for OpenRA"
65
- wine64 rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-version-string " LegalCopyright" " Copyright (c) The OpenRA Developers and Contributors"
66
- wine64 rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-icon " ${BUILTDIR} /${MOD_ID} .ico"
61
+ wine64 $HOME / rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-product-version " ${BACKWARDS_TAG} "
62
+ wine64 $HOME / rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-version-string " ProductName" " OpenRA"
63
+ wine64 $HOME / rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-version-string " CompanyName" " The OpenRA team"
64
+ wine64 $HOME / rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-version-string " FileDescription" " ${LAUNCHER_NAME} mod for OpenRA"
65
+ wine64 $HOME / rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-version-string " LegalCopyright" " Copyright (c) The OpenRA Developers and Contributors"
66
+ wine64 $HOME / rcedit-x64.exe " ${BUILTDIR} /${LAUNCHER_NAME} .exe" --set-icon " ${BUILTDIR} /${MOD_ID} .ico"
67
67
}
68
68
69
69
function build_platform()
@@ -101,4 +101,4 @@ function build_platform()
101
101
102
102
build_platform " x86"
103
103
build_platform " x64"
104
- rm rcedit-x64.exe
104
+ rm $HOME / rcedit-x64.exe
0 commit comments