diff options
author | elijah <elijah@riseup.net> | 2018-07-12 10:33:41 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2018-07-12 10:33:41 -0700 |
commit | c7aa930ba0ae2235ccd00fb826564e924bb44b1f (patch) | |
tree | 5b17e794262df6ad8758cb3f505123d2b12f7be9 | |
parent | 92d71112428f50ffec609923c52d68cca4d5d7c0 (diff) |
-rw-r--r-- | Rakefile | 17 | ||||
-rw-r--r-- | riseup/android/res/drawable-hdpi/riseupvpn-launcher.png | bin | 0 -> 1843 bytes | |||
-rw-r--r-- | riseup/android/res/drawable-ldpi/riseupvpn-launcher.png | bin | 0 -> 1173 bytes | |||
-rw-r--r-- | riseup/android/res/drawable-mdpi/riseupvpn-launcher.png | bin | 0 -> 1530 bytes | |||
-rw-r--r-- | riseup/android/res/drawable-xhdpi/riseupvpn-launcher.png | bin | 0 -> 2412 bytes | |||
-rw-r--r-- | riseup/mac/riseupvpn.icns | bin | 85628 -> 85625 bytes |
6 files changed, 15 insertions, 2 deletions
@@ -1,4 +1,11 @@ ## +## REQUIREMENTS: +## +## ruby +## sudo apt install optipng icnsutils inkscape +## + +## ## CONFIGURATION ## @@ -47,7 +54,12 @@ output_directories = [ 'riseup', 'riseup/linux', 'riseup/mac', - 'riseup/android' + 'riseup/android', + 'riseup/android/res', + 'riseup/android/res/drawable-ldpi', + 'riseup/android/res/drawable-mdpi', + 'riseup/android/res/drawable-hdpi', + 'riseup/android/res/drawable-xhdpi' ] android_launcher_target = [ @@ -152,7 +164,9 @@ copy = [ # # RiseupVPN # +riseup_android_launcher = android_launcher_target.map {|i| i = i.clone; i[:dest] = "riseup/" + i[:dest]; i} svg_to_raster += [ + ['source/riseup/riseupvpn-launcher.svg', riseup_android_launcher], ['source/riseup/riseupvpn-launcher.svg', {:size => 512, :dest => 'riseup/android/hi-res-icon.png'}], ['source/riseup/riseupvpn-feature-graphic.svg', {:width => 1024, :height => 512, :dest => 'riseup/android/feature-graphic.png'}], ['source/riseup/riseupvpn-launcher.svg', {:size => 256, :dest => 'riseup/linux/riseupvpn.png'}], @@ -161,7 +175,6 @@ svg_to_raster += [ png_to_icns << ['riseup/mac/riseupvpn.png', {:dest => 'riseup/mac/riseupvpn.icns'}] copy << ['source/riseup/riseupvpn-launcher.svg', {:dest => 'riseup/linux/riseupvpn.svg'}] - ## ## HELPERS ## diff --git a/riseup/android/res/drawable-hdpi/riseupvpn-launcher.png b/riseup/android/res/drawable-hdpi/riseupvpn-launcher.png Binary files differnew file mode 100644 index 0000000..faaaa0f --- /dev/null +++ b/riseup/android/res/drawable-hdpi/riseupvpn-launcher.png diff --git a/riseup/android/res/drawable-ldpi/riseupvpn-launcher.png b/riseup/android/res/drawable-ldpi/riseupvpn-launcher.png Binary files differnew file mode 100644 index 0000000..9a106e2 --- /dev/null +++ b/riseup/android/res/drawable-ldpi/riseupvpn-launcher.png diff --git a/riseup/android/res/drawable-mdpi/riseupvpn-launcher.png b/riseup/android/res/drawable-mdpi/riseupvpn-launcher.png Binary files differnew file mode 100644 index 0000000..cf774af --- /dev/null +++ b/riseup/android/res/drawable-mdpi/riseupvpn-launcher.png diff --git a/riseup/android/res/drawable-xhdpi/riseupvpn-launcher.png b/riseup/android/res/drawable-xhdpi/riseupvpn-launcher.png Binary files differnew file mode 100644 index 0000000..eb46e2f --- /dev/null +++ b/riseup/android/res/drawable-xhdpi/riseupvpn-launcher.png diff --git a/riseup/mac/riseupvpn.icns b/riseup/mac/riseupvpn.icns Binary files differindex 94fae18..91d6ea7 100644 --- a/riseup/mac/riseupvpn.icns +++ b/riseup/mac/riseupvpn.icns |