mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
11 lines
411 B
PowerShell
11 lines
411 B
PowerShell
param($installPath, $toolsPath, $package, $project)
|
|
|
|
. (Join-Path $toolsPath "GetSqlCEPostBuildCmd.ps1")
|
|
|
|
# Get the current Post Build Event cmd
|
|
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
|
|
|
|
# Append our post build command if it's not already there
|
|
if (!$currentPostBuildCmd.Contains($SqlCEPostBuildCmd)) {
|
|
$project.Properties.Item("PostBuildEvent").Value += $SqlCEPostBuildCmd
|
|
}
|