Correzione nome dell'applicazione (2).
This commit is contained in:
parent
f6488c2e4f
commit
14e592d1f2
4
build.py
4
build.py
@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user