{ "version": "1.79.0-insider+1686147847782", "description": "Visual Studio Code is a lightweight but powerful source code editor (Insiders, Portable Edition).", "homepage": "https://code.visualstudio.com/", "license": { "identifier": "Freeware", "url": "https://code.visualstudio.com/License/" }, "notes": [ "Add Visual Studio Code as a context menu option by running:", "'reg import \"$dir\\install-context.reg\"'", "For file associations, run:", "'reg import \"$dir\\install-associations.reg\"'" ], "architecture": { "64bit": { "url": "https://update.code.visualstudio.com/latest/win32-x64-archive/insider#/dl.7z", "hash": "7912214a56499e02ffaf24ce37fbf86abb76a9ee1b45a4ce7be4fb8e61b829b5" }, "32bit": { "url": "https://update.code.visualstudio.com/latest/win32-archive/insider#/dl.7z", "hash": "036d80ab7d5efe2a4688b9a0f7d4a37c680a2d5209f81415821c49d229b13227" }, "arm64": { "url": "https://update.code.visualstudio.com/latest/win32-arm64-archive/insider#/dl.7z", "hash": "fe442a7637c3a3f394bdccfcd0f943484d1fad133d3ff0fa62f0a601d02f9ae7" } }, "post_install": [ "$dirpath = \"$dir\".Replace('\\', '\\\\')", "$exepath = \"$dir\\Code - Insiders.exe\".Replace('\\', '\\\\')", "'install-associations', 'uninstall-associations', 'install-context', 'uninstall-context' | ForEach-Object {", " if (Test-Path \"$bucketsdir\\extras\\scripts\\vscode\\$_.reg\") {", " $content = Get-Content \"$bucketsdir\\extras\\scripts\\vscode\\$_.reg\"", " $content = $content.Replace('$codedir', $dirpath)", " $content = $content.Replace('$code', $exepath)", " $content = $content.Replace('&Code', 'Code &Insiders')", " if ($global) {", " $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE')", " }", " $content | Set-Content -Path \"$dir\\$_.reg\"", " }", "}", "if (!(Test-Path \"$dir\\data\\extensions\") -and (Test-Path \"$env:USERPROFILE\\.vscode-insiders\\extensions\")) {", " info '[Portable Mode] Copying extensions...'", " Copy-Item \"$env:USERPROFILE\\.vscode-insiders\\extensions\" \"$dir\\data\" -Recurse", "}", "if (!(Test-Path \"$dir\\data\\user-data\") -and (Test-Path \"$env:AppData\\Code - Insiders\")) {", " info '[Portable Mode] Copying user data...'", " Copy-Item \"$env:AppData\\Code - Insiders\" \"$dir\\data\\user-data\" -Recurse", "}", "$extensions_file = \"$dir\\data\\extensions\\extensions.json\"", "if ((Test-Path \"$extensions_file\")) {", " info 'Adjusting path in extensions file...'", " (Get-Content \"$extensions_file\") -replace '(?<=vscode-insiders(/|\\\\\\\\)).*?(?=(/|\\\\\\\\)data(/|\\\\\\\\)extensions)', $version | Set-Content \"$extensions_file\"", "}" ], "env_add_path": "bin", "shortcuts": [ [ "Code - Insiders.exe", "Visual Studio Code - Insiders" ] ], "persist": "data", "uninstaller": { "script": "if ($cmd -eq 'uninstall') { reg import \"$dir\\uninstall-context.reg\" }" }, "checkver": { "url": "https://update.code.visualstudio.com/api/update/win32-x64-archive/insider/latest", "jsonpath": "$..['productVersion','timestamp']", "regex": "^(?.+)\\\\n(?.*)$", "replace": "${productVersion}+${timestamp}" }, "autoupdate": { "architecture": { "64bit": { "url": "https://update.code.visualstudio.com/latest/win32-x64-archive/insider#/dl.7z", "hash": { "url": "https://update.code.visualstudio.com/api/update/win32-x64-archive/insider/latest", "jsonpath": "$.sha256hash" } }, "32bit": { "url": "https://update.code.visualstudio.com/latest/win32-archive/insider#/dl.7z", "hash": { "url": "https://update.code.visualstudio.com/api/update/win32-archive/insider/latest", "jsonpath": "$.sha256hash" } }, "arm64": { "url": "https://update.code.visualstudio.com/latest/win32-arm64-archive/insider#/dl.7z", "hash": { "url": "https://update.code.visualstudio.com/api/update/win32-arm64-archive/insider/latest", "jsonpath": "$.sha256hash" } } } } }