Comments (8)
好的,下次把python2指定放入启动脚本。
发布包中的python27是win32版本,不是linux版本。
linux下的库已经包含进去了,在python/$version/lib/linux 下
from xx-net.
加上了,请测试
from xx-net.
好了,linux 基本可以开箱即用。
另外,我现在用的开机自启动是这样做的
➜ ~ cat .config/autostart/xx-net.desktop
[Desktop Entry]
Name=xx-net
Exec=gnome-terminal -x /home/kokutou/Desktop/xx-net-1.0.9.sh
Type=Application
➜ ~ cat ~/Desktop/xx-net-1.0.9.sh
#!/bin/bash
cd ~/app/XX-Net-1.0.9
gnome-terminal -x ./start.sh
➜ ~
如果没有一个额外的 cd 切换目录的话,gnome-terminal 就会提示找不到 launcher/start.py 文件。
start.sh 能处理下目录的问题么。
from xx-net.
osx 下面添加开机启动项是弄了个 .command 文件,就能塞到设置 用户和组 登录项 里面了
$ cat ./XX-Net-1.0.9/start.command
#!/bin/bash
cd ~/app/XX-Net-1.0.9
if hash python2 2>/dev/null; then
python2 launcher/start.py
else
python launcher/start.py
fi
一样要个 cd 切换到相应目录才行。
建议处理下目录并放一个 .command 文件。
from xx-net.
赞一个,start.sh 切换到脚本所在目录,应该有这个技巧,上网搜一下加上就好
from xx-net.
➜ ~ cat .config/autostart/xx-net.desktop
[Desktop Entry]
Name=xx-net
Exec=nohup /home/kokutou/app/XX-Net-1.0.9/start.sh
Type=Application
➜ ~ cat app/XX-Net-1.0.9/start.sh
#!/bin/bash
cd
if hash python2 2>/dev/null; then
python2 launcher/start.py
else
python launcher/start.py
fi
搜到了,就这一句 cd
from xx-net.
Cool !
下个版本加上.
from xx-net.
1.1.0 已经加上,哦耶
from xx-net.
Related Issues (20)
- 申请7天无理由退款 HOT 4
- XX-Net 过一段时间就断开了 HOT 2
- 感谢XX-NET团队,现在5.8.1开始,又可以用bing aI了。
- Trial
- 安卓端只能浏览Google 网页,不能登录谷歌账号,play商店也不能打开。 HOT 1
- 唯独chatgpt的安卓app打不开,但是电脑端和手机浏览器却能打开 HOT 9
- License for this package? HOT 1
- Android端和Mac端都没有黑名单模式,智能路由的直连规则也不生效 HOT 2
- 程序无法打开,python.exe程序报错
- 请问如何指定走xx-net这个代理。 HOT 1
- [发布] 5.9.0 GAE 服务端代码升级到python3 HOT 16
- 令牌
- 新的gae服务端,openwrt运行4.8.0有问题,也无法运行linux的5.9.0 HOT 4
- 自定义DNS? HOT 3
- XX-Net挂了吗?
- 5.9.0 gcloud 部署时发生的连接问题 HOT 2
- 5.9.0安装好后,令牌登录不能 HOT 1
- 安卓APP怎么折腾都是全局代理 HOT 3
- 查询完自己的电脑ip地址好像不太对?但是我看不懂是怎么回事
- 打不开chatgpt了,总是重复返回登录页面。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xx-net.