{ "homepage": "https://gitea.io/", "version": "1.12.4", "description": "A painless self-hosted Git service.", "license": "MIT", "architecture": { "64bit": { "url": "https://dl.gitea.io/gitea/1.12.4/gitea-1.12.4-windows-4.0-amd64.exe.xz", "hash": "6f1ad6d73b39b0f5541560a16230ddaead6a09107c165f1375c307ccb4940a58" }, "32bit": { "url": "https://dl.gitea.io/gitea/1.12.4/gitea-1.12.4-windows-4.0-386.exe.xz", "hash": "b621ddbde5b5ad2ffa738fdba001dffa5fd0a2f8abdf21a772779d4a349f2af0" } }, "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" } } }