From 2875964efc37453f328ba3956aab6373cf687f51 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Sun, 20 Oct 2024 19:59:36 -0500 Subject: [PATCH] Replacing temporal downloded folders for new themes. --- repository/Brea/BreaTheme.class.st | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repository/Brea/BreaTheme.class.st b/repository/Brea/BreaTheme.class.st index 573b737..5397394 100644 --- a/repository/Brea/BreaTheme.class.st +++ b/repository/Brea/BreaTheme.class.st @@ -143,11 +143,13 @@ BreaTheme >> folder: anObject [ BreaTheme >> installInto: aFolder [ | zippedFile | self url ifNil: [ ^ self ]. + zippedFile := FileLocator temp / 'download'. + zippedFile ensureDelete. ZnClient new url: self url; downloadTo: FileLocator temp. - zippedFile := FileLocator temp / 'download'. (ZipArchive new readFrom: zippedFile) extractAllTo: aFolder. + self folder: aFolder. ^ aFolder ]