chore: create ~/.local/share/applications

This commit is contained in:
Rudra Saraswat 2023-06-15 10:05:07 +10:00
parent 5ecc7898d6
commit e1eda06edc

View file

@ -9,6 +9,7 @@ if os.path.isdir(os.path.expanduser('~/.local/bin/blend_bin')) and not os.path.i
subprocess.call( subprocess.call(
['bash', '-c', 'rm -f "${HOME}/.local/share/applications/blend;"*'], shell=False) ['bash', '-c', 'rm -f "${HOME}/.local/share/applications/blend;"*'], shell=False)
subprocess.call(['mkdir', '-p', os.path.expanduser('~/.local/share/applications/')])
subprocess.call(['mkdir', '-p', os.path.expanduser('~/.local/bin/blend_bin/')]) subprocess.call(['mkdir', '-p', os.path.expanduser('~/.local/bin/blend_bin/')])
subprocess.call(['touch', os.path.expanduser( subprocess.call(['touch', os.path.expanduser(
'~/.local/bin/blend_bin/.associations')], shell=False) '~/.local/bin/blend_bin/.associations')], shell=False)