mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 14:07:46 +08:00
16 lines
530 B
PowerShell
16 lines
530 B
PowerShell
param (
|
|
[string]
|
|
$SolutionDir,
|
|
[string]
|
|
$BuildConfiguration
|
|
)
|
|
|
|
|
|
$targetVersionedFile = "$SolutionDir\mRemoteNG\bin\x64\$BuildConfiguration\mRemoteNG.exe"
|
|
$version = &"$SolutionDir\Tools\exes\sigcheck.exe" /accepteula -q -n $targetVersionedFile
|
|
$src = $SolutionDir + "mRemoteNGInstaller\Installer\bin\x64\$BuildConfiguration\en-US\mRemoteNG-Installer.msi"
|
|
$dst = $SolutionDir + "mRemoteNG\bin\x64\$BuildConfiguration\mRemoteNG-Installer-" + $version + ".msi"
|
|
|
|
# Copy file
|
|
Copy-Item $src -Destination $dst -Force
|