Compare commits
31
Commits
e13f41a493
...
v0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d831c3f41c | ||
|
|
62e5c991fc | ||
|
|
b414c45d5b | ||
|
|
115d339d3b | ||
|
|
01def4cef0 | ||
|
|
6c25360f68 | ||
|
|
4a1d74903d | ||
|
|
e9f8321daf | ||
|
|
e8a37edfc0 | ||
|
|
701845afc2 | ||
|
|
40175a144d | ||
|
|
3c83f26647 | ||
|
|
bbf78e655d | ||
|
|
1e60db3b11 | ||
|
|
a8b18c6d8a | ||
|
|
f2ad051377 | ||
|
|
ae540efb8b | ||
|
|
2ab7b90c49 | ||
|
|
61a59a7872 | ||
|
|
415e9787e3 | ||
|
|
306f587f7c | ||
|
|
11c1eab4b4 | ||
|
|
365171d6a1 | ||
|
|
1336b9efb4 | ||
|
|
8fed0a1844 | ||
|
|
e8f3d8b645 | ||
|
|
254f78cc04 | ||
|
|
f518819d8a | ||
|
|
73f724f396 | ||
|
|
9339625763 | ||
|
|
3e5a3ef5d0 |
@@ -1,8 +1,11 @@
|
|||||||
## 警告
|
## 警告
|
||||||
- 包含 WireGuard 的 common 版本转发器永久不再维护,推荐使用 Lite 版本
|
- 包含 WireGuard 的 common 版本转发器永久不再维护,推荐使用 Lite 版本
|
||||||
> common 版本现在有许多未修复的 bug (如部分 UI 的显示问题) 、令人难以忍受的代码逻辑 (如 PAC 规则直接写在代码里)和安全性问题 (认证凭据的暴露与证书忽略),而 Lite 版本修复了这些问题,并会收到持续的更新
|
> common 版本现在有许多未修复的 bug (如部分 UI 的显示问题) 、令人难以忍受的代码逻辑 (如 PAC 规则直接写在代码里)和安全性问题 (认证凭据的暴露与证书忽略),而 Lite 版本修复了这些问题,并会收到持续的更新
|
||||||
- 当前任何版本内 PAC 规则模式的配置、节点列表的获取随文件一起打包,不具有实时更新可用性,可自行添加
|
|
||||||
- 本程序完全没有 Linux 与 CLI 功能兼容,默认构建为带有图形界面的 Windows .exe
|
- 本程序完全没有 Linux 与 CLI 功能兼容,默认构建为带有图形界面的 Windows .exe
|
||||||
|
|
||||||
|
|
||||||
## 如何区分 common 版本与 Lite 版本
|
## 如何区分 common 版本与 Lite 版本
|
||||||
- Lite 版本的版本号前四位固定为 9999,后续为从月份开始的构建时间戳,而 common 版本的版本号为包含年份的完整的构建时间戳
|
- Lite 版本的版本号前四位固定为 9999,后续为从月份开始的构建时间戳,而 common 版本的版本号为包含年份的完整的构建时间戳
|
||||||
|
|
||||||
|
## 服务器侧配置手册 (部分内容过时)
|
||||||
|
https://rrrosmontis.icu/articles/index.html?id=00005
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
# -*- mode: python ; coding: utf-8 -*-
|
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
from PyInstaller.utils.hooks import collect_all
|
|
||||||
|
|
||||||
# 强制收集 PyQt5 全部模块及二进制文件
|
|
||||||
qt_datas, qt_binaries, qt_hiddenimports = collect_all('PyQt5')
|
|
||||||
|
|
||||||
# 自动收集 lite 目录下全部 *.json 数据文件(nodes.json / pac_*.json 等),
|
|
||||||
# 直接打进 EXE 内置目录(_MEIPASS),运行时无需在 EXE 旁附带任何文件。
|
|
||||||
# 以后新增 json 数据文件无需再改 spec。
|
|
||||||
_JSON_DATAS = [(str(p), '.') for p in Path(SPECPATH).glob('*.json')]
|
|
||||||
print(f"[spec] 打包 json 数据文件: {[Path(src).name for src, _ in _JSON_DATAS]}")
|
|
||||||
|
|
||||||
# 自定义 manifest:普通权限运行 + 声明 PerMonitorV2 DPI 感知,
|
|
||||||
# 避免程序在不同缩放比例的显示器之间移动时被 Windows 位图拉伸。
|
|
||||||
_MANIFEST = r'''<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
||||||
<assemblyIdentity version="1.0.0.0" name="RRPP_Lite" type="win32"/>
|
|
||||||
<description>Royirin Rosmontis Private Proxy Lite</description>
|
|
||||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
|
||||||
<security>
|
|
||||||
<requestedPrivileges>
|
|
||||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
|
||||||
</requestedPrivileges>
|
|
||||||
</security>
|
|
||||||
</trustInfo>
|
|
||||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
|
||||||
<application>
|
|
||||||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
|
|
||||||
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
|
|
||||||
</application>
|
|
||||||
</compatibility>
|
|
||||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
||||||
<windowsSettings>
|
|
||||||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor, system</dpiAwareness>
|
|
||||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
|
|
||||||
</windowsSettings>
|
|
||||||
</application>
|
|
||||||
<dependency>
|
|
||||||
<dependentAssembly>
|
|
||||||
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
|
|
||||||
</dependentAssembly>
|
|
||||||
</dependency>
|
|
||||||
</assembly>
|
|
||||||
'''
|
|
||||||
|
|
||||||
a = Analysis(
|
|
||||||
['proxy_lite.py'],
|
|
||||||
pathex=['..\\.venv\\Lib\\site-packages'],
|
|
||||||
binaries=qt_binaries,
|
|
||||||
datas=[('ico.ico', '.')] + _JSON_DATAS + qt_datas,
|
|
||||||
hiddenimports=qt_hiddenimports,
|
|
||||||
hookspath=[],
|
|
||||||
hooksconfig={},
|
|
||||||
runtime_hooks=[],
|
|
||||||
excludes=[],
|
|
||||||
noarchive=False,
|
|
||||||
optimize=0,
|
|
||||||
)
|
|
||||||
pyz = PYZ(a.pure)
|
|
||||||
|
|
||||||
exe = EXE(
|
|
||||||
pyz,
|
|
||||||
a.scripts,
|
|
||||||
a.binaries,
|
|
||||||
a.datas,
|
|
||||||
[],
|
|
||||||
name='Royirin Rosmontis Private Proxy Lite',
|
|
||||||
debug=False,
|
|
||||||
bootloader_ignore_signals=False,
|
|
||||||
strip=False,
|
|
||||||
# UPX 会压缩资源段(含图标),冷缓存下 Explorer 可能提取不到图标导致任务栏空白
|
|
||||||
upx=False,
|
|
||||||
upx_exclude=[],
|
|
||||||
runtime_tmpdir=None,
|
|
||||||
console=False,
|
|
||||||
disable_windowed_traceback=False,
|
|
||||||
argv_emulation=False,
|
|
||||||
target_arch=None,
|
|
||||||
codesign_identity=None,
|
|
||||||
entitlements_file=None,
|
|
||||||
icon=['ico.ico'],
|
|
||||||
manifest=_MANIFEST,
|
|
||||||
)
|
|
||||||
+3
-2
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "",
|
"version": "",
|
||||||
"update_url": "",
|
"update_url": "",
|
||||||
"local_port": 1080
|
"pac_base_url": "",
|
||||||
}
|
"nodes_url": ""
|
||||||
|
}
|
||||||
|
|||||||
+4
-3954
File diff suppressed because it is too large
Load Diff
+5
-7462
File diff suppressed because it is too large
Load Diff
+746
-60
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user