Skip to content

Commit

Permalink
fix self-update for squeak60
Browse files Browse the repository at this point in the history
  • Loading branch information
LinqLover committed Dec 26, 2023
1 parent 734a129 commit 1e16964
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
app - self-updating
defaultSelfUpdateBranch

| squeakVersion |
(self environment classNamed: #MCRepositoryGroup) ifNotNil: [:mcRepositoryGroupClass |
| repoPrefix |
repoPrefix := 'github://{1}/{2}' format: {self githubRepositoryParams first. self githubRepositoryParams second}.
Expand All @@ -11,4 +12,7 @@ defaultSelfUpdateBranch
version := repo projectVersion.
^ version = 'master' ifTrue: ['main'] ifFalse: [version]]].

squeakVersion := SystemVersion current version.
squeakVersion isAlpha ifTrue: [^ 'main'].
squeakVersion majorMinorVersion = 'Squeak6.0' ifTrue: [^ 'squeak60'].
^ 'main'
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"cleanUp" : "ct 7/30/2022 17:14",
"cursorClass" : "ct 11/18/2021 18:05",
"defaultFeedbackText" : "ct 10/18/2022 16:42",
"defaultSelfUpdateBranch" : "ct 11/19/2022 00:55",
"defaultSelfUpdateBranch" : "ct 6/3/2023 20:00",
"doNotBroadcastPreferenceChangesDuring:" : "ct 7/30/2022 17:13",
"exampleCoroutines1" : "ct 12/30/2021 17:26",
"exampleCoroutines2" : "ct 2/9/2022 01:56",
Expand Down

0 comments on commit 1e16964

Please sign in to comment.