more linux install
This commit is contained in:
parent
a76766adab
commit
9fcd9491ac
2 changed files with 11 additions and 2 deletions
|
|
@ -2,7 +2,8 @@ import os
|
|||
import sys
|
||||
import settings
|
||||
|
||||
from utils import run, makefolder
|
||||
import ox
|
||||
from utils import run
|
||||
|
||||
root_dir = os.path.dirname(settings.base_dir)
|
||||
|
||||
|
|
@ -58,6 +59,7 @@ def install_launchd():
|
|||
|
||||
def install_xdg():
|
||||
app = os.path.expanduser('~/.local/share/applications/openmedialibrary.desktop')
|
||||
ox.makedirs(os.path.dirname(app))
|
||||
with open(app, 'w') as fd:
|
||||
fd.write('''[Desktop Entry]
|
||||
Type=Application
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue