mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-11 07:40:26 -04:00
Make onionshare_cli an actual dependency of the GUI version
This commit is contained in:
parent
06acb905b3
commit
8340b4aae7
5 changed files with 42 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue