A new version of Installer-Launcher was added to project Installer: http://www.squeaksource.com/Installer/Installer-Launcher-kph.3.mcz
==================== Summary ====================
Name: Installer-Launcher-kph.3 Author: kph Time: 2 June 2008, 2:00:33 pm UUID: 884d2fff-85d1-4a90-9d73-e9aedd0d96d0 Ancestors: Installer-Launcher-kph.2
fix for 3.7 ProjectLauncher-#startUpAfterLogin
=============== Diff against Installer-Launcher-kph.2 ===============
Item was changed: ----- Method: ProjectLauncher>>startUpAfterLogin (in category '*installer-launcher') ----- startUpAfterLogin | scriptName loader isUrl | self setupFlaps. Preferences readDocumentAtStartup ifTrue: [ HTTPClient isRunningInBrowser ifTrue:[ self setupFromParameters. scriptName _ self parameterAt: 'src'. CodeLoader defaultBaseURL: (self parameterAt: 'Base'). ] ifFalse:[ scriptName _ (SmalltalkImage current getSystemAttribute: 2) ifNil:['']. + scriptName _ [ scriptName convertFromSystemString ] onError: [ scriptName asString ]. - scriptName _ scriptName convertFromSystemString. scriptName isEmpty ifFalse:[ "figure out if script name is a URL by itself" isUrl _ (scriptName asLowercase beginsWith:'http://') or:[ (scriptName asLowercase beginsWith:'file://') or:[ (scriptName asLowercase beginsWith:'ftp://')]]. isUrl ifFalse:[ Smalltalk at: scriptName asSymbol ifPresent: [:launchClass | ^ Launcher newLaunchWith: SmalltalkImage current ]. scriptName _ 'file:', (FileDirectory default fullNameFor: scriptName) ] ]. ]. ] ifFalse: [ scriptName := '' ].
scriptName isEmptyOrNil ifTrue:[^Preferences eToyFriendly ifTrue: [self currentWorld addGlobalFlaps]]. loader _ CodeLoader new. loader loadSourceFiles: (Array with: scriptName). (scriptName asLowercase endsWith: '.pr') ifTrue:[self installProjectFrom: loader] ifFalse:[loader installSourceFiles]. !
packages@lists.squeakfoundation.org