Make onionshare_cli an actual dependency of the GUI version

This commit is contained in:
Micah Lee 2020-10-15 16:30:30 -07:00
parent 06acb905b3
commit 8340b4aae7
5 changed files with 42 additions and 19 deletions

View file

@ -29,17 +29,6 @@ import psutil
import getpass
from PySide2 import QtCore, QtWidgets
# Allow importing onionshare_cli from the source tree
sys.path.insert(
0,
os.path.join(
os.path.dirname(
os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
),
"cli",
),
)
from onionshare_cli.common import Common
from .gui_common import GuiCommon