Closed jecisc closed 2 years ago
PhLLaunchConfiguration
has a check in useSettings:
that prevents the --no-default-preferences
option to be added on Pharo versions < 30 (option not supported.
useSettings: aBoolean
"Cannot skip Pharo settings before Pharo 3.0"
self image ensurePharoVersion < '30' ifTrue: [ ^ self ].
usePharoSettings := aBoolean.
As you can see, this check, based on string comparison will fail for Pharo 10: '100' < '30' is true. The fix is to use integer comparison.
Describe the bug I tried to launch a Pharo 10 image without loading my settings by launching the image with "Basic launch" but my setting still got loaded in the image.
I checked and this does not happen with Pharo 9.
Version information: