From b1b0b1d6b89106526dbd272f227cadd31cd3eea0 Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Sun, 20 Dec 2015 20:22:51 -0800 Subject: [PATCH] Dummy file --- Updater/Updater.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Updater/Updater.xml b/Updater/Updater.xml index 9821fe9..2200e5c 100644 --- a/Updater/Updater.xml +++ b/Updater/Updater.xml @@ -48,14 +48,16 @@ function UpdatePlugin(pid, pfile, pversion, raw) ColourNote("white", "blue", "You currently have the latest version!") elseif tonumber(raw_version) > tonumber(pversion) then ColourNote("white", "blue", "Updating from " .. pversion .. " to " .. raw_version .. "!") - --UnloadPlugin(pid) + UnloadPlugin(pid) local file = io.open(pfile, "w") file:write(page) file:close() - --DoAfterSpecial(3, "LoadPlugin(" .. pid .. ")", 12) + DoAfterSpecial(3, "LoadPlugin(" .. pid .. ")", 12) end raw_version = nil + + CallPlugin('e6cd5104e883a1dd9c4362e2', "remove_update", GetPluginID()) --UnloadPlugin(GetPluginID()) --os.remove(GetPluginInfo(GetPluginID(), 6)) end