Advertisement
Guest User

scriptCuisSmalltalkBoot

a guest
Aug 1st, 2021
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1.  
  2. " . The block+value is for making a local variables context "
  3.  
  4. [ |list tbar area morph vmDir pathStr1 file1|
  5.  
  6. "-] suggested by Hilaire on the mailing list.
  7. without this the existing morph on boot do not get cancelled.
  8. "
  9. self runningWorld doOneCycle.
  10.  
  11. "-] get rid of all the morph except taskbar "
  12. list _ UISupervisor ui submorphs reject: [ :aMo | aMo is: #TaskbarMorph ].
  13. list do: [ :x | x delete ] .
  14.  
  15. "-] font size i like"
  16. Preferences veryBigFonts .
  17.  
  18. "-] open a Workspace "
  19. Workspace openWorkspace.
  20.  
  21. "-] Install fature "
  22. Feature require: 'WebClient'.
  23. Feature require: 'JSON'.
  24. Feature require: 'OSProcess'.
  25. Feature require: 'TerseGuide'.
  26. Feature require: 'StyledText'.
  27. Feature require: 'SqueakCompatibility'.
  28. Feature require: 'CommandShell'.
  29.  
  30. "-] For now RegEx is not a Feature, install as Package "
  31. vmDir _ DirectoryEntry smalltalkImageDirectory .
  32. pathStr1 _ vmDir parent pathName, 'Cuis-Smalltalk-RegEx/Regex-Core.pck.st'.
  33. file1 _ FileSystemEntry withPathName: pathStr1.
  34. CodePackageFile installPackage: file1.
  35. pathStr1 _ vmDir parent pathName, 'Cuis-Smalltalk-RegEx/Regex-Tests.pck.st'.
  36. file1 _ FileSystemEntry withPathName: pathStr1.
  37. CodePackageFile installPackage: file1.
  38.  
  39. " TODO -- font, monospace. "
  40.  
  41. "-] At the end do a Restore Display to redraw the World. "
  42. UISupervisor ui restoreDisplay .
  43.  
  44. ] value.
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement