This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -L https://fakev.cn/gh/https://raw.githubusercontent.com/nezhahq/scripts/main/agent/install.sh -o agent.sh && chmod +x agent.sh && env NZ_SERVER=status.fakev.cn:443 NZ_TLS=true NZ_CLIENT_SECRET=z9fh2pQHrH1ihyprrXADwZOIMVuMVSQm ./agent.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const elements = document.querySelectorAll('.datagrid-cell.datagrid-cell-c3-id'); | |
| // 当前网页的 URL | |
| const currentUrl = window.location.origin + '/transmission/rpc'; | |
| const trackerUrl = 'https://tracker.pterclub.com/announce?passkey=xxx' | |
| // 初始获取 X-Transmission-Session-Id 的函数 | |
| async function getSessionId() { | |
| const response = await fetch(currentUrl, { | |
| method: 'POST', | |
| headers: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This function sets color variables for formatting output in the terminal | |
| color() { | |
| YW=$(echo "\033[33m") | |
| BL=$(echo "\033[36m") | |
| RD=$(echo "\033[01;31m") | |
| BGN=$(echo "\033[4;92m") | |
| GN=$(echo "\033[1;92m") | |
| DGN=$(echo "\033[32m") | |
| CL=$(echo "\033[m") | |
| RETRY_NUM=10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Define an array of hashtables, each representing a software program | |
| $programs = @( | |
| @{ name= 'QQ'; id= 'Tencent.QQ'}, | |
| @{ name= 'WeChat'; id= 'Tencent.WeChat'}, | |
| @{ name= 'ToDesk'; id= 'Youqu.ToDesk'}, | |
| @{ name= 'YoudaoDict'; id= 'Youdao.YoudaoTranslate'}, | |
| @{ name= 'Snipaste'; id= '9P1WXPKB68KX'}, | |
| @{ name= '7zip'; id= '7zip'}, | |
| @{ name= 'Termius'; id= 'Termius.Termius'}, | |
| @{ name= 'Windows Terminal'; id= 'Microsoft.WindowsTerminal'}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| ################################################# | |
| # Please do not make any changes to this file, # | |
| # change the variables in webui-user.sh instead # | |
| ################################################# | |
| # If run from macOS, load defaults from webui-macos-env.sh | |
| if [[ "$OSTYPE" == "darwin"* ]]; then | |
| if [[ -f webui-macos-env.sh ]] | |
| then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fffff |