mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 22:15:57 -05:00
Make launcher scripts require onionshare and onionshare_gui python packages to be installed, to workaround a cx_Freeze issue
This commit is contained in:
parent
8e8ea9c357
commit
4ce64ed83e
@ -18,12 +18,5 @@ GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
import sys, os
|
||||
|
||||
try:
|
||||
import onionshare
|
||||
except ImportError:
|
||||
sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/../..'))
|
||||
import onionshare
|
||||
|
||||
import onionshare
|
||||
onionshare.main()
|
||||
|
@ -18,12 +18,5 @@ GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
import sys, os
|
||||
|
||||
try:
|
||||
import onionshare_gui
|
||||
except ImportError:
|
||||
sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/../..'))
|
||||
import onionshare_gui
|
||||
|
||||
import onionshare_gui
|
||||
onionshare_gui.main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user