Changed VCStudio to Blender-Pipeline in .desktop
This commit is contained in:
parent
d49294e46e
commit
473225aac4
1 changed files with 3 additions and 4 deletions
|
@ -313,7 +313,7 @@ for i in missing:
|
||||||
|
|
||||||
|
|
||||||
desktop = """[Desktop Entry]
|
desktop = """[Desktop Entry]
|
||||||
Name=VCStudio
|
Name=Blender-Pipeline
|
||||||
GenericName=Blender-Organizer
|
GenericName=Blender-Organizer
|
||||||
Path="""+os.getcwd()+"""
|
Path="""+os.getcwd()+"""
|
||||||
Exec=python3 run.py
|
Exec=python3 run.py
|
||||||
|
@ -324,8 +324,8 @@ Categories=Graphics;3DGraphics;Office
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if os.path.exists(os.environ['HOME']+"/.local/share/applications") \
|
if os.path.exists(os.environ['HOME']+"/.local/share/applications") \
|
||||||
and not os.path.exists(os.environ['HOME']+"/.local/share/applications/VCStudio.desktop"):
|
and not os.path.exists(os.environ['HOME']+"/.local/share/applications/Blender-Pipeline.desktop"):
|
||||||
o = open(os.environ['HOME']+"/.local/share/applications/VCStudio.desktop", "w")
|
o = open(os.environ['HOME']+"/.local/share/applications/Blender-Pipeline.desktop", "w")
|
||||||
o.write(desktop)
|
o.write(desktop)
|
||||||
o.close()
|
o.close()
|
||||||
output("\033[1;42m", talk.text("desktopcreated"))
|
output("\033[1;42m", talk.text("desktopcreated"))
|
||||||
|
@ -358,6 +358,5 @@ print("\033[1;m")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue