From 4bd52732abbe36c9798fa23f93ab40fadb404dac Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Thu, 13 Aug 2020 19:14:20 -0500 Subject: [PATCH] Starting themes customization. --- repository/Brea/BreaTheme.class.st | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/repository/Brea/BreaTheme.class.st b/repository/Brea/BreaTheme.class.st index 527b92d..33b0d7f 100644 --- a/repository/Brea/BreaTheme.class.st +++ b/repository/Brea/BreaTheme.class.st @@ -30,7 +30,9 @@ Class { 'provider', 'url', 'preview', - 'license' + 'license', + 'folder', + 'customizations' ], #category : #Brea } @@ -49,9 +51,20 @@ BreaTheme >> downloadInto: aFolder [ aFolder ensureCreateDirectory. GrafoscopioUtils downloadingFrom: self url withMessage: 'Downloading ', tempName, '...' into: zippedFile. + self folder: aFolder. ^ zippedFile ] +{ #category : #accessing } +BreaTheme >> folder [ + ^ folder +] + +{ #category : #accessing } +BreaTheme >> folder: anObject [ + folder := anObject +] + { #category : #installation } BreaTheme >> installInto: aFolder [ | zippedFile |