From bbed112913cfdb8fb8c753fa5bad790772a4ba2f Mon Sep 17 00:00:00 2001 From: Jason Liquorish Date: Fri, 6 Dec 2019 12:21:40 +0000 Subject: [PATCH] windows-terminal: Add version 0.7.3382.0 (#3054) - Closes #2921 - Closes #3320 --- bucket/windows-terminal.json | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 bucket/windows-terminal.json diff --git a/bucket/windows-terminal.json b/bucket/windows-terminal.json new file mode 100644 index 00000000000000..b20fc1b8478260 --- /dev/null +++ b/bucket/windows-terminal.json @@ -0,0 +1,37 @@ +{ + "version": "0.7.3382.0", + "description": "The new Windows Terminal, and the original Windows console host - all in the same place!", + "homepage": "https://github.com/microsoft/terminal", + "license": "MIT", + "url": "https://github.com/microsoft/terminal/releases/download/v0.7.3382.0/Microsoft.WindowsTerminal_0.7.3382.0_8wekyb3d8bbwe.msixbundle#/cosi.7z", + "hash": "8998f7c00ad7b9ce66a75c02fd9a830465f54038d22fb6a0744c8de5f46c1ef2", + "architecture": { + "64bit": { + "pre_install": "Get-ChildItem \"$dir\" -Exclude '*x64.msix' | Remove-Item -Force -Recurse" + }, + "32bit": { + "pre_install": "Get-ChildItem \"$dir\" -Exclude '*x86.msix' | Remove-Item -Force -Recurse" + } + }, + "installer": { + "script": [ + "$winVer = [Environment]::OSVersion.Version", + "if (($winver.Major -lt '10') -or ($winVer.Build -lt 18362)) { error 'At least Windows 10 18362 is required.'; break }", + "Get-ChildItem \"$dir\" '*.msix' | Select-Object -ExpandProperty Fullname | Expand-7zipArchive -DestinationPath \"$dir\" -Removal" + ] + }, + "bin": "WindowsTerminal.exe", + "shortcuts": [ + [ + "WindowsTerminal.exe", + "Windows Terminal" + ] + ], + "checkver": { + "url": "https://github.com/microsoft/terminal/releases", + "regex": "WindowsTerminal_([\\d.]+)_8wekyb3d8bbwe\\.msixbundle" + }, + "autoupdate": { + "url": "https://github.com/microsoft/terminal/releases/download/v$version/Microsoft.WindowsTerminal_$version_8wekyb3d8bbwe.msixbundle#/dl.7z" + } +}