Removing some unused and old stuff
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"title": "silentdragon-vRELEASE_VERSION",
|
||||
"icon": "logo.icns",
|
||||
"background": "dmgbg.png",
|
||||
"window" : {
|
||||
"size" : { "width" : 600, "height" : 100},
|
||||
"position" : { "x" : 200, "y" : 200}
|
||||
},
|
||||
"contents": [
|
||||
{ "x": 448, "y": 80, "type": "link", "path": "/Applications" },
|
||||
{ "x": 152, "y": 80, "type": "file", "path": "silentdragon.app" }
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 14 KiB |
BIN
res/dmgbg.png
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 56 KiB |
@@ -1,38 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
###
|
||||
# Adapted from: https://stackoverflow.com/a/20703594
|
||||
###
|
||||
|
||||
if [ -z "${1+set}" ]; then
|
||||
echo "Pass path to the inkscape command as first argument"
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "${2+set}" ]; then
|
||||
echo "Pass svg file as second argument"
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "${3+set}" ]; then
|
||||
echo "Pass output name (w/o .icns) as third argument"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
inkscape=$1
|
||||
svg_file=$2
|
||||
output_name=$3
|
||||
|
||||
set -e
|
||||
mkdir $output_name.iconset
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_16x16.png" -w 16 -h 16 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_16x16@2x.png" -w 32 -h 32 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_32x32.png" -w 32 -h 32 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_32x32@2x.png" -w 64 -h 64 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_128x128.png" -w 128 -h 128 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_128x128@2x.png" -w 256 -h 256 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_256x256.png" -w 256 -h 256 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_256x256@2x.png" -w 512 -h 512 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_512x512.png" -w 512 -h 512 -y 0 "$PWD/$svg_file"
|
||||
$inkscape -z -e "$PWD/$output_name.iconset/icon_512x512@2x.png" -w 1024 -h 1024 -y 0 "$PWD/$svg_file"
|
||||
iconutil -c icns "$output_name.iconset"
|
||||
rm -R "$output_name.iconset"
|
||||
|
||||
|
Before Width: | Height: | Size: 75 KiB |
@@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
for size in 16 32 48 128 256; do
|
||||
inkscape -z -e $size.png -w $size -h $size logo.svg >/dev/null 2>/dev/null
|
||||
done
|
||||
convert 16.png 32.png 48.png 128.png 256.png -colors 256 icon.ico
|
||||
rm 16.png 32.png 48.png 128.png 256.png
|
||||
BIN
res/sdl-logo.gif
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 1015 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 451 KiB |