Skip to content

Commit

Permalink
inform after self-update announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
LinqLover committed Nov 21, 2024
1 parent 43f4df8 commit 429ba63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ selfUpdate
title: ('Updating {1}' format: {self appName})
trueChoice: ('Yes, install latest {1} updates now' format: {'Squeak'})
falseChoice: ('Skip latest {1} updates (not recommended)' format: {'Squeak'}))
ifNil: [^ self])
ifNil: [^ false])
ifTrue: [MCMcmUpdater default doUpdate: true].

^ self selfUpdateFromMetacello
self selfUpdateFromMetacello.
^ true
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ New changes:
format:
(Dictionary new
at: #appName put: self appName;
at: #codeInstallUpdates put: 'code:// TalkInboxBrowser selfUpdate. nil';
at: #codeInstallUpdates put: 'code:// TalkInboxBrowser selfUpdate ifTrue: [self inform: ''Updates were installed'']'; "todo: test"
at: #changesUrl put:
('https://github.com/{1}/{2}/commits/{3}' format: {
self githubRepositoryParams first.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"repositoryUrl" : "ct 7/14/2021 15:43",
"resetAnnouncements" : "ct 11/18/2024 20:48",
"resources" : "ct 7/24/2021 04:18",
"selfUpdate" : "ct 6/3/2023 19:45",
"selfUpdateAnnouncementFor:" : "ct 11/18/2024 20:37",
"selfUpdate" : "ct 11/21/2024 03:42",
"selfUpdateAnnouncementFor:" : "ct 11/21/2024 03:43",
"selfUpdateBranch" : "ct 11/25/2022 21:17",
"selfUpdateBranch:" : "ct 11/25/2022 21:28",
"selfUpdateFromMetacello" : "ct 8/27/2023 21:47",
Expand Down

0 comments on commit 429ba63

Please sign in to comment.