mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	zigup: (chore) Add architecture, persist zig versions
Add architecture because zigup is 64bit. Persist downloaded versions of zig which are kept in `$dir\zig`. Add $dir to PATH because the symlink to `zig` is created here. Add note that the `zig` symlink needs to be recreated after update. We should use `--path-link` to move this to a folder that Scoop can persist.
This commit is contained in:
		
							parent
							
								
									50a13bc5e9
								
							
						
					
					
						commit
						0000de0f8e
					
				@ -3,14 +3,25 @@
 | 
			
		||||
    "description": "Download and manage Zig compilers",
 | 
			
		||||
    "homepage": "https://github.com/marler8997/zigup",
 | 
			
		||||
    "license": "MIT-0",
 | 
			
		||||
    "url": "https://github.com/marler8997/zigup/releases/download/v2024_02_25/zigup.windows-latest-x86_64.zip",
 | 
			
		||||
    "hash": "9aa5c98b55203712af61242753871ad75cada479373713b4dc2804c21c4db561",
 | 
			
		||||
    "notes": "After updating, please run `zigup <your-preferred-version>` to recreate the `zig` symlink.",
 | 
			
		||||
    "architecture": {
 | 
			
		||||
        "64bit": {
 | 
			
		||||
            "url": "https://github.com/marler8997/zigup/releases/download/v2024_02_25/zigup.windows-latest-x86_64.zip",
 | 
			
		||||
            "hash": "9aa5c98b55203712af61242753871ad75cada479373713b4dc2804c21c4db561"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "env_add_path": ".",
 | 
			
		||||
    "bin": "zigup.exe",
 | 
			
		||||
    "persist": "zig",
 | 
			
		||||
    "checkver": {
 | 
			
		||||
        "url": "https://api.github.com/repos/marler8997/zigup/releases",
 | 
			
		||||
        "regex": "v([\\d_]+)"
 | 
			
		||||
    },
 | 
			
		||||
    "autoupdate": {
 | 
			
		||||
        "url": "https://github.com/marler8997/zigup/releases/download/v$version/zigup.windows-latest-x86_64.zip"
 | 
			
		||||
        "architecture": {
 | 
			
		||||
            "64bit": {
 | 
			
		||||
                "url": "https://github.com/marler8997/zigup/releases/download/v$version/zigup.windows-latest-x86_64.zip"
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user