Updater - No need to download

Contrast_Picker
Arcidayne 9 years ago
parent 34a76d492d
commit 346f07a285

@ -51,7 +51,8 @@ function UpdatePlugin(pid, pfile, pversion, raw)
local file = io.open(pfile, "w") local file = io.open(pfile, "w")
file:write(page) file:write(page)
file:close() file:close()
ReloadPlugin(pfile) ReloadPlugin(pid)
Unload(GetPluginID())
end end
raw_version = nil raw_version = nil

Loading…
Cancel
Save