mirror of
https://github.com/Insality/druid
synced 2025-11-26 10:50:54 +01:00
Up
This commit is contained in:
@@ -59,7 +59,9 @@ function M.install_widget(item, install_folder)
|
||||
local zip_file_path = "." .. install_folder .. "/" .. filename
|
||||
local zip_file = io.open(zip_file_path, "wb")
|
||||
if not zip_file then
|
||||
return false, "Failed to open zip file: " .. zip_file_path
|
||||
print("Directory does not exist: " .. install_folder)
|
||||
print("Please create the directory manually and try again.")
|
||||
return false, "Directory does not exist: " .. install_folder
|
||||
end
|
||||
|
||||
zip_file:write(zip_data)
|
||||
|
||||
Reference in New Issue
Block a user