[snap] fix version in boinc.desktop file

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2024-08-20 01:43:46 +02:00
parent 33f2ce63a6
commit f1529191e7
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
2 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -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;