From e4ebade8064fc97c9c31c2cca973419d4be2bf92 Mon Sep 17 00:00:00 2001 From: Ivan Pulido Date: Sat, 6 Jun 2015 20:10:21 +0000 Subject: [PATCH] Changes in update docs. Adding 'AsString' because without it ZnClient downloads it in a weird way. --- repository/Grafoscopio/GrafoscopioBrowser.class.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/Grafoscopio/GrafoscopioBrowser.class.st b/repository/Grafoscopio/GrafoscopioBrowser.class.st index 5e9dac5..cc761c0 100644 --- a/repository/Grafoscopio/GrafoscopioBrowser.class.st +++ b/repository/Grafoscopio/GrafoscopioBrowser.class.st @@ -287,7 +287,7 @@ GrafoscopioBrowser class >> updateDocumentationNew [ client isSuccess ifTrue: [ filePath asFileReference writeStreamDo: [ :stream | - stream write: client contents ]. + stream write: client contents asString]. self inform: 'La actualización de la documentación ha terminado'. ] ifFalse: [ self inform: 'Algo salió mal. Verifique su conexión a Internet.' ] ] @@ -973,7 +973,7 @@ GrafoscopioBrowser >> openHelpInGrafoscopio [ | currentChildren | GrafoscopioBrowser configureSettings. - workingFile := (FileSystem disk workingDirectory parent / 'Docs' / 'Es' / 'Manual' / 'manual-grafoscopio.ston') asFileReference. + workingFile := (FileSystem disk workingDirectory / 'Docs' / 'Es' / 'Manual' / 'manual-grafoscopio.ston') asFileReference. currentChildren := (STON fromString: workingFile contents). self buildBrowserNamed: workingFile basenameWithIndicator. mainTree := GrafoscopioNode new