We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279a9d9 commit 736f4fdCopy full SHA for 736f4fd
1 file changed
Irregular.PSSVG.ps1 Build/Irregular.PSSVG.ps1Irregular.PSSVG.ps1 renamed to Build/Irregular.PSSVG.ps1
@@ -1,5 +1,8 @@
1
#requires -Module PSSVG
2
3
+
4
+Push-Location ($PSScriptRoot | Split-Path)
5
6
$psChevron =
7
=<svg.symbol> -Id psChevron -Content @(
8
=<svg.polygon> -Points (@(
@@ -13,7 +16,7 @@ $psChevron =
13
16
) -ViewBox 100, 100 -PreserveAspectRatio $false
14
17
15
18
-$assetsPath = Join-Path $PSScriptRoot assets
19
+$assetsPath = Join-Path $pwd assets
20
21
=<svg> -ViewBox 300, 100 @(
22
$psChevron
@@ -26,3 +29,5 @@ $assetsPath = Join-Path $PSScriptRoot assets
26
29
) -FontFamily 'sans-serif' -Fill '#4488ff' -FontSize 36
27
30
) -OutputPath (Join-Path $assetsPath Irregular.svg)
28
31
32
33
+Pop-Location
0 commit comments