diff --git a/src/PharoLauncher-Core/PhLTemplateSourcesUpdateChecker.class.st b/src/PharoLauncher-Core/PhLTemplateSourcesUpdateChecker.class.st index d568491a..bd3762f6 100644 --- a/src/PharoLauncher-Core/PhLTemplateSourcesUpdateChecker.class.st +++ b/src/PharoLauncher-Core/PhLTemplateSourcesUpdateChecker.class.st @@ -38,6 +38,9 @@ PhLTemplateSourcesUpdateChecker class >> launcherStartUpPriority [ PhLTemplateSourcesUpdateChecker class >> run [ self shouldRun ifFalse: [ ^ self ]. + "need to manage it for command-line. Not available for now" + Smalltalk isInteractive ifFalse: [ ^ self ]. + self uniqueInstance run @@ -47,12 +50,14 @@ PhLTemplateSourcesUpdateChecker class >> run [ PhLTemplateSourcesUpdateChecker class >> settingsOn: aBuilder [ - (aBuilder setting: #shouldRun) - label: 'Check for template sources update?' translated; + (aBuilder setting: #shouldCheckTemplateSourcesUpdate) + label: 'Check for template sources update?'; parent: #pharoLauncher; target: self; + getSelector: #shouldRun; + setSelector: #shouldRun:; order: 55; - description: 'Check if Pharo Launcher Template sources has an update available (needs internet access)' translated + description: 'Check if Pharo Launcher Template sources has an update available (needs internet access)' ] { #category : #settings }