From f1529191e790856ef02f07eb21a933d4eb860e29 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Tue, 20 Aug 2024 01:43:46 +0200 Subject: [PATCH] [snap] fix version in boinc.desktop file Signed-off-by: Vitalii Koshura --- set-client-version.py | 4 ++-- snap/gui/boinc.desktop | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/set-client-version.py b/set-client-version.py index 6c5b6a72a2..e2284dc039 100644 --- a/set-client-version.py +++ b/set-client-version.py @@ -111,8 +111,8 @@ def set_snap_boinc_desktop(version): lines = f.readlines() with open('snap/gui/boinc.desktop','w') as f: for line in lines: - if line.startswith('version='): - line = f'version="{version}"\n' + if line.startswith('Version='): + line = f'Version={version}\n' f.write(line) if (len(sys.argv) != 2): diff --git a/snap/gui/boinc.desktop b/snap/gui/boinc.desktop index 2482229c8d..c16ce1e9d6 100644 --- a/snap/gui/boinc.desktop +++ b/snap/gui/boinc.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Type=Application -Version=7.23.0 +Version=8.1.0 Exec=boinc.manager Icon=${SNAP}/meta/gui/boinc.png Categories=System;Monitor;GTK;