diff --git a/SuperGrate/SuperGrate.csproj b/SuperGrate/SuperGrate.csproj index 76dce3f..be43be4 100644 --- a/SuperGrate/SuperGrate.csproj +++ b/SuperGrate/SuperGrate.csproj @@ -30,7 +30,7 @@ - AnyCPU + x86 none true bin\Release\ @@ -51,7 +51,7 @@ bin\Release_64\ true none - AnyCPU + x64 prompt MinimumRecommendedRules.ruleset Auto diff --git a/SuperGrateInstaller/installer.nsi b/SuperGrateInstaller/installer.nsi index 0fbd1dd..3608154 100644 --- a/SuperGrateInstaller/installer.nsi +++ b/SuperGrateInstaller/installer.nsi @@ -23,7 +23,8 @@ OutFile ".\bin\SuperGrateInstaller.exe" Section "Install ${NAME}" -File "..\SuperGrate\bin\Release\SuperGrate.exe" +File "/oname=SuperGrateX86.exe" "..\SuperGrate\bin\Release\SuperGrate.exe" +File "/oname=SuperGrateX64.exe" "..\SuperGrate\bin\Release_64\SuperGrate.exe" SectionEnd diff --git a/SuperGrateInstaller/precompile.ps1 b/SuperGrateInstaller/precompile.ps1 new file mode 100644 index 0000000..3b5ff00 --- /dev/null +++ b/SuperGrateInstaller/precompile.ps1 @@ -0,0 +1,3 @@ +New-Item ".\bin\scratch\" -ItemType Directory +Copy-Item "..\SuperGrate\bin\Release\SuperGrate.exe" ".\bin\scratch\SuperGrateX86.exe" +Copy-Item "..\SuperGrate\bin\Release_64\SuperGrate.exe" ".\bin\scratch\SuperGrateX64.exe" \ No newline at end of file