Updated: Corrected Kumo
Kumo was not checking for the applications folder in home directory, Corrected that issue. Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
af18b4e658
commit
ff17374359
|
@ -123,6 +123,11 @@ Icon={get_icon}
|
||||||
Categories={selected_category_key}
|
Categories={selected_category_key}
|
||||||
Type=Application
|
Type=Application
|
||||||
"""
|
"""
|
||||||
|
# Make sure path exists first
|
||||||
|
folder = os.path.dirname(write_path)
|
||||||
|
if not os.path.exists(folder):
|
||||||
|
os.makedirs(folder)
|
||||||
|
# Then write the file
|
||||||
with open(write_path, 'w') as app:
|
with open(write_path, 'w') as app:
|
||||||
app.write(app_content)
|
app.write(app_content)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue