{ "version": "1.14.5", "description": "A painless self-hosted Git service", "homepage": "https://gitea.io/", "license": "MIT", "architecture": { "64bit": { "url": "https://dl.gitea.io/gitea/1.14.5/gitea-1.14.5-windows-4.0-amd64.exe.xz", "hash": "bd95b6fb4324492999f316bfc8867f6e69f0cc737388ebce03411b3cfe2a03f8" }, "32bit": { "url": "https://dl.gitea.io/gitea/1.14.5/gitea-1.14.5-windows-4.0-386.exe.xz", "hash": "b50a7f88c6330186a0107a35f0847d65dfa6b830fe02504259d83b3aef664c02" } }, "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://blog.gitea.io/", "regex": "Gitea.*?([\\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" } } }