mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 17:54:14 +02:00
Fix: register_app.py
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
# used for AUR installation
|
# used for AUR installation
|
||||||
import os
|
import os
|
||||||
import subprocess
|
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
@@ -23,7 +22,3 @@ file_path = '{}/fpakman.desktop'.format(apps_path)
|
|||||||
|
|
||||||
with open(file_path, 'w+') as f:
|
with open(file_path, 'w+') as f:
|
||||||
f.write(desktop_file)
|
f.write(desktop_file)
|
||||||
|
|
||||||
res = subprocess.run('desktop-file-install {}'.format(file_path), shell=True)
|
|
||||||
|
|
||||||
exit(res.returncode)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user