Again, implementing dumb deletion of temporal files. La tercera es la vencida!
This commit is contained in:
parent
5c98c327c3
commit
052d8523c7
@ -129,7 +129,9 @@ GrafoscopioGUI class >> dockingBar: anObject [
|
|||||||
|
|
||||||
{ #category : #'graphical interface' }
|
{ #category : #'graphical interface' }
|
||||||
GrafoscopioGUI class >> downloadingFrom: downloadUrl withMessage: aString into: location [
|
GrafoscopioGUI class >> downloadingFrom: downloadUrl withMessage: aString into: location [
|
||||||
|
| fileName |
|
||||||
|
fileName := (downloadUrl splitOn: $/) last.
|
||||||
|
(location / fileName) exists ifTrue: [ (location / fileName) ensureDelete ].
|
||||||
[: bar |
|
[: bar |
|
||||||
bar title: aString.
|
bar title: aString.
|
||||||
[ZnClient new
|
[ZnClient new
|
||||||
|
Loading…
Reference in New Issue
Block a user