From 8ee22d35bd53685358e091c7f2c99bc024a2f10e Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 29 Aug 2019 17:12:08 +0000
Subject: [PATCH] Add installer support.

---
 xtrn/lord/aratime/aratime.js | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/xtrn/lord/aratime/aratime.js b/xtrn/lord/aratime/aratime.js
index b3ecf951a1..dce324cd8b 100644
--- a/xtrn/lord/aratime/aratime.js
+++ b/xtrn/lord/aratime/aratime.js
@@ -192,5 +192,13 @@ function chkmaint()
 }
 
 // TODO CONFIG
-chkmaint();
-menu();
+if (argc == 1 && argv[0] == 'INSTALL') {
+	var install = {
+		desc:'`%Aragorn`2\'s Timer'
+	}
+	exit(0);
+}
+else {
+	chkmaint();
+	menu();
+}
-- 
GitLab