mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-26 22:37:11 -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
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
import sys, os
|
import onionshare
|
||||||
|
|
||||||
try:
|
|
||||||
import onionshare
|
|
||||||
except ImportError:
|
|
||||||
sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/../..'))
|
|
||||||
import onionshare
|
|
||||||
|
|
||||||
onionshare.main()
|
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
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
"""
|
"""
|
||||||
import sys, os
|
import onionshare_gui
|
||||||
|
|
||||||
try:
|
|
||||||
import onionshare_gui
|
|
||||||
except ImportError:
|
|
||||||
sys.path.append(os.path.abspath(os.path.dirname(__file__)+'/../..'))
|
|
||||||
import onionshare_gui
|
|
||||||
|
|
||||||
onionshare_gui.main()
|
onionshare_gui.main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user