mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-09-11 06:45:28 +03:00
fix: macos icon generation (#1457)
This commit is contained in:
parent
974619f5d8
commit
38ba585382
@ -38,6 +38,10 @@
|
||||
- imagemagick (for AppImage)
|
||||
|
||||
### <a id="dependencies-macos"></a>MacOS
|
||||
- imagemagick
|
||||
- png2icns (`npm install png2icns -g`)
|
||||
- librsvg
|
||||
|
||||
|
||||
### <a id="dependencies-windows"></a>Windows
|
||||
|
||||
|
@ -33,8 +33,8 @@ VSCODE_PREFIX=""
|
||||
|
||||
build_darwin_main() { # {{{
|
||||
if [ ! -f "${SRC_PREFIX}src/${QUALITY}/resources/darwin/code.icns" ]; then
|
||||
rsvg-convert -w 700 -h 700 "icons/${QUALITY}/codium.svg" -o "code_logo.png"
|
||||
composite "code_logo.png" -geometry +165+190 "icons/template_macos.png" "code_1024.png"
|
||||
rsvg-convert -w 655 -h 655 "icons/${QUALITY}/codium.svg" -o "code_logo.png"
|
||||
composite "code_logo.png" -gravity center "icons/template_macos.png" "code_1024.png"
|
||||
convert "code_1024.png" -resize 512x512 code_512.png
|
||||
convert "code_1024.png" -resize 256x256 code_256.png
|
||||
convert "code_1024.png" -resize 128x128 code_128.png
|
||||
|
Loading…
Reference in New Issue
Block a user