diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c626e58..ae5cf45 100755 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -10,8 +10,10 @@ v1.0.0-not-yet-released< *Same for receiving *Added TextBox to configuration-share-dialog that lets the user see and copy the configuration string. *Added Whats-new-Dialog -*TODO: Move KD right below K? -*TODO: Add intent filters to recognize and automatically handle shared/copied configuration Strings +*New Icon! +*Added Script to automatically generate icons +*TODO?: Move KD right below K +*TODO?: Add intent filters to recognize and automatically handle shared/copied configuration Strings TODO: These are Strings starting with "EnigmAndroid/" *TODO: Write tests to ensure correct functionality (Pull Requests welcome) *TODO: Add multi-Enigma (select any rotor/reflector etc. Probably wont happen too soon) diff --git a/app/src/main/res/render-icon.sh b/app/src/main/res/render-icon.sh new file mode 100755 index 0000000..156efea --- /dev/null +++ b/app/src/main/res/render-icon.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# Converts the Inkscape icon file ic_launcher_web.svg to the launcher web & app png files. + +PROJECT="/home/vanitas/Programmierung/androidstudio/EnigmAndroid/app" +MAIN="${PROJECT}/src/main/" +RES="${MAIN}res/" +DRAWABLE="${RES}drawable" +INPUT="${RES}icon.svg" + +inkscape --shell <