Sistemato appname.
This commit is contained in:
parent
e44a70442f
commit
1c46f9846f
|
@ -169,8 +169,7 @@ class Build(object):
|
|||
subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \;", shell=True, cwd=self.appimagedir)
|
||||
# Changing desktop file
|
||||
subprocess.run("find . -iname startcenter.desktop -exec cp {} . \;", shell=True, cwd=self.appimagedir)
|
||||
appname = 'LibreOffice' if not self.__query__ == 'daily' else 'LibreOfficeDev'
|
||||
subprocess.run("sed -i -e 's:^Name=.*$:Name=%s:' startcenter.desktop" % appname, shell=True, cwd=self.appimagedir)
|
||||
subprocess.run("sed -i -e 's:^Name=.*$:Name=%s:' startcenter.desktop" % self.appname, shell=True, cwd=self.appimagedir)
|
||||
|
||||
subprocess.run("find . -name '*startcenter.png' -path '*hicolor*48x48*' -exec cp {} . \;", shell=True, cwd=self.appimagedir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue