forked from okibcn/ScoopMaster
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update timestamp 2024-10-15T06:39:44Z
- Loading branch information
1 parent
09012a6
commit 59d67ef
Showing
10 changed files
with
73 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,58 @@ | ||
{ | ||
"version": "2.6.23", | ||
"description": "API 设计、开发、测试一体化协作平台。All-in-one collaboration platform for API documentation, API debugging, API Mock and API test automation.", | ||
"homepage": "https://apifox.com", | ||
"license": "Freeware", | ||
"url": "https://file-assets.apifox.com/download/Apifox-windows-latest.zip", | ||
"hash": "sha512:a309e81739a97764ef6812843a8b2ad864f12807de4ef9b6a02860ca3132bcb3d1ebd21d0563c7ae48e9a1c198799924173eaeb4daaac965712ab54c562eb868", | ||
"description": "API 文档、API 调试、API Mock、API 自动化测试", | ||
"homepage": "https://www.apifox.cn", | ||
"license": "Unknown", | ||
"url": "http://cdn.apifox.cn/download/2.6.23/Apifox-2.6.23.exe#/dl.7z", | ||
"hash": "sha512:ca10b5277e6fe8048df4be3e544f66043de44b66ce5ef8d3b51d2d4fb655176bf175799d62c669d73ca03e499a7f49895d376eab3b2a82bea65b3e07d106e73c", | ||
"installer": { | ||
"script": [ | ||
"# Expand-7zipArchive", | ||
"Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\app-64.7z\" \"$dir\" -Removal", | ||
"Remove-Item \"$dir\\`$PLUGINSDIR\" -Force -Recurse", | ||
"# handle runtime cache", | ||
"if (!(Test-Path $persist_dir)) {", | ||
" New-Item $persist_dir -Type Directory -Force | Out-Null", | ||
"}", | ||
"$runtimeCache = \"$env:APPDATA\\apifox\"", | ||
"$runtimeCachePersist = \"$persist_dir\\appdata\"", | ||
"if (Test-Path $runtimeCachePersist) {", | ||
" Remove-Item $runtimeCache -Force -Recurse -ErrorAction SilentlyContinue", | ||
" New-Item -Type Junction -Path $runtimeCache -Target $runtimeCachePersist | Out-Null", | ||
"} else {", | ||
" if (Test-Path $runtimeCache) {", | ||
" Move-Item $runtimeCache $runtimeCachePersist -Force", | ||
" New-Item -Type Junction -Path $runtimeCache -Target $runtimeCachePersist | Out-Null", | ||
" }", | ||
"}" | ||
] | ||
}, | ||
"uninstaller": { | ||
"script": [ | ||
"$runtimeCache = \"$env:APPDATA\\apifox\"", | ||
"$runtimeCachePersist = \"$persist_dir\\appdata\"", | ||
"if (!(Test-Path $runtimeCachePersist)) {", | ||
" Move-Item $runtimeCache $runtimeCachePersist -Force", | ||
"} else {", | ||
" Remove-Item $runtimeCache -Force -Recurse -ErrorAction SilentlyContinue", | ||
"}" | ||
] | ||
}, | ||
"shortcuts": [ | ||
[ | ||
"Apifox.exe", | ||
"Apifox" | ||
] | ||
], | ||
"pre_install": [ | ||
"$bucket=(scoop bucket list | where-Object { $_.Source -match '(gitee|github).com/abgox/abgo_bucket'})[0].Name", | ||
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"", | ||
"$path_installer=\"$dir\\Apifox-$version.exe\"", | ||
"& $path_installer /S /D=$dir", | ||
"$core_exe=\"$dir\\Apifox.exe\"", | ||
"sleep_install $core_exe", | ||
"persist_file -dir @(\"$user_AppData\\apifox\") @(\"$persist_dir\\apifox\")", | ||
"handle_app_lnk", | ||
"do_some_things" | ||
], | ||
"pre_uninstall": [ | ||
"$bucket=(scoop bucket list | where-Object { $_.Source -match '(gitee|github).com/abgox/abgo_bucket'})[0].Name", | ||
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"", | ||
"stop_process $false", | ||
"Stop-Process -Name 'ApifoxAppAgent' -ErrorAction SilentlyContinue", | ||
"Wait-Process -Name 'ApifoxAppAgent' -ErrorAction SilentlyContinue -Timeout 30", | ||
"remove_files @(\"$user_AppData\\apifox\")", | ||
"$ui_exe=\"$dir\\Uninstall Apifox.exe\"", | ||
"try{ & $ui_exe /S }catch{}", | ||
"sleep_uninstall $ui_exe", | ||
"remove_files @(\"$user_LocalAppData\\apifox-updater\")" | ||
], | ||
"checkver": { | ||
"url": "https://apifox.com/help/app/changelog", | ||
"regex": ">([\\d.]+)<" | ||
}, | ||
"autoupdate": { | ||
"url": "https://file-assets.apifox.com/download/Apifox-windows-latest.zip", | ||
"url": "http://cdn.apifox.cn/download/$version/Apifox-$version.exe#/dl.7z", | ||
"hash": { | ||
"url": "$baseurl/latest.yml", | ||
"regex": "sha512: $base64" | ||
"url": "http://cdn.apifox.cn/download/latest.yml", | ||
"regex": "sha512.*?$base64" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"downloads": 364, | ||
"totalBuckets": 2000, | ||
"downloads": 365, | ||
"apps": 49211, | ||
"manifests": 163017, | ||
"buckets": 1830, | ||
"badBuckets": 170, | ||
"appsDeleted": 0, | ||
"appsUpdated": 0, | ||
"totalBuckets": 2000, | ||
"totalDownloads": 14248866, | ||
"manifests": 163017, | ||
"totalDownloads": 14249231, | ||
"appsNew": 0, | ||
"appsUpdated": 9, | ||
"appsDeleted": 0, | ||
"date": "2024-10-15T06:39:44Z", | ||
"badManifests": 20, | ||
"prevDate": "2024-10-15T05:33:21Z", | ||
"date": "2024-10-15T05:53:18Z" | ||
"prevDate": "2024-10-15T05:53:18Z" | ||
} |