aboutsummaryrefslogtreecommitdiff
path: root/install.nu
diff options
context:
space:
mode:
Diffstat (limited to 'install.nu')
-rwxr-xr-xinstall.nu10
1 files changed, 9 insertions, 1 deletions
diff --git a/install.nu b/install.nu
index 166deb0..42ba0f7 100755
--- a/install.nu
+++ b/install.nu
@@ -11,7 +11,15 @@
let DEVICE_ID = match (uname | get nodename) {
"glados" => "010",
"wheatley" => "020",
- "chell" => "030",
+ "localhost" => {
+
+ if ((uname | get operating-system) == "Android") {
+ "030"
+ } else {
+ error make -u { msg: "unsupported device" }
+ }
+
+ },
"hx7124" => "040",
"caroline" => "110",
"cavejohnson" => "120",