mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-18 19:51:39 +12:00
26 lines
No EOL
811 B
PowerShell
26 lines
No EOL
811 B
PowerShell
if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
|
|
{
|
|
if ($env:CONFIGURATION -eq "Release")
|
|
{
|
|
& "ShareX.Setup\bin\Release\ShareX.Setup.exe" -AppVeyorRelease
|
|
}
|
|
elseif ($env:APPVEYOR_REPO_TAG -eq $true)
|
|
{
|
|
if ($env:CONFIGURATION -eq "Steam")
|
|
{
|
|
& "ShareX.Setup\bin\Steam\ShareX.Setup.exe" -AppVeyorSteamRelease
|
|
}
|
|
elseif ($env:CONFIGURATION -eq "WindowsStore")
|
|
{
|
|
& "ShareX.Setup\bin\WindowsStore\ShareX.Setup.exe" -AppVeyorWindowsStoreRelease
|
|
}
|
|
}
|
|
elseif ($env:CONFIGURATION -eq "Steam")
|
|
{
|
|
& "ShareX.Setup\bin\Steam\ShareX.Setup.exe" -AppVeyorSteam
|
|
}
|
|
elseif ($env:CONFIGURATION -eq "WindowsStore")
|
|
{
|
|
& "ShareX.Setup\bin\WindowsStore\ShareX.Setup.exe" -AppVeyorWindowsStore
|
|
}
|
|
} |