1
0

Correzione nome dell'applicazione, correzione della versione.

This commit is contained in:
Emiliano Vavassori 2022-03-20 01:42:39 +01:00
parent 39ad25ab2f
commit f6488c2e4f

View File

@ -114,7 +114,9 @@ class Build(object):
subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \;", shell=True)
# Changing desktop file
subprocess.run("find . -iname startcenter.desktop -exec cp {} . \;", shell=True)
subprocess.run("sed -i -e ", shell=True)
appname = 'LibreOffice' if not self.__query__ == 'daily' else 'LibreOfficeDev'
subprocess.run("sed -i -e 's:^Name=.*$:Name=%s:" % appname, shell=True)
subprocess.run("sed -i -e 's:^Version=.*$:Version=%s:" % self.__version__, shell=True)
subprocess.run("find . -name '*startcenter.png' -path '*hicolor*48x48*' -exec cp {} . \;", shell=True)