From 2499f805ba01e242c85f33e37580c333a14d0bb6 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 12 Jan 2017 15:22:04 -0700 Subject: [PATCH] Added Ronin Launcher --- Ronin.command | 7 +++++++ scripts/modules/help.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 Ronin.command diff --git a/Ronin.command b/Ronin.command new file mode 100755 index 0000000..28d6dbc --- /dev/null +++ b/Ronin.command @@ -0,0 +1,7 @@ +#!/bin/bash +cd `dirname "$BASH_SOURCE"` +{ + sleep 1 + open http://localhost:8022 +}& +python -m SimpleHTTPServer 8022 diff --git a/scripts/modules/help.js b/scripts/modules/help.js index 31cf789..a7d83b0 100644 --- a/scripts/modules/help.js +++ b/scripts/modules/help.js @@ -38,7 +38,7 @@ function Help(rune) } html += "\n"; html += "- Variables: "; - for (var key in ronin.modules[key].variables){ + for(var key in ronin.modules[key].variables){ html += "`"+key+"` "; } html += "\n\n";