From 4a608e11a2b7ea31f4d053319666c31fa154d199 Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Tue, 26 Sep 2017 19:52:16 -0400 Subject: [PATCH] oops --- sys/apis/injector.lua | 2 +- sys/apps/Lua.lua | 5 ++--- sys/boot/multishell.boot | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/sys/apis/injector.lua b/sys/apis/injector.lua index 7723204..5ad8e75 100644 --- a/sys/apis/injector.lua +++ b/sys/apis/injector.lua @@ -1,4 +1,4 @@ -local DEFAULT_UPATH = 'https://raw.githubusercontent.com/kepler155c/opus/master/sys/apis' +local DEFAULT_UPATH = 'https://raw.githubusercontent.com/kepler155c/opus/develop/sys/apis' local PASTEBIN_URL = 'http://pastebin.com/raw' local GIT_URL = 'https://raw.githubusercontent.com' diff --git a/sys/apps/Lua.lua b/sys/apps/Lua.lua index 1ff8a1d..6eba3fd 100644 --- a/sys/apps/Lua.lua +++ b/sys/apps/Lua.lua @@ -6,10 +6,9 @@ local History = require('history') local UI = require('ui') local Util = require('util') -local sandboxEnv = Util.shallowCopy(getfenv(1)) -setmetatable(sandboxEnv, { __index = _G }) +local sandboxEnv = setmetatable(Util.shallowCopy(getfenv(1)), { __index = _G }) sandboxEnv.exit = function() Event.exitPullEvents() end -injector(sandboxEnv) +requireInjector(sandboxEnv) multishell.setTitle(multishell.getCurrent(), 'Lua') UI:configure('Lua', ...) diff --git a/sys/boot/multishell.boot b/sys/boot/multishell.boot index 53a8d9e..a6a8207 100644 --- a/sys/boot/multishell.boot +++ b/sys/boot/multishell.boot @@ -29,7 +29,7 @@ term.setCursorPos((w - #str) / 2, h) term.write(str) term.setCursorPos(w, h) -local GIT_REPO = 'kepler155c/opus/master' +local GIT_REPO = 'kepler155c/opus/develop' local BASE = 'https://raw.githubusercontent.com/' .. GIT_REPO local function makeEnv() @@ -85,7 +85,7 @@ if not fs.exists('usr/autorun') then fs.makeDir('usr/autorun') end if not fs.exists('usr/etc/fstab') then - Util.writeFile('usr/etc/fstab', 'usr gitfs kepler155c/opus-apps/master') + Util.writeFile('usr/etc/fstab', 'usr gitfs kepler155c/opus-apps/develop') end if not fs.exists('usr/config/shell') then Util.writeTable('usr/config/shell', {