forked from eden-emu/eden
		
	Uses tags for a bunch of deps that can use them Also adds a bunmch of scripts to tools/cpm, notably for checking hashes and checking for updates. TODO for the future: - CI target to check hashes - Weekly CI to check for updates Need to get that other CI runner up additional stuff - Ports gentoo fixes - makes solaris work (TODO: sdl2) - way better docs - properly separates CPMUtil as a standalone project Reviewed-on: eden-emu/eden#2666 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			743 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			743 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh -e
 | |
| 
 | |
| # SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
 | |
| # SPDX-License-Identifier: GPL-3.0-or-later
 | |
| 
 | |
| # Updates main icons for eden
 | |
| 
 | |
| which png2icns || (which yay && yay libicns) || exit
 | |
| which magick || exit
 | |
| 
 | |
| export EDEN_SVG_ICO="dist/dev.eden_emu.eden.svg"
 | |
| svgo --multipass $EDEN_SVG_ICO
 | |
| 
 | |
| magick -density 256x256 -background transparent $EDEN_SVG_ICO \
 | |
|     -define icon:auto-resize -colors 256 dist/eden.ico || exit
 | |
| convert -density 256x256 -resize 256x256 -background transparent $EDEN_SVG_ICO \
 | |
|     dist/yuzu.bmp || exit
 | |
| 
 | |
| export TMP_PNG="dist/eden-tmp.png"
 | |
| magick -size 1024x1024 -background transparent $EDEN_SVG_ICO $TMP_PNG || exit
 | |
| png2icns dist/eden.icns $TMP_PNG || exit
 | |
| cp dist/eden.icns dist/yuzu.icns
 | |
| rm $TMP_PNG
 |