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
[Request] Improve scoop installation experience #150
Comments
Alright, can do! Great to see people like this ability. |
@Vixb1122 can you explain why step 1 is an improvement (maybe faster, but also needs some work in the release process). And I tried to figure out what |
@JanDeDobbeleer Also see: |
Thanks! This makes everything a lot clearer now. I'll get on it 👍🏻 |
@JanDeDobbeleer {
"version": "3.40.0",
"description": "A prompt theme engine for any shell",
"homepage": "https://ohmyposh.dev",
"license": {
"identifier": "GPL-3.0-only",
"url": "https://github.com/JanDeDobbeleer/oh-my-posh3/blob/main/COPYING"
},
"architecture": {
"64bit": {
"url": "https://github.com/JanDeDobbeleer/oh-my-posh3/releases/download/v3.40.0/posh-windows-amd64.exe#/oh-my-posh.exe",
"hash": "5655541118b535ad8f518c83be53e87c010b4647d528375fa6d9ef125f9ba833"
}
},
"bin": [
"oh-my-posh.exe",
[
"oh-my-posh.exe",
"omp"
]
],
"checkver": {
"github": "https://github.com/JanDeDobbeleer/oh-my-posh3"
},
"persist": "themes",
"pre_install": [
"if(!(Test-Path \"$persist_dir\\themes\\*.json\")){",
"New-Item -Path \"$persist_dir\\themes\" -ItemType Directory -Force | Out-Null",
"Invoke-Webrequest https://github.com/JanDeDobbeleer/oh-my-posh3/releases/latest/download/themes.zip -OutFile \"$persist_dir\\themes\\themes.zip\"",
"Expand-Archive \"$persist_dir\\themes\\themes.zip\" -DestinationPath \"$persist_dir\\themes\" -Force",
"Remove-Item \"$persist_dir\\themes\\themes.zip\"",
"}"
],
"post_install": [
"$logo = @'",
" __ _____ _ ___ ___ ______ _ __",
" / / | _ | | | \\/ | | ___ \\ | | \\ \\",
" / / | | | | |__ | . . |_ _ | |_/ /__ ___| |__ \\ \\",
"< < | | | | '_ \\ | |\\/| | | | | | __/ _ \\/ __| '_ \\ > >",
" \\ \\ \\ \\_/ / | | | | | | | |_| | | | | (_) \\__ \\ | | | / /",
" \\_\\ \\___/|_| |_| \\_| |_/\\__, | \\_| \\___/|___/_| |_| /_/",
" __/ |",
" |___/",
"'@",
"Write-Host $logo",
"Write-Host ''",
"Write-Host 'Thanks for installing Oh my Posh.'",
"Write-Host 'Have a look at https://ohmyposh.dev/docs/installation for detailed instructions for your shell.'"
],
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/JanDeDobbeleer/oh-my-posh3/releases/download/v$version/posh-windows-amd64.exe#/oh-my-posh.exe",
"hash": {
"url": "$url.sha256",
"find": "([a-fA-F0-9]{64})"
}
}
}
}
}
|
I did not forget about this. I spent A LOT of time trying to get the Windows execution time under control, which got merged yesterday. This is next on my list. |
@JanDeDobbeleer |
Aaaah. Ok. Got it. Will do. |
oh-my-posh3
by the following codeTip:
scoop install https://github.com/Vixb1122/oh-my-posh3/releases/download/v3.33.2/oh-my-posh3.json
The text was updated successfully, but these errors were encountered: