Skip to content

Commit

Permalink
instalator pluginow bedzie poprawnie nadpisywal katalog pluginu (#1029)
Browse files Browse the repository at this point in the history
* instalator pluginow bedzie poprawnie nadpisywal katalog pluginu

* use var
  • Loading branch information
Delwing authored Jun 28, 2021
1 parent 35f1f5a commit 6651a57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions skrypty/utils/installer/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ function scripts.plugins_installer:handle_unzip(event, plugin_name, branch, ...)
if event == "sysUnzipDone" then
if branch then
local base_name = self.plugin_directory .. plugin_name
scripts.installer.delete_dir(base_name)
os.rename(base_name .. "-" .. branch, base_name)
end
scripts:print_log("Plugin " .. plugin_name .. " rozpakowany")
Expand Down

0 comments on commit 6651a57

Please sign in to comment.