Skip to content

Commit

Permalink
Fix updating versions not deleting folders
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaTK committed Aug 26, 2023
1 parent 84dee5f commit cf8e7cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions addons/gaea/editor/download_update_panel.gd
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ func _on_http_request_request_completed(result: int, response_code: int, headers
zip_file.store_buffer(body)
zip_file.close()

if DirAccess.dir_exists_absolute("res://addons/gaea"):
DirAccess.remove_absolute("res://addons/gaea")
OS.move_to_trash(ProjectSettings.globalize_path("res://addons/gaea"))

var zip_reader: ZIPReader = ZIPReader.new()
zip_reader.open(TEMP_FILE_PATH)
Expand Down
2 changes: 1 addition & 1 deletion addons/gaea/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="Gaea"
description="A procedural generation add-on for Godot 4.1"
author="BenjaTK"
version="0.3.1"
version="0.3.2"
script="plugin.gd"
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[sub_resource type="FastNoiseLite" id="FastNoiseLite_vcq1r"]
noise_type = 3
seed = -1470460601
seed = -67329000

[sub_resource type="Resource" id="Resource_jm03i"]
script = ExtResource("2_6f082")
Expand Down

0 comments on commit cf8e7cb

Please sign in to comment.