Skip to content

Commit

Permalink
different launcherx
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksengeir committed Mar 30, 2022
1 parent 674e021 commit fcae8bb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion INSTALL.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
os.makedirs('%s/Qmods' % install_path)

org_path = os.path.dirname(os.path.realpath(__file__))
shutil.copy2('%s/qgui.py' % org_path, '%s/Qgui' % install_path)
shutil.copy2('%s/qgui.py' % org_path, '%s/qgui.py' % install_path)
shutil.copy2('%s/Qgui' % org_path, '%s/Qgui' % install_path)
shutil.copy2('%s/requirements.txt' % org_path, '%s/requirements.txt' % install_path)

for f in os.listdir('Qmods'):
Expand Down
13 changes: 13 additions & 0 deletions Qgui
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

pysrc=$( cd "$(dirname "$0")" ; pwd -P )




. "$pysrc/venv/bin/activate"

export LC_ALL=en_US.utf-8
export LANG=en_US.utf-8

python "$pysrc"/qgui.py "$@"
3 changes: 2 additions & 1 deletion qgui.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!venv/bin/python3
:#/usr/bin/env python

# -*- coding: utf-8 -*-
__author__ = "Geir Villy Isaksen"
__copyright__ = "Copyright (C) 2017 University of Tromso / Geir Villy Isaksen"
__credits__ = ["Bjorn Olav Brandsdal", "Tor Arne Heim Andberg", "Laura Liikanen", "Johan Aqvist", "Christoffer Lind",
Expand Down

0 comments on commit fcae8bb

Please sign in to comment.