diff --git a/LoupedeckPackage.yaml b/LoupedeckPackage.yaml index 88c1526..9e6e528 100644 --- a/LoupedeckPackage.yaml +++ b/LoupedeckPackage.yaml @@ -1,7 +1,7 @@ type: plugin4 name: Webhooks displayName: Webhooks -version: 1.0.1 +version: x.x.x author: Steinerd.com copyright: Copyright (c) 2022 Anthony Steiner diff --git a/build-plugin.ps1 b/build-plugin.ps1 index 9a6737f..bf404ee 100644 --- a/build-plugin.ps1 +++ b/build-plugin.ps1 @@ -17,6 +17,8 @@ New-Item -Path "$buildPath" -Force -Name "bin" -ItemType "directory" > $null New-Item -Path "$buildPath" -Force -Name "metadata" -ItemType "directory" > $null Copy-Item "$loupedeckYaml" -Force -Destination "$buildPath\metadata\$loupedeckYaml" > $null +((Get-Content -Path "$buildPath\metadata\$loupedeckYaml" -Raw) -replace 'x.x.x', $version) | Set-Content "$buildPath\metadata\$loupedeckYaml" + Copy-Item "$($project)Plugin\Resources\256.png" -Force -Destination "$buildPath\metadata\256.png" > $null Copy-Item "$dllPath\$dllName" -Force -Destination "$buildPath\bin\$dllName" > $null