Skip to content

Commit

Permalink
Build was set wrong...
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdb2009 committed Oct 7, 2019
1 parent 8029665 commit f7c83ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SuperGrate/SuperGrate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>x86</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
Expand All @@ -51,7 +51,7 @@
<OutputPath>bin\Release_64\</OutputPath>
<Optimize>true</Optimize>
<DebugType>none</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
Expand Down
3 changes: 2 additions & 1 deletion SuperGrateInstaller/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions SuperGrateInstaller/precompile.ps1
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit f7c83ac

Please sign in to comment.