ProductVersion | '):
- line = f' ProductVersion | {version} | | \n'
- f.write(line)
+def set_boinc_json(version):
+ with open('installer/boinc.json','r') as f:
+ data = json.load(f)
+ for item in data['Property']:
+ if item['Property'] == 'ProductVersion':
+ item['Value'] = version
+ break
+ with open('installer/boinc.json','w') as f:
+ json.dump(data, f, indent=4)
def set_snapcraft(version):
with open('snap/snapcraft.yaml','r') as f:
@@ -133,7 +134,7 @@ set_configure_ac(version)
set_version_h(version)
set_version_h_in(version)
set_build_gradle(version)
-set_installshield(version)
+set_boinc_json(version)
set_snapcraft(version)
set_snap_boinc_desktop(version)
|