diff --git a/Irregular.PSSVG.ps1 b/Build/Irregular.PSSVG.ps1 similarity index 89% rename from Irregular.PSSVG.ps1 rename to Build/Irregular.PSSVG.ps1 index 92d1b8d6..be2f3e5b 100644 --- a/Irregular.PSSVG.ps1 +++ b/Build/Irregular.PSSVG.ps1 @@ -1,5 +1,8 @@ #requires -Module PSSVG + +Push-Location ($PSScriptRoot | Split-Path) + $psChevron = = -Id psChevron -Content @( = -Points (@( @@ -13,7 +16,7 @@ $psChevron = ) -ViewBox 100, 100 -PreserveAspectRatio $false -$assetsPath = Join-Path $PSScriptRoot assets +$assetsPath = Join-Path $pwd assets = -ViewBox 300, 100 @( $psChevron @@ -26,3 +29,5 @@ $assetsPath = Join-Path $PSScriptRoot assets ) -FontFamily 'sans-serif' -Fill '#4488ff' -FontSize 36 ) -OutputPath (Join-Path $assetsPath Irregular.svg) + +Pop-Location \ No newline at end of file