Squeak
  links to this page:    
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
How to lockdown an image for release
Last updated at 1:58 pm UTC on 6 January 2022
Question: How to lockdown the image for release
Answer: From: How to save a parts bin
Sent: Sunday, December 14, 2003 12:15 PM

Use Ned Konz's Lockdown package.

More details:
http://map1.squeakfoundation.org/sm/packagebyname/lockdown
http://www.bike-nomad.com/squeak/SqueakLockdown-nk.1.cs.gz

This change set makes it easier to lock down an image for application delivery.

By executing:
	Preferences disableProgrammerFacilities
from your personalized World menu and saving the locked image under a new name, the following features are disabled:


The yellow-button menus in text panes will still come up. It is assumed that text panes in your app will have their own yellow-button menus.

Two existing preferences have been made available in the Preferences tool:
cmdKeysInText – enables the use of many cmd (or alt) keys in text editors
cmdGesturesEnabled – enables halos, debug menus, etc.

Another two new preferences have been added:
appendToErrorLog – appends to the error log rather than replacing it
noDebugButton – suppress the ability to open a debugger from a notifier

You can add this to your personalized World menu:
	aMenu add: 'disable pgrmr' target: Preferences action: 
                  #disableProgrammerFacilities.

Or you can add:
	Preferences disableProgrammerFacilities 
to your do... menu list.


Edgar J De Cleene suggested on the squeak-dev mailing list the following changes to the world menu:
TheWorldMenu - a simpler version


Also it makes sense to create a 'create release button' which does the necessary changes, destroys itself and saves the image.

See also

RunSingleApp