Correzione nome dell'applicazione, correzione della versione.
This commit is contained in:
parent
39ad25ab2f
commit
f6488c2e4f
4
build.py
4
build.py
|
@ -114,7 +114,9 @@ class Build(object):
|
||||||
subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \;", shell=True)
|
subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \;", shell=True)
|
||||||
# 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)
|
||||||
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)
|
subprocess.run("find . -name '*startcenter.png' -path '*hicolor*48x48*' -exec cp {} . \;", shell=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue