-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows-terminal: Add version 0.6.2951.0 #3054
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Latest version works with extraction without any major issue. (Ash258/Shovel-Ash258#45)
Fixed manifest
{
"version": "0.6.2951.0",
"description": "The new Windows Terminal, and the original Windows console host in one place.",
"homepage": "https://github.com/microsoft/terminal",
"license": "MIT",
"url": "https://github.com/microsoft/terminal/releases/download/v0.6.2951.0/Microsoft.WindowsTerminal_0.6.2951.0_8wekyb3d8bbwe.msixbundle#/cosi.7z",
"hash": "1e55cd46043ad5613242aae3bceb528b81a181a8b388015ebe7767000102d06a",
"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": "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.]+)_(?<hash>[\\w]+)\\.msix"
},
"autoupdate": {
"url": "https://github.com/microsoft/terminal/releases/download/v$version/Microsoft.WindowsTerminal_$version_$matchHash.msixbundle#/dl.7z"
}
}
If you insist on os validation add it into installer script
@r15ch13 Maybe this could go into Main as it is simillar to cmder and other terminals? |
@Ash258 I wasn't sure this would be eligible for Main yet as it is still in preview which would go against the criteria of |
All suggested changes have been made 👍 |
Adds Windows Terminal
Install script and autoupdate regex adapted from the unofficial chocolatey package.