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

Openfortress: Add version 21 #1264

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Changes from all 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
30 changes: 30 additions & 0 deletions bucket/openfortress.json
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 }"
]
}