Fix: register_app.py

This commit is contained in:
Vinicius Moreira
2019-06-18 17:10:01 -03:00
parent 3ffe2ad96f
commit 3b70984a36

View File

@@ -1,6 +1,5 @@
# used for AUR installation
import os
import subprocess
import sys
from pathlib import Path
@@ -23,7 +22,3 @@ file_path = '{}/fpakman.desktop'.format(apps_path)
with open(file_path, 'w+') as f:
f.write(desktop_file)
res = subprocess.run('desktop-file-install {}'.format(file_path), shell=True)
exit(res.returncode)