{ "version": "1.16.6", "description": "A painless self-hosted Git service", "homepage": "https://gitea.io/", "license": "MIT", "architecture": { "64bit": { "url": "https://dl.gitea.io/gitea/1.16.6/gitea-1.16.6-windows-4.0-amd64.exe.xz", "hash": "34b804b5ca46bef744e1e63de9304705aa7a92e58c943488635969bd1cbb6d67" }, "32bit": { "url": "https://dl.gitea.io/gitea/1.16.6/gitea-1.16.6-windows-4.0-386.exe.xz", "hash": "88dac1948cbeead8356ed165a92757680f26223ebf5d71d022e0a19c05f66b41" } }, "installer": { "script": [ "Get-Item \"$dir\\gitea*.exe\" | Rename-Item -NewName 'gitea.exe'", "if (!(Test-Path \"$persist_dir\\custom\\conf\")) {", " New-Item \"$persist_dir\\custom\\conf\" -ItemType Directory | Out-Null", "}", "if (!(Test-Path \"$persist_dir\\custom\\conf\\app.ini\")) {", " @(", " '[database]'", " 'DB_TYPE = sqlite3'", " \"PATH = $persist_dir/data/gitea.db\"", " '[repository]'", " \"ROOT = $persist_dir/repositories\"", " '[log]'", " \"ROOT_PATH = $persist_dir/log\"", " ) -replace '\\\\', '/' | Set-Content \"$persist_dir\\custom\\conf\\app.ini\" -Encoding ASCII", "}" ] }, "bin": "gitea.exe", "persist": [ "custom", "repositories", "log", "data" ], "checkver": { "url": "https://dl.gitea.io/gitea", "regex": "Current Release ([\\d.]+)" }, "autoupdate": { "architecture": { "64bit": { "url": "https://dl.gitea.io/gitea/$version/gitea-$version-windows-4.0-amd64.exe.xz" }, "32bit": { "url": "https://dl.gitea.io/gitea/$version/gitea-$version-windows-4.0-386.exe.xz" } }, "hash": { "url": "$url.sha256" } } }