File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ function GetVersion()
48
48
$version = " 7.x.x"
49
49
$addendum = " -x"
50
50
51
- foreach ($line in [System.IO.File ]::ReadLines(" ../VisualMagick/installer/inc/ version.isx " ))
51
+ foreach ($line in [System.IO.File ]::ReadLines(" ../ImageMagick/ version.sh " ))
52
52
{
53
- if ($line.StartsWith (" #define public MagickPackageVersionAddendum " ))
53
+ if ($line.StartsWith (" PACKAGE_VERSION= " ))
54
54
{
55
- $addendum = $line.SubString (45 , $line.Length - 46 )
55
+ $addendum = " - " + $line.SubString (17 , $line.Length - 18 )
56
56
}
57
- elseif ($line.StartsWith (" #define public MagickPackageVersion " ))
57
+ elseif ($line.StartsWith (" PACKAGE_VERSION= " ))
58
58
{
59
- $version = $line.SubString (37 , $line.Length - 38 )
59
+ $version = $line.SubString (17 , $line.Length - 18 )
60
60
}
61
61
}
62
62
You can’t perform that action at this time.
0 commit comments