From 09217ff30d9c93fee4a47157972203529debfbea Mon Sep 17 00:00:00 2001 From: Christoph Thiede Date: Sun, 27 Aug 2023 23:14:52 +0200 Subject: [PATCH] app: fix self-update menu item --- .../SemanticText.class/class/doSelfUpdate.st | 7 +++++++ .../SemanticText.class/methodProperties.json | 1 + 2 files changed, 8 insertions(+) create mode 100644 packages/SemanticText.package/SemanticText.class/class/doSelfUpdate.st diff --git a/packages/SemanticText.package/SemanticText.class/class/doSelfUpdate.st b/packages/SemanticText.package/SemanticText.class/class/doSelfUpdate.st new file mode 100644 index 0000000..0176690 --- /dev/null +++ b/packages/SemanticText.package/SemanticText.class/class/doSelfUpdate.st @@ -0,0 +1,7 @@ +app - self-updating +doSelfUpdate + + (Project uiManager confirm: ('Are you sure you would like to install the latest updates for {1}?' withCRs format: {self appName})) ifFalse: [^ false]. + + self selfUpdate. + ^ true \ No newline at end of file diff --git a/packages/SemanticText.package/SemanticText.class/methodProperties.json b/packages/SemanticText.package/SemanticText.class/methodProperties.json index 1698c6d..b4e4bf5 100644 --- a/packages/SemanticText.package/SemanticText.class/methodProperties.json +++ b/packages/SemanticText.package/SemanticText.class/methodProperties.json @@ -18,6 +18,7 @@ "defaultModelOrNilFor:" : "ct 8/17/2023 19:31", "defaultModels" : "ct 8/17/2023 19:24", "defaultSelfUpdateBranch" : "ct 8/27/2023 20:17", + "doSelfUpdate" : "ct 8/27/2023 23:11", "githubNewIssueUrl" : "ct 8/27/2023 20:16", "githubNewIssueUrlWithBody:" : "ct 8/27/2023 20:16", "githubRepositoryParams" : "ct 8/27/2023 20:17",