Skip to content

Commit

Permalink
Update mod-structure under source control with latest assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
Falconne committed Aug 8, 2021
1 parent 985773c commit d231a95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,16 @@ function doPostBuild
$targetDir = "$(getProjectDir)\bin\Release"
$targetPath = "$targetDir\$targetName.dll"

$gameVersion =

$distAssemblyDir = "$distTargetDir\v$(getGameVersion)\Assemblies"
mkdir $distAssemblyDir | Out-Null

Copy-Item -Recurse -Force "$PSScriptRoot\mod-structure\*" $distTargetDir
Copy-Item -Force $targetPath $distAssemblyDir

$modStructureAssemblyLocation = "$PSScriptRoot\mod-structure\v$(getGameVersion)\Assemblies"
mkdir $modStructureAssemblyLocation | Out-Null
Copy-Item -Force $targetPath $modStructureAssemblyLocation

Write-Host "Creating distro package"
$content = Get-Content -Raw $assemblyInfoFile
if (!($content -match '"(\d+\.\d+\.\d+\.\d+)"'))
Expand Down
Binary file modified mod-structure/v1.3/Assemblies/HeatMap.dll
Binary file not shown.

0 comments on commit d231a95

Please sign in to comment.