diff --git a/bucket/vscode-portable.json b/bucket/vscode-portable.json index c872492..a523525 100644 --- a/bucket/vscode-portable.json +++ b/bucket/vscode-portable.json @@ -1,7 +1,7 @@ { + "version": "1.51.1", + "description": "Lightweight but powerful source code editor (Portable Edition)", "homepage": "https://code.visualstudio.com/", - "version": "1.45.1", - "description": "Visual Studio Code is a lightweight but powerful source code editor (Portable Edition).", "license": { "identifier": "Freeware", "url": "https://code.visualstudio.com/License/" @@ -12,9 +12,34 @@ "From \"$env:APPDATA\\Code\" to \"$env:USERPROFILE\\scoop\\persist\\vscode-portable\\data\\user-data\"", "Add Visual Studio Code as a context menu option by running: \"$dir\\vscode-install-context.reg\"" ], + "architecture": { + "64bit": { + "url": [ + "https://vscode-update.azurewebsites.net/1.51.1/win32-x64-archive/stable#/dl.7z", + "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-install-context.reg", + "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-uninstall-context.reg" + ], + "hash": [ + "d6188d5804881cd0d220dd226ca2161bcd3ab02e75af1716fcdcf70a59b4df9b", + "b65d66860d9ccc18bfb05237b03e06db0d6c574be3d4b946c2a5e6865c08cb28", + "df2a5162e72e2518e2b75b4337c8e7b46c136554872af90fa0de1cf6ebef376f" + ] + }, + "32bit": { + "url": [ + "https://vscode-update.azurewebsites.net/1.51.1/win32-archive/stable#/dl.7z", + "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-install-context.reg", + "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-uninstall-context.reg" + ], + "hash": [ + "0e13682250ae8b5f15908796d32e15c9347c94d4b1e9a67df9c91284214d44c8", + "b65d66860d9ccc18bfb05237b03e06db0d6c574be3d4b946c2a5e6865c08cb28", + "df2a5162e72e2518e2b75b4337c8e7b46c136554872af90fa0de1cf6ebef376f" + ] + } + }, "bin": [["bin\\code.cmd", "code"]], "shortcuts": [["code.exe", "Visual Studio Code"]], - "persist": "data", "post_install": [ "if (Test-Path \"$dir\\vscode-install-context.reg\") {", " $codepath = \"$dir\\Code.exe\".Replace('\\', '\\\\')", @@ -33,35 +58,10 @@ " $content | Set-Content -Path \"$dir\\vscode-uninstall-context.reg\"", "}" ], + "persist": "data", "checkver": { "url": "https://code.visualstudio.com/sha?build=stable", - "jp": "$.products[?(@.platform.os == 'win32-x64-archive')].name" - }, - "architecture": { - "64bit": { - "url": [ - "https://vscode-update.azurewebsites.net/1.45.1/win32-x64-archive/stable#/dl.7z", - "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-install-context.reg", - "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-uninstall-context.reg" - ], - "hash": [ - "72b33b8f5656b2746fc01f3ee6f715d64cb5400a8a8daf26bc32068b4ee2a1d6", - "b65d66860d9ccc18bfb05237b03e06db0d6c574be3d4b946c2a5e6865c08cb28", - "df2a5162e72e2518e2b75b4337c8e7b46c136554872af90fa0de1cf6ebef376f" - ] - }, - "32bit": { - "url": [ - "https://vscode-update.azurewebsites.net/1.45.1/win32-archive/stable#/dl.7z", - "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-install-context.reg", - "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-uninstall-context.reg" - ], - "hash": [ - "4056185bc0f185f686541ae45237eab7d488a79024488c74d2edcccc7e145e5b", - "b65d66860d9ccc18bfb05237b03e06db0d6c574be3d4b946c2a5e6865c08cb28", - "df2a5162e72e2518e2b75b4337c8e7b46c136554872af90fa0de1cf6ebef376f" - ] - } + "jsonpath": "$.products[?(@.platform.os == 'win32-x64-archive')].name" }, "autoupdate": { "architecture": { @@ -69,14 +69,14 @@ "url": "https://vscode-update.azurewebsites.net/$version/win32-x64-archive/stable#/dl.7z", "hash": { "url": "https://code.visualstudio.com/sha?build=stable", - "jp": "$.products[?(@.platform.os == 'win32-x64-archive')].sha256hash" + "jsonpath": "$.products[?(@.platform.os == 'win32-x64-archive')].sha256hash" } }, "32bit": { "url": "https://vscode-update.azurewebsites.net/$version/win32-archive/stable#/dl.7z", "hash": { "url": "https://code.visualstudio.com/sha?build=stable", - "jp": "$.products[?(@.platform.os == 'win32-archive')].sha256hash" + "jsonpath": "$.products[?(@.platform.os == 'win32-archive')].sha256hash" } } } diff --git a/bucket/vscode.json b/bucket/vscode.json index 046e094..5197567 100644 --- a/bucket/vscode.json +++ b/bucket/vscode.json @@ -1,12 +1,38 @@ { + "version": "1.51.1", + "description": "Lightweight but powerful source code editor", "homepage": "https://code.visualstudio.com/", - "version": "1.45.1", - "description": "Visual Studio Code is a lightweight but powerful source code editor.", "license": { "identifier": "Freeware", "url": "https://code.visualstudio.com/License/" }, "notes": "Add Visual Studio Code as a context menu option by running: \"$dir\\vscode-install-context.reg\"", + "architecture": { + "64bit": { + "url": [ + "https://vscode-update.azurewebsites.net/1.51.1/win32-x64-archive/stable#/dl.7z", + "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-install-context.reg", + "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-uninstall-context.reg" + ], + "hash": [ + "d6188d5804881cd0d220dd226ca2161bcd3ab02e75af1716fcdcf70a59b4df9b", + "b65d66860d9ccc18bfb05237b03e06db0d6c574be3d4b946c2a5e6865c08cb28", + "df2a5162e72e2518e2b75b4337c8e7b46c136554872af90fa0de1cf6ebef376f" + ] + }, + "32bit": { + "url": [ + "https://vscode-update.azurewebsites.net/1.51.1/win32-archive/stable#/dl.7z", + "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-install-context.reg", + "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-uninstall-context.reg" + ], + "hash": [ + "0e13682250ae8b5f15908796d32e15c9347c94d4b1e9a67df9c91284214d44c8", + "b65d66860d9ccc18bfb05237b03e06db0d6c574be3d4b946c2a5e6865c08cb28", + "df2a5162e72e2518e2b75b4337c8e7b46c136554872af90fa0de1cf6ebef376f" + ] + } + }, "bin": [["bin\\code.cmd", "code"]], "shortcuts": [["code.exe", "Visual Studio Code"]], "post_install": [ @@ -29,33 +55,7 @@ ], "checkver": { "url": "https://code.visualstudio.com/sha?build=stable", - "jp": "$.products[?(@.platform.os == 'win32-x64-archive')].name" - }, - "architecture": { - "64bit": { - "url": [ - "https://vscode-update.azurewebsites.net/1.45.1/win32-x64-archive/stable#/dl.7z", - "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-install-context.reg", - "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-uninstall-context.reg" - ], - "hash": [ - "72b33b8f5656b2746fc01f3ee6f715d64cb5400a8a8daf26bc32068b4ee2a1d6", - "b65d66860d9ccc18bfb05237b03e06db0d6c574be3d4b946c2a5e6865c08cb28", - "df2a5162e72e2518e2b75b4337c8e7b46c136554872af90fa0de1cf6ebef376f" - ] - }, - "32bit": { - "url": [ - "https://vscode-update.azurewebsites.net/1.45.1/win32-archive/stable#/dl.7z", - "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-install-context.reg", - "https://raw.githubusercontent.com/lukesampson/scoop-extras/master/scripts/vscode-uninstall-context.reg" - ], - "hash": [ - "4056185bc0f185f686541ae45237eab7d488a79024488c74d2edcccc7e145e5b", - "b65d66860d9ccc18bfb05237b03e06db0d6c574be3d4b946c2a5e6865c08cb28", - "df2a5162e72e2518e2b75b4337c8e7b46c136554872af90fa0de1cf6ebef376f" - ] - } + "jsonpath": "$.products[?(@.platform.os == 'win32-x64-archive')].name" }, "autoupdate": { "architecture": { @@ -63,14 +63,14 @@ "url": "https://vscode-update.azurewebsites.net/$version/win32-x64-archive/stable#/dl.7z", "hash": { "url": "https://code.visualstudio.com/sha?build=stable", - "jp": "$.products[?(@.platform.os == 'win32-x64-archive')].sha256hash" + "jsonpath": "$.products[?(@.platform.os == 'win32-x64-archive')].sha256hash" } }, "32bit": { "url": "https://vscode-update.azurewebsites.net/$version/win32-archive/stable#/dl.7z", "hash": { "url": "https://code.visualstudio.com/sha?build=stable", - "jp": "$.products[?(@.platform.os == 'win32-archive')].sha256hash" + "jsonpath": "$.products[?(@.platform.os == 'win32-archive')].sha256hash" } } }