1
0

Correzione nome dell'applicazione (2).

This commit is contained in:
Emiliano Vavassori 2022-03-20 01:45:24 +01:00
parent f6488c2e4f
commit 14e592d1f2

View File

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