上传文件至「lite」
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
|
||||
from PyInstaller.utils.hooks import collect_all
|
||||
|
||||
# 强制收集 PyQt5 全部模块及二进制文件
|
||||
qt_datas, qt_binaries, qt_hiddenimports = collect_all('PyQt5')
|
||||
|
||||
# 自定义 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', '.'), ('pac_domains.json', '.'), ('pac_ip_cn.json', '.')] + 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,
|
||||
)
|
||||
@@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
cd /d "%~dp0"
|
||||
call ..\.venv\Scripts\python.exe -m PyInstaller RRPP_Lite.spec
|
||||
echo.
|
||||
echo Build complete. Output: dist\Royirin Rosmontis Private Proxy Lite.exe
|
||||
pause
|
||||
@@ -0,0 +1,216 @@
|
||||
{
|
||||
"_comment": "强制走代理隧道的域名后缀(IP 智能分流的补充规则):命中这些域名的连接即使解析到国内 IP 也强制走隧道。匹配规则:host == 条目 或 host 以 \".条目\" 结尾。该文件可选:EXE 同目录的 pac_domains.json 优先于打包内置版本,可自行增删。",
|
||||
"domains": [
|
||||
"1e100.net",
|
||||
"aistudio.google.com",
|
||||
"akamaihd.net",
|
||||
"anthropic.com",
|
||||
"apexlegends.com",
|
||||
"azure.com",
|
||||
"azureedge.net",
|
||||
"azurefd.net",
|
||||
"battle.net",
|
||||
"bing.com",
|
||||
"bing.net",
|
||||
"bingapis.com",
|
||||
"blizzard.com",
|
||||
"canva.com",
|
||||
"cdninstagram.com",
|
||||
"cf-cdn.com",
|
||||
"chatgpt.com",
|
||||
"clau.de",
|
||||
"claude.ai",
|
||||
"claudeusercontent.com",
|
||||
"cloudflare.com",
|
||||
"cloudflare.net",
|
||||
"cloudflarecdn.com",
|
||||
"cloudflareinsights.com",
|
||||
"cloudflarestatus.com",
|
||||
"cloudfront.net",
|
||||
"cloudinary.com",
|
||||
"crunchyroll.com",
|
||||
"deepmind.com",
|
||||
"deepmind.google.com",
|
||||
"discord.com",
|
||||
"discord.gg",
|
||||
"discord.media",
|
||||
"discordapp.com",
|
||||
"discordapp.net",
|
||||
"disney-plus.net",
|
||||
"disneyplus.com",
|
||||
"docker.com",
|
||||
"docker.io",
|
||||
"dssott.com",
|
||||
"duckduckgo.com",
|
||||
"ea.com",
|
||||
"eaassets.com",
|
||||
"epicgames.com",
|
||||
"facebook.com",
|
||||
"fastly.net",
|
||||
"fastlylb.net",
|
||||
"fb.com",
|
||||
"fbcdn.net",
|
||||
"fbsbx.com",
|
||||
"figma.com",
|
||||
"gemini.google.com",
|
||||
"generativeai.googleapis.com",
|
||||
"ggpht.com",
|
||||
"ghcr.io",
|
||||
"github.com",
|
||||
"github.io",
|
||||
"githubassets.com",
|
||||
"githubcopilot.com",
|
||||
"githubusercontent.com",
|
||||
"gitlab.com",
|
||||
"gitlab.io",
|
||||
"gog.com",
|
||||
"google",
|
||||
"google-analytics.com",
|
||||
"google.co.jp",
|
||||
"google.com",
|
||||
"google.com.hk",
|
||||
"googleapis.com",
|
||||
"googlehosted.com",
|
||||
"googletagmanager.com",
|
||||
"googleusercontent.com",
|
||||
"googlevideo.com",
|
||||
"grok.com",
|
||||
"gstatic.com",
|
||||
"hf.co",
|
||||
"huggingface.co",
|
||||
"huggingfacecdn.com",
|
||||
"hulu.com",
|
||||
"imgur.com",
|
||||
"instagram.com",
|
||||
"itch.io",
|
||||
"jsdelivr.net",
|
||||
"leagueoflegends.com",
|
||||
"licdn.com",
|
||||
"line-apps.com",
|
||||
"line-scdn.net",
|
||||
"line.me",
|
||||
"linkedin.com",
|
||||
"linux.do",
|
||||
"live.com",
|
||||
"max.com",
|
||||
"medium.com",
|
||||
"messenger.com",
|
||||
"meta.ai",
|
||||
"meta.com",
|
||||
"microsoft.com",
|
||||
"microsoft365.com",
|
||||
"microsoftonline.com",
|
||||
"midjourney.com",
|
||||
"msecnd.net",
|
||||
"msftncsi.com",
|
||||
"msn.com",
|
||||
"netflix.com",
|
||||
"netlify.app",
|
||||
"netlify.com",
|
||||
"nflxext.com",
|
||||
"nflximg.net",
|
||||
"nflxvideo.net",
|
||||
"nico.ms",
|
||||
"nicovideo.jp",
|
||||
"nintendo.com",
|
||||
"nintendowifi.net",
|
||||
"oaistatic.com",
|
||||
"oaiusercontent.com",
|
||||
"office.com",
|
||||
"office.net",
|
||||
"openai.com",
|
||||
"openaiusercontent.com",
|
||||
"origin.com",
|
||||
"pages.dev",
|
||||
"paramountplus.com",
|
||||
"patreon.com",
|
||||
"paypal.com",
|
||||
"paypalobjects.com",
|
||||
"perplexity.ai",
|
||||
"pinimg.com",
|
||||
"pinterest.com",
|
||||
"pixiv.net",
|
||||
"playstation.com",
|
||||
"poe.com",
|
||||
"primevideo.com",
|
||||
"proton.me",
|
||||
"protonmail.com",
|
||||
"protonvpn.com",
|
||||
"pximg.net",
|
||||
"quora.com",
|
||||
"redd.it",
|
||||
"reddit.com",
|
||||
"redditmedia.com",
|
||||
"redditstatic.com",
|
||||
"riotgames.com",
|
||||
"s-microsoft.com",
|
||||
"s.team",
|
||||
"sc-cdn.net",
|
||||
"scdn.co",
|
||||
"search.brave.com",
|
||||
"serverfault.com",
|
||||
"signal.org",
|
||||
"slack-edge.com",
|
||||
"slack-imgs.com",
|
||||
"slack.com",
|
||||
"snapchat.com",
|
||||
"sonyentertainmentnetwork.com",
|
||||
"spotify.com",
|
||||
"spotifycdn.com",
|
||||
"stackexchange.com",
|
||||
"stackoverflow.com",
|
||||
"statically.io",
|
||||
"steam-api.com",
|
||||
"steam-chat.com",
|
||||
"steam.com",
|
||||
"steamcdn-a.akamaihd.net",
|
||||
"steamcommunity-a.akamaihd.net",
|
||||
"steamcommunity.com",
|
||||
"steamcontent.com",
|
||||
"steamgames.com",
|
||||
"steampowered.com",
|
||||
"steamserver.net",
|
||||
"steamstatic.com",
|
||||
"steamstore-a.akamaihd.net",
|
||||
"steamusercontent.com",
|
||||
"steamuserimages-a.akamaihd.net",
|
||||
"superuser.com",
|
||||
"t.me",
|
||||
"telega.one",
|
||||
"telegram-cdn.org",
|
||||
"telegram.org",
|
||||
"threads.net",
|
||||
"tiktok.com",
|
||||
"tiktokcdn.com",
|
||||
"tiktokv.com",
|
||||
"ttvnw.net",
|
||||
"tumblr.com",
|
||||
"tv.apple.com",
|
||||
"tvplus.apple.com",
|
||||
"twimg.com",
|
||||
"twitch.tv",
|
||||
"twitchcdn.net",
|
||||
"twitter.com",
|
||||
"ubi.com",
|
||||
"ubisoft.com",
|
||||
"unpkg.com",
|
||||
"unrealengine.com",
|
||||
"valorant.com",
|
||||
"valvesoftware.com",
|
||||
"vercel.app",
|
||||
"vercel.com",
|
||||
"whatsapp.com",
|
||||
"whatsapp.net",
|
||||
"wikimedia.org",
|
||||
"wikipedia.org",
|
||||
"workers.dev",
|
||||
"x.ai",
|
||||
"x.com",
|
||||
"xai.com",
|
||||
"youtube.com",
|
||||
"ytimg.com",
|
||||
"zoom.com",
|
||||
"zoom.us",
|
||||
"zoomgov.com"
|
||||
]
|
||||
}
|
||||
+7463
File diff suppressed because it is too large
Load Diff
+1341
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user