Skip to content

Commit

Permalink
Powershell script was hard coded to a path
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonno12345 committed Mar 6, 2018
1 parent ea7dbc7 commit 8c52519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TileIconifier/Tools/BuildReleaseZips.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ function BuildReleaseZipFiles($sourceFolder, $destinationFolder, $zipFilePath)
ZipFiles $zipFilePath $destinationFolder
}


$strVersion = [System.Diagnostics.FileVersionInfo]::GetVersionInfo("C:\Users\Jonno\Documents\GitHub\TileIconify\TileIconifier\bin\x64\Release\TileIconifier.exe").FileVersion
$scriptDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
$strVersion = [System.Diagnostics.FileVersionInfo]::GetVersionInfo(((get-item $scriptDir).Parent.FullName) + "\bin\x64\Release\TileIconifier.exe").FileVersion
$x64BuildFolderPath = Join-Path (Get-Item $PSScriptRoot).Parent.FullName -ChildPath ("Bin\x64\Release\")
$x86BuildFolderPath = Join-Path (Get-Item $PSScriptRoot).Parent.FullName -ChildPath ("Bin\x86\Release\")
$releaseBuildFolderPath = Join-Path (Get-Item $PSScriptRoot).Parent.FullName -ChildPath ("Releases\" + $strVersion + "\")
Expand Down

0 comments on commit 8c52519

Please sign in to comment.