File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 169169 copy "$(TargetDir)config\ASF.json" "$(SolutionDir)out\config"
170170 copy "$(TargetDir)config\example.json" "$(SolutionDir)out\config"
171171 copy "$(TargetDir)config\minimal.json" "$(SolutionDir)out\config"
172- "$(SolutionDir)tools\ILRepack\ILRepack .exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out: "$(SolutionDir)out\ASF.exe" "$( TargetDir)$(TargetName).exe" "$(TargetDir)*.dll"
173- del "$(SolutionDir)out\ASF.exe.config "
172+ "$(SolutionDir)tools\LibZ\libz .exe" inject-dll -a "$(TargetDir)$(TargetName).exe" -i "$(TargetDir)*.dll" --move
173+ copy "$(TargetDir)$(TargetName).exe" "$( SolutionDir)out\ASF.exe"
174174 </PostBuildEvent >
175175 <PostBuildEvent Condition =" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' " >
176176 mkdir -p "$(SolutionDir)out/config"
177177 cp "$(TargetDir)config/ASF.json" "$(SolutionDir)out/config"
178178 cp "$(TargetDir)config/example.json" "$(SolutionDir)out/config"
179179 cp "$(TargetDir)config/minimal.json" "$(SolutionDir)out/config"
180- 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"
181- rm "$(SolutionDir)out/ASF.exe.config "
180+ mono --llvm --server -O=all "$(SolutionDir)tools/LibZ/libz .exe" inject-dll -a "$(TargetDir)$(TargetName).exe" -i "$(TargetDir)*.dll" --move
181+ cp "$(TargetDir)$(TargetName).exe" "$( SolutionDir)out/ASF.exe"
182182 </PostBuildEvent >
183183 </PropertyGroup >
184184 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Original file line number Diff line number Diff line change 109109 <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
110110 <PropertyGroup >
111111 <PostBuildEvent Condition =" '$(OS)' != 'Unix' AND '$(ConfigurationName)' == 'Release' " >
112- "$(SolutionDir)tools\ILRepack\ILRepack .exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out\ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll"
113- del "$(SolutionDir)out\ASF-ConfigGenerator.exe.config "
112+ "$(SolutionDir)tools\LibZ\libz .exe" inject-dll -a "$(TargetDir)$(TargetName).exe" -i "$(TargetDir)*.dll" --move
113+ copy "$(TargetDir)$(TargetName).exe" "$( SolutionDir)out\ASF-ConfigGenerator.exe"
114114 </PostBuildEvent >
115115 <PostBuildEvent Condition =" '$(OS)' == 'Unix' AND '$(ConfigurationName)' == 'Release' " >
116- 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"
117- rm "$(SolutionDir)out/ASF-ConfigGenerator.exe.config "
116+ mono --llvm --server -O=all "$(SolutionDir)tools/LibZ/libz .exe" inject-dll -a "$(TargetDir)$(TargetName).exe" -i "$(TargetDir)*.dll" --move
117+ cp "$(TargetDir)$(TargetName).exe" "$( SolutionDir)out/ASF-ConfigGenerator.exe"
118118 </PostBuildEvent >
119119 </PropertyGroup >
120120 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
You can’t perform that action at this time.
0 commit comments