Compare commits
25 Commits
v0.2.6
...
revert-2-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8302d0ede | ||
|
|
a2f9d53408 | ||
|
|
c9d2f53450 | ||
|
|
13e207698a | ||
|
|
d8cb2a301e | ||
|
|
39984891cf | ||
|
|
a8e590de9c | ||
|
|
8aa2f136ff | ||
|
|
1a3375acd0 | ||
|
|
a3b5192660 | ||
|
|
95236d90fb | ||
|
|
cfb99ee962 | ||
|
|
bba563b30f | ||
|
|
e469b1d763 | ||
|
|
aead8460a6 | ||
|
|
4f7c80f353 | ||
|
|
5d78329184 | ||
|
|
fe7dc94531 | ||
|
|
ce0c165efd | ||
|
|
775bb0f6c5 | ||
|
|
4eefef5bd8 | ||
|
|
30748a1482 | ||
|
|
95c9b56e69 | ||
|
|
437d13a755 | ||
|
|
dcb1ec81e2 |
88
README.md
Executable file
88
README.md
Executable file
@@ -0,0 +1,88 @@
|
||||
# 写在前面
|
||||
原作者(不具名)于2019年5月15日删除了并停止开发这个伟大的项目,不管因为什么原因,我们都因该感谢原作者的付出,希望有缘再见!
|
||||
|
||||
## QQ群:[867995623](https://jq.qq.com/?_wv=1027&k=5t06to0)
|
||||
|
||||
## Debian系列安装与配置[Ubuntu.md](https://github.com/qingshuisiyuan/electron-ssr-backup/blob/master/Ubuntu.md)
|
||||
|
||||
## 收集已知问题和解决方案[issue.md](https://github.com/qingshuisiyuan/electron-ssr-backup/blob/master/issue.md)
|
||||
|
||||
## ShadowsocksR跨平台客户端
|
||||
|
||||
这是一个跨平台(支持Windows MacOS Linux系统)的`ShadowsocksR`客户端桌面应用,它功能丰富,支持windows版大部分功能,更有更多人性化功能。它是开源的,它来源于开源,回馈以开源。
|
||||
|
||||
## 功能特色
|
||||
|
||||
- 支持手动添加配置
|
||||
- 支持服务器订阅更新,复制该地址测试
|
||||
- 支持二维码扫描(请确保屏幕中只有一个有效的二维码),扫描该二维码测试
|
||||
- 支持从剪贴板复制、从配置文件导入等方式添加配置
|
||||
- 支持复制二维码图片、复制SSR链接(右键应用内二维码,点击右键菜单中的复制)
|
||||
- 支持通过点击ss/ssr链接添加配置并打开应用(仅Mac和Windows)
|
||||
- 支持切换系统代理模式:PAC、全局、不代理
|
||||
- 内置http_proxy服务,可在选项中开启或关闭
|
||||
- 支持配置项变更
|
||||
- 更多功能尽在任务栏菜单中
|
||||
|
||||
|
||||
## 下载
|
||||
|
||||
下载地址见[Github release](https://github.com/qingshuisiyuan/electron-ssr-backup/releases),对应的操作系统下载的文件为
|
||||
|
||||
- Windows `electron-ssr-setup-x.x.x.exe`
|
||||
- Mac `electron-ssr-x.x.x.dmg`
|
||||
- Linux 优先建议下载`electron-ssr-x.x.x.AppImage`,直接双击运行。如果无法使用或者想直接下载自己系统专用包请看下一条
|
||||
- Arch或者基于Arch的系统,下载`electron-ssr-x.x.x.pacman`
|
||||
- RedHat系列的系统,下载`electron-ssr-x.x.x.rpm`
|
||||
- Debian系列的系统,下载`electron-ssr-x.x.x.deb`
|
||||
- 系统Linux系统或者通用Linux系统可下载`electron-ssr-x.x.x.tar.gz`(不会使用.tar.gz的请自行百度)
|
||||
|
||||
## 配置文件位置
|
||||
|
||||
- Windows `C:\Users\{your username}\AppData\Roaming\electron-ssr\gui-config.json`
|
||||
- Mac `~/Library/Application Support/electron-ssr/gui-config.json`
|
||||
- Linux `~/.config/gui-config.json`
|
||||
|
||||
## 快捷键
|
||||
|
||||
加入快捷键本来是为了解决部分Linux发行版无法显示图标导致功能无法使用而加入的,当然其它系统也是可以使用的,同时支持在设置中进行开启/关闭以及更换按键的操作。
|
||||
|
||||
### 全局快捷键
|
||||
|
||||
- `CommandOrControl+Shift+W` 切换主窗口显隐
|
||||
- `未设置` 切换系统代理
|
||||
|
||||
### 应用内快捷键
|
||||
- `CommandOrControl+Shift+B` 切换是否显示操作菜单,仅Linux可用
|
||||
|
||||
## 已知Bug
|
||||
|
||||
- 部分Linux系统无法切换系统代理模式(本应用使用`gsetting`设置系统代理,所以有些Linux系统无法使用该功能),如果你知道如何实现,欢迎发issue告知。
|
||||
- Windows系统切换全局代理不生效
|
||||
|
||||
|
||||
## Issus
|
||||
|
||||
在发issue前请先在issue中搜索是否有同类issue,如果有请跟帖。
|
||||
另外发Bug类issue请详细描述你的使用环境,包括但不限于操作系统、软件版本,操作步骤,报错日志等。
|
||||
欢迎提出改修意见
|
||||
|
||||
## 开发和构建
|
||||
|
||||
``` bash
|
||||
# or npm install
|
||||
yarn
|
||||
|
||||
# 开发时
|
||||
npm run dev
|
||||
|
||||
# 打包构建
|
||||
npm run build
|
||||
|
||||
# 单元测试
|
||||
npm run mocha
|
||||
|
||||
# 代码风格检查
|
||||
npm run lint
|
||||
|
||||
```
|
||||
71
Ubuntu.md
Normal file
71
Ubuntu.md
Normal file
@@ -0,0 +1,71 @@
|
||||
# Debian系列——Ubuntu18.04为例
|
||||
|
||||
## 安装依赖
|
||||
|
||||
`sudo apt install libcanberra-gtk-module libcanberra-gtk3-module gconf2 gconf-service libappindicator1`
|
||||
|
||||
### 安装软件
|
||||
|
||||
`sudo dpkg -i *.deb`
|
||||
|
||||
### 尝试运行软件
|
||||
|
||||
终端输入
|
||||
|
||||
`electron-ssr`
|
||||
|
||||
1.系统需要安装Python2.7,一般系统自带,我是最简化安装没有Python环境,软件运行报错。安装Python之后解决
|
||||
|
||||
`sudo apt install python`
|
||||
|
||||
看有没有什么报错,如果没有,就在软件里面设置订阅地址看能否更新。
|
||||
因为终端信息会泄露我的IP,密码,在这里我就不放内容。
|
||||
请确保没有报错并可以成功更新节点
|
||||
|
||||
*如果有问号可能会造成订阅地址无法更新(待验证猜想)*
|
||||
|
||||
> *手动退出软件重启系统(笑,Windows习惯)*
|
||||
|
||||
**注意:如果到这里你可以使用软件正常的代理就无需进行下一步!!!**
|
||||
|
||||
### 系统设置
|
||||
|
||||
完成上一步之后并不能实现代理
|
||||
在启动器中找到系统设置-网络设置-网络代理设置为如下图所示
|
||||
|
||||

|
||||
|
||||
上诉设置需要与软件中的设置一样(端口)
|
||||
|
||||
### 开始上网
|
||||
选择节点-选择上网模式
|
||||
到这里我已经可以pac上网或全局上网
|
||||
|
||||

|
||||
|
||||
测试pac是否代理成功——百度“ip”
|
||||
|
||||

|
||||
|
||||
测试全局是否代理成功——百度“ip”
|
||||
|
||||

|
||||
|
||||
### 系统自动代理
|
||||
|
||||
在系统设置-网络设置-代理设置改为自动一样可用
|
||||
|
||||
(笑,系统设置那一步白设置了?)
|
||||
|
||||
不,在某些Debian系列中,你还真得手动设置,自动无效
|
||||
|
||||
### 某些软件提示https错误
|
||||
|
||||
如git就提示过
|
||||
|
||||
具体原因不知道
|
||||
|
||||
尝试使用以下方法解决:
|
||||
|
||||
1. 更改系统代理方式为自动
|
||||
2. 使用pac
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
img/ubuntu/2.png
Normal file
BIN
img/ubuntu/2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
BIN
img/ubuntu/3.png
Normal file
BIN
img/ubuntu/3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 320 KiB |
BIN
img/ubuntu/4.png
Normal file
BIN
img/ubuntu/4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
BIN
img/ubuntu/5.png
Normal file
BIN
img/ubuntu/5.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
22
issue.md
Executable file
22
issue.md
Executable file
@@ -0,0 +1,22 @@
|
||||
# 收集已知问题和解决方案
|
||||
|
||||
## Archlinux or Manjaro 无法运行的问题解决
|
||||
Manjaro/Archlinux 运行程序时无法运行,在终端运行 electron-ssr 发现缺少 lib-gconf.so 这个库文件,只需要安装 gconf 即可解决
|
||||
- `sudo pacman -S gconf`
|
||||
|
||||
### Manjaro无法代理(其他linux可以参考)
|
||||
一、PAC模式不可用
|
||||
安装proxychains,可从软件仓库安装或github
|
||||
``` bash
|
||||
sudo vi /etc/proxychains.conf
|
||||
```
|
||||
将socks4 127.0.0.1 9095改为
|
||||
```bash
|
||||
socks5 127.0.0.1 1080
|
||||
```
|
||||
重启服务
|
||||
|
||||
二、全局模式不可用
|
||||
|
||||
系统设置-网络-系统代理设置http、https代理为127.0.0.1:12333;socks代理设置为127.0.0.1:1080<br>
|
||||
以上端口要与electron-ssr的设置一致
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user