diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index 2a23b32c3..cee94f06f 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -170,7 +170,7 @@ cp "$(TargetDir)config/ASF.json" "$(SolutionDir)out/config" cp "$(TargetDir)config/example.json" "$(SolutionDir)out/config" cp "$(TargetDir)config/minimal.json" "$(SolutionDir)out/config" - mono -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" + mono --desktop --llvm -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" rm "$(SolutionDir)out/ASF.exe.config" diff --git a/ConfigGenerator/ConfigGenerator.csproj b/ConfigGenerator/ConfigGenerator.csproj index 57b9c0831..c76e9dcfc 100644 --- a/ConfigGenerator/ConfigGenerator.csproj +++ b/ConfigGenerator/ConfigGenerator.csproj @@ -109,7 +109,7 @@ del "$(SolutionDir)out\ASF-ConfigGenerator.exe.config" - mono -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" + mono --desktop --llvm -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" rm "$(SolutionDir)out/ASF-ConfigGenerator.exe.config" diff --git a/GUI/GUI.csproj b/GUI/GUI.csproj index 1f737b86f..a34d8fb87 100644 --- a/GUI/GUI.csproj +++ b/GUI/GUI.csproj @@ -141,7 +141,7 @@ del "$(SolutionDir)out\ASF-GUI.exe.config" - mono -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-GUI.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" + mono --desktop --llvm -O=all "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-GUI.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" rm "$(SolutionDir)out/ASF-GUI.exe.config" --> diff --git a/cc.sh b/cc.sh index f01216374..6d53172bc 100755 --- a/cc.sh +++ b/cc.sh @@ -4,7 +4,7 @@ set -eu BUILD="Release" CLEAN=0 -MONO_ARGS=("--aot" "--llvm" "--server" "-O=all") +MONO_ARGS=("--aot" "--desktop" "--llvm" "-O=all") XBUILD_ARGS=("/nologo") BINARIES=("ArchiSteamFarm/bin/Release/ArchiSteamFarm.exe") SOLUTION="ArchiSteamFarm.sln" diff --git a/run.sh b/run.sh index d848ad52d..8fba9ddc3 100755 --- a/run.sh +++ b/run.sh @@ -3,7 +3,7 @@ set -eu BUILD="Release" -MONO_ARGS=("--llvm" "--server" "-O=all") +MONO_ARGS=("--desktop" "--llvm" "-O=all") PRINT_USAGE() { echo "Usage: $0 [debug/release]"