Skip to content
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

everything-powertoys: Add version 0.82.0 #12912

Merged
merged 4 commits into from
Jul 19, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions bucket/EverythingPowerToys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "0.78.0",
"description": "This plugin adds Everything search results to PowerToys Run.",
"homepage": "https://github.com/lin-ycv/EverythingPowerToys",
"license": "Unlicense",
"suggest": {
"Everything": ["Everything","Everything-Alpha"],
"PowerToys": "PowerToys"
},
"architecture": {
"64bit": {
"url": "https://github.com/lin-ycv/EverythingPowerToys/releases/download/v0.78.0/EverythingPT-0.78.0-x64.zip",
"hash": "5f0c92a861f9f16793b82fd7e5f492d5b3923ec2bf9750e639910efaeb6b7d57"
}
},
"pre_install": [
"$ErrorActionPreference = \"Stop\"",
"$ept = \"$env:LOCALAPPDATA\\Microsoft\\PowerToys\\PowerToys Run\\Plugins\\Everything\"",
"Write-Host 'Checking PowerToys is closed...'",
"if (Test-Path -Path $ept){try{rm -R $ept}catch{throw 'PowerToys still running, unable to remove previous Everything-PT install'}}"
],
"post_install": [
"Write-Host 'Linking %localappdata%\\Microsoft\\PowerToys\\PowerToys Run\\Plugins\\Everything => \\scoop\\apps\\EverythingPowerToys\\current\\Everything'",
"New-Item -ItemType Junction -Path \"$env:LOCALAPPDATA\\Microsoft\\PowerToys\\PowerToys Run\\Plugins\\Everything\" -Target \"$dir\\Everything\" | Out-Null",
"Write-Host 'Following packages needs to be installed seperately' -ForegroundColor DarkYellow",
"Write-Host '=======================================================================' -ForegroundColor DarkYellow",
"Write-Host '1. PowerToys : scoop install powertoys' -ForegroundColor Yellow",
"Write-Host '2a. Everything : scoop install everything' -ForegroundColor Yellow",
"Write-Host '2b. Everything-Alpha : scoop install everything-alpha' -ForegroundColor Yellow",
"Write-Host '=======================================================================' -ForegroundColor DarkYellow"
],
"pre_uninstall": [
"$ErrorActionPreference = \"Stop\"",
"$ept = \"$env:LOCALAPPDATA\\Microsoft\\PowerToys\\PowerToys Run\\Plugins\\Everything\"",
"Write-Host 'Unlinking %localappdata%\\Microsoft\\PowerToys\\PowerToys Run\\Plugins\\Everything'",
"if (Test-Path -Path $ept){try{rm -R $ept}catch{throw 'PowerToys still running, unable to remove Everything-PT'}}"
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/lin-ycv/EverythingPowerToys/releases/download/v$version/EverythingPT-$version-x64.zip",
"hash": {
"url": "https://github.com/lin-ycv/EverythingPowerToys/releases/tag/v$version",
"regex": ">$sha256<"
}
}
}
}
}