summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-12-19 02:42:00 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-12-19 02:42:00 +0100
commit3c03ac09d4e1a11a6b149e9ab67eac4b214275f5 (patch)
tree1869827cbad898087c5458a3d7fd9ef4bcce34c7 /app/src/main/res
parentcc77d9df57f4c219e61c28ae21cfec5c4793dc32 (diff)
SettingsActivity: allow for installing command line tools
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml6
-rw-r--r--app/src/main/res/xml/preferences.xml4
2 files changed, 10 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ea4acb78..02d2ac4c 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -60,6 +60,12 @@
<string name="public_key_description">WireGuard public key</string>
<string name="restore_on_boot">Restore on boot</string>
<string name="restore_on_boot_summary">Restore previously enabled configurations on boot</string>
+ <string name="install_cmd_line_tools">Install command line tools</string>
+ <string name="install_cmd_line_tools_summary">Install optional tools for scripting into /system/xbin</string>
+ <string name="install_cmd_line_tools_success">wg and wg-quick installed into /system/xbin</string>
+ <string name="install_cmd_line_tools_progress">Installing wg and wg-quick into /system/xbin</string>
+ <string name="install_cmd_line_tools_already">wg and wg-quick are already installed</string>
+ <string name="install_cmd_line_tools_failure">Command line tools could not be installed</string>
<string name="save">Save</string>
<string name="settings">Settings</string>
<string name="status">Status</string>
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 95683a16..012e08fa 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -9,4 +9,8 @@
android:key="restore_on_boot"
android:summary="@string/restore_on_boot_summary"
android:title="@string/restore_on_boot" />
+ <Preference
+ android:key="install_cmd_line_tools"
+ android:summary="@string/install_cmd_line_tools_summary"
+ android:title="@string/install_cmd_line_tools" />
</PreferenceScreen>