/
TranslucentTB.json
34 lines (34 loc) · 1.98 KB
/
TranslucentTB.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"version": "2024.1",
"description": "一个轻量级的实用程序,使 Windows 任务栏半透明/透明。A lightweight utility that makes the Windows taskbar translucent/transparent.",
"homepage": "https://github.com/TranslucentTB/TranslucentTB",
"license": {
"identifier": "GNU General Public License v3.0",
"url": "https://github.com/TranslucentTB/TranslucentTB/blob/release/LICENSE.md"
},
"notes": [
"此应用的程序文件不在 Scoop 中。Scoop 只管理数据的持久化(persist)、安装、更新以及卸载操作。",
"The app's program files are not within Scoop. Scoop only manages the persistence of data and operations for installing, updating, and uninstalling."
],
"url": "https://github.com/TranslucentTB/TranslucentTB/releases/download/2024.1/bundle.msixbundle",
"hash": "48bb52116c78164a2f49b306f4781b5885a4f98e149bbc48acf103b262560563",
"pre_install": [
"$path_msi=\"$dir\\bundle.msixbundle\"",
"Add-AppPackage -Path $path_msi",
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
"persist -dir @(\"$user_LocalAppData\\Packages\\28017CharlesMilette.TranslucentTB_v826wp6bftszj\") @(\"$persist_dir\\28017CharlesMilette.TranslucentTB_v826wp6bftszj\")",
"clean_redundant_files @($path_msi)"
],
"pre_uninstall": [
"$bucket=(scoop bucket list | where-Object { $_.Source -match '(gitee|github).com/abgox/abgo_bucket'})[0].Name",
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
"Write-Host ($json.stop_process) -f Cyan",
"Stop-Process -Name TranslucentTB -Force -ErrorAction SilentlyContinue",
"remove_files @(\"$user_LocalAppData\\Packages\\28017CharlesMilette.TranslucentTB_v826wp6bftszj\")",
"Get-AppxPackage -Name \"28017CharlesMilette.TranslucentTB\" | Remove-AppxPackage"
],
"checkver": "github",
"autoupdate": {
"url": "https://github.com/TranslucentTB/TranslucentTB/releases/download/$version/bundle.msixbundle"
}
}