From 3a47faaba83533720f19047ccbd135abc82c360f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Kom=C3=A1rek?= Date: Fri, 8 Nov 2024 18:36:43 +0100 Subject: [PATCH] openfortress: Add version 21 (#1264) --- bucket/openfortress.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 bucket/openfortress.json diff --git a/bucket/openfortress.json b/bucket/openfortress.json new file mode 100644 index 000000000000..d22e533fd27c --- /dev/null +++ b/bucket/openfortress.json @@ -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 }" + ] +}