From defb1a8819cc161497dda4e153f5870cd5c0f2b9 Mon Sep 17 00:00:00 2001 From: ruidajo Date: Sat, 14 May 2022 16:56:07 -0500 Subject: [PATCH] Modifyng installer for commons. --- .../NitterUser.class/instance/externalWordCloud.st | 2 +- ...{installExternalWordCloudCommons.st => installCommons.st} | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) rename Socialmetrica.package/NitterUser.class/instance/{installExternalWordCloudCommons.st => installCommons.st} (83%) diff --git a/Socialmetrica.package/NitterUser.class/instance/externalWordCloud.st b/Socialmetrica.package/NitterUser.class/instance/externalWordCloud.st index 7f4c20a..80f7f47 100644 --- a/Socialmetrica.package/NitterUser.class/instance/externalWordCloud.st +++ b/Socialmetrica.package/NitterUser.class/instance/externalWordCloud.st @@ -3,7 +3,7 @@ externalWordCloud | text outputFile | self areCommonFilesInstalled - ifFalse: [ self installExternalWordCloudCommons ]. + ifFalse: [ self installCommons ]. self writeWordsFile. outputFile := (self folder / 'wordcloud.png') fullName. text := (self folder / 'words', 'txt') fullName. diff --git a/Socialmetrica.package/NitterUser.class/instance/installExternalWordCloudCommons.st b/Socialmetrica.package/NitterUser.class/instance/installCommons.st similarity index 83% rename from Socialmetrica.package/NitterUser.class/instance/installExternalWordCloudCommons.st rename to Socialmetrica.package/NitterUser.class/instance/installCommons.st index 4b81e02..a1728ab 100644 --- a/Socialmetrica.package/NitterUser.class/instance/installExternalWordCloudCommons.st +++ b/Socialmetrica.package/NitterUser.class/instance/installCommons.st @@ -1,10 +1,11 @@ accessing -installExternalWordCloudCommons +installCommons | commonFiles folder | commonFiles := #( 'https://mutabit.com/repos.fossil/mutabit/uv/wiki/commons/nube-mascara.jpg' - 'https://mutabit.com/repos.fossil/mutabit/raw?name=wiki/commons/stopwords-es.txt&ci=tip'). + 'https://mutabit.com/repos.fossil/mutabit/raw?name=wiki/commons/stopwords-es.txt&ci=tip' + 'https://mutabit.com/repos.fossil/mutabit/uv/wiki/commons/logo-mutabit-negro.png'). folder := TweetsCollection dataStore / 'commons'. folder exists ifTrue: [ folder ensureDeleteAllChildren ]