mirror of https://github.com/BOINC/boinc.git
[snap] fix version in boinc.desktop file
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
33f2ce63a6
commit
f1529191e7
|
@ -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):
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue