mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 13:51:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			60 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "version": "1.24.6",
 | |
|     "description": "A painless self-hosted Git service",
 | |
|     "homepage": "https://gitea.io/",
 | |
|     "license": "MIT",
 | |
|     "architecture": {
 | |
|         "64bit": {
 | |
|             "url": "https://dl.gitea.com/gitea/1.24.6/gitea-1.24.6-windows-4.0-amd64.exe.xz",
 | |
|             "hash": "fd9bc330b8baff2c5576dfc3ea0b75b7e87e5c800af28c9f97d626bc4e89a6d8"
 | |
|         },
 | |
|         "32bit": {
 | |
|             "url": "https://dl.gitea.com/gitea/1.24.6/gitea-1.24.6-windows-4.0-386.exe.xz",
 | |
|             "hash": "0903a269bf52a61d87ffd7625a8462a71d3a304777dffed9c6fefc32d4467909"
 | |
|         }
 | |
|     },
 | |
|     "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.com/gitea/version.json",
 | |
|         "jsonpath": "$.latest.version"
 | |
|     },
 | |
|     "autoupdate": {
 | |
|         "architecture": {
 | |
|             "64bit": {
 | |
|                 "url": "https://dl.gitea.com/gitea/$version/gitea-$version-windows-4.0-amd64.exe.xz"
 | |
|             },
 | |
|             "32bit": {
 | |
|                 "url": "https://dl.gitea.com/gitea/$version/gitea-$version-windows-4.0-386.exe.xz"
 | |
|             }
 | |
|         },
 | |
|         "hash": {
 | |
|             "url": "$url.sha256"
 | |
|         }
 | |
|     }
 | |
| }
 | 
![github-actions[bot]](/assets/img/avatar_default.png)