mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Mono: Prefer performance over memory
Every user can further fine-tune it however he wishes with https://github.com/JustArchi/ArchiSteamFarm/wiki/Low-memory-setup
This commit is contained in:
parent
aa9d78af95
commit
85dea3ab70
4 changed files with 4 additions and 4 deletions
|
@ -170,7 +170,7 @@
|
||||||
cp "$(TargetDir)config/ASF.json" "$(SolutionDir)out/config"
|
cp "$(TargetDir)config/ASF.json" "$(SolutionDir)out/config"
|
||||||
cp "$(TargetDir)config/example.json" "$(SolutionDir)out/config"
|
cp "$(TargetDir)config/example.json" "$(SolutionDir)out/config"
|
||||||
cp "$(TargetDir)config/minimal.json" "$(SolutionDir)out/config"
|
cp "$(TargetDir)config/minimal.json" "$(SolutionDir)out/config"
|
||||||
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"
|
mono --llvm --server -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"
|
rm "$(SolutionDir)out/ASF.exe.config"
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
del "$(SolutionDir)out\ASF-ConfigGenerator.exe.config"
|
del "$(SolutionDir)out\ASF-ConfigGenerator.exe.config"
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
<PostBuildEvent Condition=" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' ">
|
<PostBuildEvent Condition=" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' ">
|
||||||
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"
|
mono --llvm --server -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"
|
rm "$(SolutionDir)out/ASF-ConfigGenerator.exe.config"
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
2
cc.sh
2
cc.sh
|
@ -4,7 +4,7 @@ set -eu
|
||||||
BUILD="Release"
|
BUILD="Release"
|
||||||
CLEAN=0
|
CLEAN=0
|
||||||
|
|
||||||
MONO_ARGS=("--aot" "--desktop" "--llvm" "-O=all")
|
MONO_ARGS=("--aot" "--llvm" "--server" "-O=all")
|
||||||
XBUILD_ARGS=("/nologo")
|
XBUILD_ARGS=("/nologo")
|
||||||
BINARIES=("ArchiSteamFarm/bin/Release/ArchiSteamFarm.exe")
|
BINARIES=("ArchiSteamFarm/bin/Release/ArchiSteamFarm.exe")
|
||||||
SOLUTION="ArchiSteamFarm.sln"
|
SOLUTION="ArchiSteamFarm.sln"
|
||||||
|
|
2
run.sh
2
run.sh
|
@ -3,7 +3,7 @@ set -eu
|
||||||
|
|
||||||
BUILD="Release"
|
BUILD="Release"
|
||||||
|
|
||||||
MONO_ARGS=("--desktop" "--llvm" "-O=all")
|
MONO_ARGS=("--llvm" "--server" "-O=all")
|
||||||
|
|
||||||
PRINT_USAGE() {
|
PRINT_USAGE() {
|
||||||
echo "Usage: $0 [debug/release]"
|
echo "Usage: $0 [debug/release]"
|
||||||
|
|
Loading…
Reference in a new issue