-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openfortress: Add version 21 (#1264)
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"version": "21", | ||
"license": "Freeware", | ||
"homepage": "https://openfortress.fun/", | ||
"description": "Open Fortress is a free, community-developed Team Fortress 2 mod that introduces new gamemodes, characters, weapons, maps and more to the world of TF2. Over 100 community contributors have combined their creativity and innovation with the iconic mid-century aesthetic of TF2 and the gameplay features of classic arena shooters, delivering a truly unique spin on one of the most popular multiplayer games of all time.", | ||
"url": "https://beans.adastral.net/beans.exe", | ||
"hash": "00189ba19c7b714025220dc7956d967dda5cf8551f9b1d0701c91f7b6e0e90f4", | ||
"checkver": { | ||
"script": [ | ||
"$url = \"https://beans.adastral.net/versions.json\"", | ||
"$jsonData = Invoke-RestMethod -Uri $url", | ||
"$ver = $jsonData.versions.PSObject.Properties.Name | Measure-Object -Maximum | Select-Object -ExpandProperty Maximum", | ||
"$ver" | ||
], | ||
"regex": "(\\S+)" | ||
}, | ||
"autoupdate": { | ||
"url": "https://beans.adastral.net/beans.exe" | ||
}, | ||
"bin": "beans.exe", | ||
"post_install": [ | ||
"Write-Host", | ||
"if ($cmd -eq \"install\") { beans install }", | ||
"if ($cmd -eq \"update\") { beans update }" | ||
], | ||
"pre_uninstall": [ | ||
"Write-Host", | ||
"if ($cmd -eq \"uninstall\") { beans uninstall }" | ||
] | ||
} |