diff --git a/repository/TiddlyWiki/TiddlyWiki.class.st b/repository/TiddlyWiki/TiddlyWiki.class.st index 4162b2b..23608a7 100644 --- a/repository/TiddlyWiki/TiddlyWiki.class.st +++ b/repository/TiddlyWiki/TiddlyWiki.class.st @@ -232,13 +232,12 @@ TiddlyWiki >> downloadHTML [ TiddlyWiki >> downloadLink: v into: subfolder [ | filePath fileName semiFilePath | fileName := v asUrl segments last. - semiFilePath := subfolder , fileName. - filePath := (FileLocator temp / semiFilePath) fullName. + filePath := subfolder / fileName. GtSubprocessWithInMemoryOutput new shellCommand: 'curl -L -# ' , v , ' -o ' , filePath; runAndWait; stdout. - ^ FileLocator temp / semiFilePath + ^ semiFilePath ] { #category : #accessing } @@ -1034,6 +1033,7 @@ TiddlyWiki >> tiddlersJSONFile [ { #category : #accessing } TiddlyWiki >> tiddlersJSONUrl [ + self isInTiddlyHost ifTrue: [^ self remote / 'tiddlers.json' ]. self remote ifNil: [^ nil]. ]