chore(ST3): release 3.0.0.3065
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<metadata>
|
<metadata>
|
||||||
<id>SublimeText3</id>
|
<id>SublimeText3</id>
|
||||||
<title>Sublime Text 3</title>
|
<title>Sublime Text 3</title>
|
||||||
<version>3.0.0.3059</version>
|
<version>3.0.0.3065</version>
|
||||||
<authors>Jon Skinner</authors>
|
<authors>Jon Skinner</authors>
|
||||||
<owners>Ethan J. Brown</owners>
|
<owners>Ethan J. Brown</owners>
|
||||||
<summary>Sublime Text 3 is a sophisticated text editor for code, html and prose. You'll love the slick user interface and extraordinary features.</summary>
|
<summary>Sublime Text 3 is a sophisticated text editor for code, html and prose. You'll love the slick user interface and extraordinary features.</summary>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
$package = 'SublimeText3'
|
$package = 'SublimeText3'
|
||||||
$build = '3059'
|
$build = '3065'
|
||||||
$installFolder = 'Sublime Text 3'
|
$installFolder = 'Sublime Text 3'
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -10,7 +10,15 @@ try {
|
|||||||
Select -First 1
|
Select -First 1
|
||||||
|
|
||||||
# only way to test for installation of this version is by path on disk
|
# only way to test for installation of this version is by path on disk
|
||||||
|
$found = $false
|
||||||
if ($installedPath -and (Test-Path $installedPath))
|
if ($installedPath -and (Test-Path $installedPath))
|
||||||
|
{
|
||||||
|
$exe = Join-Path $installedPath 'sublime_text.exe'
|
||||||
|
$version = (Get-Command $exe).FileVersionInfo.ProductVersion
|
||||||
|
$found = ($version -eq $build)
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($found)
|
||||||
{
|
{
|
||||||
Write-Host "$package is already installed to $installedPath"
|
Write-Host "$package is already installed to $installedPath"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user