Windows中使用Termius-漢化激活

[TOC]

Windows中使用Termius-漢化激活

前言:

  1. 全平臺(tái)

  2. 通過 Termius,你可以安卓二打、Windows县忌、macOS、Linux 下來連接你的服務(wù)器继效,并且會(huì)在不同設(shè)備間同步症杏,電腦做著做著要離開,換手機(jī)接著做

    官網(wǎng)鏈接:

    https://www.termius.com/

  3. 界面UI非常細(xì)膩

  4. win上面有xsheel瑞信,個(gè)人感覺xsheel更加強(qiáng)大厉颤。但是他不做Mac版本。由于在Mac上面用過Termius喧伞,所以習(xí)慣了他的界面走芋。想要在win上面也用Termius

激活:

下載地址:http://www.ddooo.com/softdown/182046.htm
參考吾愛:https://www.52pojie.cn/thread-1228743-1-1.html

漢化:

微信截圖_20220713103833.png

微信截圖_20220713103848.png

方案一:

手動(dòng)方式打開當(dāng)前這個(gè)js文件目錄下面的這個(gè)js文件绩郎。然后全局搜索進(jìn)行修改潘鲫,但是一個(gè)一個(gè)改感覺麻煩

方案二:

創(chuàng)建一個(gè)termius.ini的文件,把下面這些復(fù)制進(jìn)去肋杖,然后用下面Java運(yùn)行即可溉仑。

[圖片上傳失敗...(image-99654d-1657679860967)]

[{title:"Terminal"},{title:"Shortcuts"},{title:"Known Hosts"},{title:"Keychain"}]|[{title:"終端"},{title:"快捷鍵"},{title:"已知主機(jī)"},{title:"密鑰鏈"},{title:"賬戶"},{title:"新特性"},{title:"實(shí)驗(yàn)性"}]
[{title:"Account"},{title:"Terminal"},{title:"Shortcuts"},{title:"Known Hosts"},{title:"Keychain"}]|[{title:"終端"},{title:"快捷鍵"},{title:"已知主機(jī)"},{title:"密鑰鏈"},{title:"賬戶"},{title:"新特性"},{title:"實(shí)驗(yàn)性"}]
["Terminal","Shortcuts","Known Hosts","Keychain"]|["終端","快捷鍵","已知主機(jī)","密鑰鏈"]
["Account","Terminal","Shortcuts","Known Hosts","Keychain"]|["終端","快捷鍵","已知主機(jī)","密鑰鏈","賬戶","新特性","實(shí)驗(yàn)性"]
["Local","Remote","Dynamic"]|["本地","遠(yuǎn)程","動(dòng)態(tài)"]
["Hostname", "Username"]|["主機(jī)名", "用戶名"]
["Name","Date"]|["名稱","日期"]
 
 
 
 
title:"Warning",text:"After logout user data will be removed from the device"|title:"警告",text:"注銷后,用戶數(shù)據(jù)將從設(shè)備中刪除!"
title:"Enter required fields"|title: "輸入需要的字段"
title:"How we check passwords"|title: "我們?nèi)绾悟?yàn)證密碼"
title:"No Identities or Keys"|title:"沒有身份鑒權(quán)或密鑰"
title:"Copy to target directory"|title:"復(fù)制到目標(biāo)目錄"
title:"Nothing to import"|title:"沒什么可導(dǎo)入的"
title:"Select Color Themes"|title:"選擇主題顏色"
title:"Hostchain Sharing"|title: "主機(jī)鏈共享"
title:"Select Charset"|title:"選擇字符集"
title:"Port Forwarding"|title:"端口轉(zhuǎn)發(fā)"
title:"No Known Hosts"|title:"未知主機(jī)"
title:"Select Snippets"|title:"選擇代碼片段"
title:"Default Theme"|title:"默認(rèn)主題"
title:"Data Sharing"|title: "數(shù)據(jù)共享"
title:"Privacy Policy"|title:"隱私政策"
title:"Open in Terminal"|title:"在新的終端打開"
title:"Edit Permissions"|title:"修改權(quán)限"
title:"Color Themes"|title:"主題顏色"
title:"Select Keys"|title:"選擇密鑰"
title:"Remove tag"|title:"刪除標(biāo)簽"
title:"Arrange by: "|title:"排序: "
title:"IP Version"|title:"IP 版本"
title:"Known Hosts"|title:"已知主機(jī)"
title:"Identities"|title:"身份憑據(jù)"
title:"Documentation"|title:"文檔"
title:"Add Host"|title:"添加主機(jī)"
title:"Uservoice"|title:"用戶語(yǔ)音"
title:"Edit Tag"|title:"編輯標(biāo)簽"
title:"New Folder"|title:"新建文件夾"
title:"Password"|title:"密碼"
title:"Address"|title:"地址"
title:"Snippets"|title: "代碼片段"
title:"Protocol"|title:"協(xié)議"
title:"Date"|title:"日期"
title:"Keys"|title:"密鑰"
title:"Time"|title:"時(shí)間"
title:"Snippet"|title:"代碼片段"
title:"Status"|title:"狀態(tài)"
title:"Billing"|title:"付款"
title:"Groups"|title:"分組"
title:"Select All"|title:"全選"
title:"Port"|title:"端口"
title:"SFTP"|title:"SFTP"
title:"Rename"|title:"重命名"
title:"Delete"|title:"刪除"
title:"Refresh"|title:"刷新"
title:"Close"|title:"關(guān)閉"
 
listName:"Known Hosts"|listName:"已知主機(jī)"
listName:"Identities"|listName:"身份憑據(jù)"
listTitle:"Charsets"|listTitle:"字符集"
listTitle:"Keys"|listTitle:"密鑰"
listName:"Groups"|listName:"分組"
listName:"Hosts"|listName:"主機(jī)"
 
 
subtitle:"Select Groups"|subtitle:"選擇分組"
 
formTitle:"Add key"|formTitle:"添加密鑰"
formTitle:"Add host"|formTitle:"添加主機(jī)"
 
endAdornment:"save"|endAdornment:"保存"
 
importButtonLocation:"Preferences"|importButtonLocation:"首選項(xiàng)"
 
placeholder:"Search identities"|placeholder:"搜索鑒權(quán)憑證"
placeholder:"Add a Tag..."|placeholder:"新建標(biāo)簽"
placeholder:"Tab Title"|placeholder:"標(biāo)簽標(biāo)題"
placeholder:"Select..."|placeholder:"選擇..."
placeholder:"Disabled"|placeholder:"禁用"
placeholder:"Filter"|placeholder:"過濾器"
placeholder:"Search"|placeholder:"搜索"
placeholder:"Find"|placeholder:"查找"
onClick:t},"Cancel")|onClick:t},"取消")
ButtonTitle:"Save"|ButtonTitle:"保存"
ButtonTitle:"Remove"|ButtonTitle:"刪除"
ButtonTitle:"Logout"|ButtonTitle:"注銷"
 
case"Known Hosts"|case"已知主機(jī)"
case"Experiments"|case"實(shí)驗(yàn)性"
case"Shortcuts"|case"快捷鍵"
case"Keychain"|case"密鑰鏈"
case"Terminal"|case"終端"
case"Account"|case"賬戶"
case"Features"|case"新特性"
 
label:"Bind address, 127.0.0.1 by default"|label:"綁定地址, 默認(rèn) 127.0.0.1"
label:"Bring All to Front"|label:"Bring All to Front"
label:"Toggle Full Screen"|label:"切換全屏"
label:"Check for Update"|label:"檢查更新"
label:"Date Modified"|label:"修改日期"
label:"Startup Snippet"|label:"啟動(dòng)代碼片段"
label:"Learn More"|label:"了解更多"
label:"Theme Options"|label:"主題選項(xiàng)"
label:"Minimize"|label:"最小化"
label:"Preferences"|label:"首選項(xiàng)"
label:"New Window"|label:"新窗口"
label:"Number of rows"|label:"行數(shù)"
label:"Host from"|label:"來源主機(jī)"
label:"Port From"|label:"來源端口"
label:"Identities"|label:"身份憑據(jù)"
label:"Host to"|label:"目的主機(jī)"
label:"Port to"|label:"目的端口"
label:"Root group"|label:"根分組"
label:"Charset"|label:"字符集"
label:"Interval"|label:"間隔"
label:"Hosts"|label:"主機(jī)"
label:"Find"|label:"查找"
label:"File"|label:"文件"
label:"Edit"|label:"編輯"
label:"View"|label:"查看"
label:"Window"|label:"窗口"
label:"Help"|label:"幫助"
label:"Size"|label:"大小"
label:"Kind"|label:"類型"
label:"About"|label:"關(guān)于"
label:"Label"|label:"標(biāo)簽"
label:"Tags"|label:"標(biāo)簽"
label:"Keys"|label:"密鑰"
label:"Passphrase"|label:"密碼"
label:"Password"|label:"密碼"
label:"Proxy"|label:"代{過}{濾}理"
label:"Port"|label:"端口"
label:"Username"|label:"用戶名"
label:"User"|label:"用戶"
label:"Address"|label:"地址"
label:"Group"|label:"分組"
label:"Groups"|label:"分組"
label:"Name"|label:"名稱"
 
{role:"selectall"}|{label:"全選",role:"selectall"}
{role:"delete"}|{label:"刪除",role:"delete"}
{role:"paste"}|{label:"粘貼",role:"paste"}
{role:"copy"}|{label:"復(fù)制",role:"copy"}
{role:"undo"}|{label:"撤銷",role:"undo"}
{role:"redo"}|{label:"重做",role:"redo"}
{role:"cut"}|{label:"剪切",role:"cut"}
{role:"minimize"}|{label:"最小化",role:"minimize"}
 
 
"We’ve credited your account with a free 14 day trial of Termius Premium. Get Termius on iOS or Android, and keep everything synced automatically."|"我們已為您的帳戶提供Termius 高級(jí)版的14天免費(fèi)試用状植。 在iOS或Android上獲取Termius浊竟,并自動(dòng)保持所有同步怨喘。"
`\n      An item named "${A}" already exists in this location. \n      Do you want to replace it with the one you are moving?\n    `|`\n     此目錄已存在名為 "${A}" 的項(xiàng)目. \n      您確定要用您移動(dòng)的覆蓋它嗎?\n    `
"The parameters below will be applied to all hosts and subgroups in this group, unless you explicitly rewrite them."|"除非您明確重寫它們,否則以下參數(shù)將應(yīng)用于該組中的所有主機(jī)和子組振定。"
"Upload and download files using the integrated SFTP client. Easily accessible from the terminal on all devices."|"使用集成的SFTP客戶端上傳和下載文件必怜。 可從所有設(shè)備上的終端輕松訪問。"
"How often (in milliseconds) to send SSH-level keepalive packets to the server. Set to 0 to disable."|"設(shè)置SSH的心跳包頻率(以毫秒為單位)后频。設(shè)置為0以禁用梳庆。"
"Please re-enter your Termius password to re-sync your data from our servers:"|"請(qǐng)重新輸入您的Termius密碼以重新同步來自我們服務(wù)器的數(shù)據(jù):"
"We’ve credited your account with a free 14 day trial of Termius Premium."|"我們已為您的帳戶提供Termius 高級(jí)版的14天免費(fèi)試用。"
"This password has previously appeared in a data breach and should never be used!"|"該密碼以前曾出現(xiàn)在數(shù)據(jù)泄露中卑惜,切勿使用膏执!"
"Unlock Termius Premium features such as SFTP, Snippets, Agent Forwarding,"|"解鎖Termius 高級(jí)版功能,例如SFTP露久,代碼片段更米,代{過}{濾}理轉(zhuǎn)發(fā),"
"and sync the data across all your devices using E2EE sync."|" 并且在您所有設(shè)備之間同步數(shù)據(jù)毫痕,使用 E2EE 同步"
"Limit number of terminal rows. Set to 0 to maximum limit size."|"限制終端行數(shù)征峦。 設(shè)置為0表示最大限制大小。"
"Affects this device only, saved credentials will not be synced"|"僅影響此設(shè)備消请,保存的憑據(jù)將不會(huì)同步"
"Create an account to unlock all Premium features for 14 days."|"創(chuàng)建一個(gè)賬戶解鎖所有高級(jí)版特性14天眶痰。"
"Connecting to a host requires adding one to Termius first."|"連接到主機(jī)需要先要將其添加到向Termius。"
"Find a host or ssh user@hostname..."|"查找一個(gè)已知主機(jī) 或   ssh user[url=home.php?mod=space&uid=1210260]@hostname[/url] 直接登錄一個(gè)主機(jī)..."
"Enable notification bell (backend flag won't change)"|"啟用通知鈴聲(后端標(biāo)志不會(huì)更改)"
"Manage Subscription":"Learn more about Premium"|"管理訂閱":"了解更多關(guān)于高級(jí)版"
"Manage Billing Information":"Manage Subscription"|"管理帳單信息":"管理訂閱"
"Connect to a new host via SSH, MOSH or Telnet."|"通過SSH梯啤,MOSH或Telnet連接到新主機(jī)竖伯。"
has been downloaded and will be automatically installed on exit`|退出時(shí)將會(huì)自動(dòng)安裝`
"Once you've added hosts, you'll find them here"|"添加主機(jī)后,您將在這里找到它們"
"Your reset link has been sent to your email"|"您的重置鏈接已發(fā)送至您的電子郵件"
"New Terminals will use the selected theme, "|"新打開的終端將會(huì)使用選中主題因宇,"
"Select text to copy & Right click to paste"|"選中文本復(fù)制 & 右擊鼠標(biāo)粘貼"
"email address. Enter your password to log in."|"電子郵件地址七婴。 輸入密碼登錄。"
"There’s already an account associated with this"|"已經(jīng)有與此相關(guān)的帳戶的"
"Account with specified email is not registered"|"指定電子郵件的帳戶未注冊(cè)"
"Select what type of data you want to import:"|"選擇您要導(dǎo)入的數(shù)據(jù)類型:"
"Hide Hidden Files":"Show Hidden Files"|"隱藏隱藏文件":"顯示隱藏文件"
"Are you sure you want to remove this known host?"|"您確定要?jiǎng)h除此主機(jī)嗎察滑?"
"This password hasn't appeared in a data breach"|"此密碼未出現(xiàn)數(shù)據(jù)泄露事件"
"Connection failed with connection log:"|"連接失敗打厘,并顯示連接日志:"
"The update will be downloaded automatically."|"將會(huì)自動(dòng)下載更新。"
"Snippets are predefined port knocking or"|"代碼片段是預(yù)定義 端口敲擊 或者"
"shell scripts. Add a snippet to conveniently"|"Shell 腳本贺辰。添加一段代碼片段方便"
"Are you sure you want to remove snippet?"|"您確定要?jiǎng)h除代碼片段嗎户盯?"
"run any command at any time."|"在任意時(shí)候運(yùn)行任意代碼"
"Import from AWS and Digital Ocean"|"從 AWS 或者 Digital Ocean導(dǎo)入"
"Data has not been synchronized yet"|"數(shù)據(jù)未同步"
" existing Terminals are not affected."|"已經(jīng)打開的終端不受影響。"
"Delete local data and start over"|"刪除本地?cái)?shù)據(jù)并重新開始"
"Allow local SSH/SFTP connections"|"允許本地 SSH/SFTP 連接"
"Use new terminal rendering engine"|"使用新的終端渲染引擎"
"Password reset failed with status "|"密碼重置失敗饲化,狀態(tài)為 "
"Need to import something else?"|"需要導(dǎo)入其他內(nèi)容嗎莽鸭?"
"Delete local data and re-sync"|"刪除本地?cái)?shù)據(jù)并重新同步"
"Edit identity":"Add identity"|"編輯身份憑據(jù)":"添加身份憑據(jù)"
"Are you sure you want to delete tag?"|"您確定要?jiǎng)h除標(biāo)簽嗎?"
" Premium on all your devices."|" 高級(jí)版在您所有設(shè)備上."
"Start a free 14 day trial and use "|"開始免費(fèi)使用 14 天 "
"Please fill out your Phone Number"|"請(qǐng)輸入您的手機(jī)號(hào)碼"
"A new update is ready to install"|"一個(gè)更新已經(jīng)準(zhǔn)備就緒"
"Try Premium - 14 day free trial"|"免費(fèi)試用高級(jí)版 14 天"
"Select from your saved Hosts"|"從您已經(jīng)保存的主機(jī)中選擇"
"Something went wrong, try again."|"發(fā)生錯(cuò)誤,請(qǐng)稍后再試"
"Manage your usernames and"|"管理您的用戶名和訪問密鑰"
"Redirect communication requests"|"重定向通訊請(qǐng)求"
"with port forwarding rules."|"通過端口轉(zhuǎn)發(fā)規(guī)則."
"Edit snippet":"Add snippet"|"編輯代碼片段":"添加代碼片段"
"To create a port forwarding rule"|"在創(chuàng)建端口轉(zhuǎn)發(fā)規(guī)則之前"
"Sync keys and identities"|"同步密鑰和身份憑據(jù)"
" at the end of trial period."|"吃靠,在試用期結(jié)束后"
"Enable new virtualized list"|"啟用新的虛擬列表"
"Enable new connection flow"|"啟用新的連接流程"
"Continue without account"|"不登錄賬戶繼續(xù)使用"
"Hide Logs":"Show Logs"|"隱藏日志":"顯示日志"
"Enable new crypto system"|"啟用新的加密系統(tǒng)"
"SFTP is a Premium Feature"|"SFTP是高級(jí)版特性"
"Continue":"Create account"|"繼續(xù)":"創(chuàng)建賬戶"
"Edit Rule":"Add Rule"|"編輯規(guī)則":"新建規(guī)則"
"Already have an account?"|"已經(jīng)有賬戶了?"
"Edit key":"Add key"|"編輯密鑰":"添加密鑰"
"Backspace as Ctrl+H"|"Backspace 當(dāng)作 Ctrl+H"
"From Parent group":"Default"|"繼承父組":"默認(rèn)"
"Edit group":"Add group"|"編輯分組":"添加分組"
"Edit host":"Add host"|"編輯主機(jī)":"添加主機(jī)"
"access keys by adding them"|"通過添加他們"
"ADD ENVIRONMENT VARIABLE"|"添加環(huán)境變量"
" from specified file."|"在您提供的文件中硫眨。"
"nothing to import"|"沒有可導(dǎo)入的數(shù)據(jù)"
"Unfortunately we found "|"實(shí)在抱歉!我們發(fā)現(xiàn)"
"Where are you coming from?"|"從那里導(dǎo)入巢块?"
"AWS and Digital Ocean"|"AWS 和 Digital Ocean"
"Sync Keys & Passwords"|"同步 密鑰 和 密碼"
`Do you want to delete|`您確定想要?jiǎng)h除
"Start by adding a host"|"從添加主機(jī)開始"
"SSH Agent Forwarding"|"SSH 代{過}{濾}理轉(zhuǎn)發(fā)"
"Import from AWS, DO*"|"從AWS導(dǎo)入, DO*"
"Name is already used"|"名稱已經(jīng)被使用"
"Error during transfer"|"傳輸過程發(fā)生錯(cuò)誤"
" What do you want to do?"|" 你想做什么礁阁?"
"Two-Factor Authentication"|"兩因素身份驗(yàn)證"
"Phone number"|"手機(jī)號(hào)碼"
"Port-knocking*"|"Port-knocking*"
"Enable session reuse"|"啟用會(huì)話重用"
"No automatic charge"|"不會(huì)自動(dòng)收費(fèi)"
"Password reset failed"|"密碼重置失敗"
"Verified":"Not verified"|"已驗(yàn)證":"未驗(yàn)證"
"New Update Available"|"新版本可用"
"Protocol selected: "|"選擇協(xié)議: "
"Local Terminal Path"|"本地終端路徑"
"Keepalive Interval"|"保持連接間隔"
"Import from PuTTY"|"從 PuTTY 導(dǎo)入"
"Import from KiTTY"|"從 KiTTY 導(dǎo)入"
"Import from CSV"|"從 CSV 導(dǎo)入"
"SSH config file"|"SSH 配置文件"
"Remove known host"|"刪除已知主機(jī)"
"New Update available."|"新版本可用巧号。"
"Theme inherited from "|"主題繼承自 "
"Experiment Toggles"|"實(shí)驗(yàn)性開關(guān)"
"Import Ssh Config"|"導(dǎo)入 SSH 配置文件"
"How do we know?"|"我們?nèi)绾沃溃?
"Password strength:"|"密碼強(qiáng)度:"
"Log In":"Sign Up"|"登錄":"注冊(cè)"
"Feature Toggles"|"新特性開關(guān)"
"Connect to Host"|"連接到主機(jī)"
"[SSH2] Port"|"[SSH2] 端口"
"Autocomplete*"|"Autocomplete*"
"Add new host"|"添加新主機(jī)"
"Global settings"|"全局設(shè)置"
"SOCKS Proxy"|"SOCKS 代{過}{濾}理"
"Port Forwarding"|"端口轉(zhuǎn)發(fā)"
"SFTP Client"|"SFTP 客戶端"
"to the Keychain"|"到密鑰鏈"
"Terminal settings"|"終端設(shè)置"
"Scrollback"|"Scrollback(回滾)"
children:"New"|children:"新建"
"Local Terminal"|"本地終端"
"Let us know!"|"讓我們知道!"
"Do it later"|"稍后再試"
"these items"|"這些項(xiàng)目"
"this folder"|"這個(gè)文件夾"
"GO PREMIUM"|"購(gòu)買高級(jí)版"
"this file"|"這個(gè)文件"
"these folders"|"這些目錄"
"these files"|"這些文件"
"Adding a host"|"添加一個(gè)主機(jī)"
"Foldername *"|"目錄名 *"
"New filename *"|"新文件名 *"
"Required"|"需要的"
"Let’s go!"|"讓我們開始吧姥闭!"
"Reset password"|"重置密碼"
"Remove snippet"|"刪除代碼片段"
"Local Terminal"|"本地終端"
" Preferences"|" 首選項(xiàng)"
"Terminal theme"|"終端主題"
"Terminal Font"|"終端字體"
"Apply to All"|"應(yīng)用到所有"
"New Identity"|"添加身份憑據(jù)"
"Synchronization"|"數(shù)據(jù)同步"
"Sync keys"|"同步密鑰"
"Connection to "|"連接到 "
"Exit":"Quit"|"退出":"退出"
"Enable IPv6"|"啟用 IPv6"
"New Host"|"添加主機(jī)"
"New Group"|"添加分組"
`Connecting to |`連接到 
"Add to host"|"添加到主機(jī)"
"Preferences"|"首選項(xiàng)"
"New email"|"新郵箱"
"Change Email"|"修改郵箱"
"Change email"|"修改郵箱"
"Old Password"|"舊密碼"
"Change Password"|"修改密碼"
"Change password"|"修改密碼"
"Log Out"|"退出登錄"
"Reload Data"|"重新加載數(shù)據(jù)"
"Enable 2FA"|"啟用 2FA"
"Error!!!"|"錯(cuò)誤!!!"
"Public key"|"公鑰"
"Private key"|"私鑰"
"New Key"|"添加密鑰"
"Skip All"|"全部跳過"
"start by"|"請(qǐng)先"
"Select Host"|"選擇主機(jī)"
"Select Hosts"|"選擇主機(jī)"
label:"Tags"|label:"標(biāo)簽"
"Let us know!"|"讓我們知道丹鸿!"
"Learn more in "|"了解更多 "
"Start Over"|"重新開始"
"Dynamic Rule"|"動(dòng)態(tài)規(guī)則"
"Local Rule"|"本地規(guī)則"
"Remote Rule"|"遠(yuǎn)程規(guī)則"
"New Password"|"新密碼"
"Dark mode"|"深色模式"
"Host Chaining"|"主機(jī)鏈"
"Parent group"|"父分組"
"Edit Chain"|"編輯鏈"
"Text size"|"文本大小"
"Bell sound"|"鈴聲"
"Sync now"|"立即同步"
"History"|"歷史記錄"
"Duplicate"|"重復(fù)"
"Snippets"|"代碼片段"
"Username"|"用戶名"
`Arrange by:|`排序:
"Account"|"賬戶"
"Hostname"|"主機(jī)名"
:"Tags"),|:"標(biāo)簽"),
"Login")|"登錄")
"Log In"|"登錄"
"Edit"|"編輯"
"Remove"|"刪除"
"Close"|"關(guān)閉"
"Connect"|"連接"
"Actions"|"操作"
"Continue"|"繼續(xù)"
"Import"|"導(dǎo)入"
"Delete"|"刪除"
"Replace"|"替換"
"Reset"|"重置"
"Skip"|"跳過"
"Merge"|"合并"
"Cancel"|"取消"
"Retry"|"重試"
"Size "|"大小 "
"Stop"|"停止"
 
//去更新
const t=this.updateInfoAndProvider|const t=null
//開調(diào)試
this.browserWindow.loadURL((|this.browserWindow.webContents.openDevTools(),this.browserWindow.loadURL((
//高級(jí)版
return{user:A.user|A.user.account.current_period={from:"2020-01-01T00:00:00",until:"3000-12-30T00:00:00"};A.user.account.expired_screen_type="Premium";A.user.account.plan_type="premium";A.user.account.user_type="premium";A.user.account.pro_mode=true;A.user.account.need_to_update_subscription=false;A.sync.syncKeysAndIdentities=true;A.authorized=true;return {user:A.user
 
 
#return A.user.account.pro_mode|return true
#disabled:!c,size:"md"}|disabled:false,size:"md"}
#disabled:!i,size:"md"}|disabled:false,size:"md"}
#disabled:!B,size:"md"}|disabled:false,size:"md"}
#disabled:!E}|disabled:false}
#plan_type:"premium"|plan_type:"premium"
#user_type:"premium"|user_type:"premium"
#A.user.account.user_type|"premium"
#"unauthorized"|"premium"
#return A.user.account.current_period|return {from:"2020-01-01T00:00:00",until:"3000-12-30T00:00:00"}
#includes("ago")|includes("agoo")
#now:""|now:"2020-08-21T00:00:00"
#A.user.account.now|"2020-08-21T00:00:00"
 
#//關(guān)鍵字
#e.account.plan_type="premium"
#e.trial=null
#e.account.user_type="premium"
#e.account.pro_mode=true
#e.account.current_period.from="1970-01-01T00:00:00"
#e.account.current_period.until="2100-01-01T00:00:00"
#e.account.expired_screen_type
#disabled:
#return {
#            user: A.user,
#            isTeamOwner: Dl(A),
#            daysUntilExpire: e,
#            currentPeriodExpiration: t,
#            dark: FQ(A),
#            isBellVisible: pl(A)
#        }

Java:

package com.xxy.demotest.test;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;

/**
 * @beLongProjecet: demo-test
 * @beLongPackage: com.xxy.demotest.test
 * @author: xiaoxiangyuan
 * @createTime: 2022/07/12 18:10
 * @description: Termius工具破解漢化
 * @version: v1.0
 */
public class TermiusTestUtil {

    public static void main(String[] args) throws IOException {
        String name = "D:\\termius.ini";
        String filename = "C:\\Users\\wonder\\AppData\\Local\\Programs\\Termius\\resources\\app\\js\\entry.js";
//                filename = "C://Users//Administrator//AppData///Local//Programs//Termius//resources//app//js//main.js";
        // 使用ArrayList來存儲(chǔ)每行讀取到的字符串
        ArrayList<String> arrayList = new ArrayList<>();
        ArrayList<String> unTranslate = new ArrayList<>();
        String strs = "";
        try {
            FileReader fr = new FileReader(name);
            BufferedReader bf = new BufferedReader(fr);
            String str;
            // 按行讀取字符串
            while ((str = bf.readLine()) != null) {
                arrayList.add(str);
            }
            bf.close();
            fr.close();
            fr = new FileReader(filename);
            bf = new BufferedReader(fr);
            while ((str = bf.readLine()) != null) {
                strs += str + "\r\n";
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
        // 對(duì)ArrayList中存儲(chǔ)的字符串進(jìn)行處理
        int length = arrayList.size();

        for (int i = 0; i < length; i++) {
            String s = arrayList.get(i);
            String[] tab = s.split("\\|");
            if (tab.length!=2 && s.trim().length() > 4){
                System.out.println(s + "\r\n");
            }
            if (strs.contains(tab[0]) && tab.length==2 && !s.startsWith("#")){
                strs = strs.replace(tab[0],tab[1]);
                System.out.println(i + "   " +s);
            }else {
                unTranslate.add(s);
            }

        }
        FileWriter fileWriter = new FileWriter(filename);
        fileWriter.write(strs);
        fileWriter.flush();
        fileWriter.close();

        System.out.println(unTranslate);
    }
}

效果:

微信截圖_20220713103857.png
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市棚品,隨后出現(xiàn)的幾起案子卜高,更是在濱河造成了極大的恐慌,老刑警劉巖南片,帶你破解...
    沈念sama閱讀 206,968評(píng)論 6 482
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件掺涛,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡疼进,警方通過查閱死者的電腦和手機(jī)薪缆,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,601評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來伞广,“玉大人拣帽,你說我怎么就攤上這事〗莱” “怎么了减拭?”我有些...
    開封第一講書人閱讀 153,220評(píng)論 0 344
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)区丑。 經(jīng)常有香客問我拧粪,道長(zhǎng),這世上最難降的妖魔是什么沧侥? 我笑而不...
    開封第一講書人閱讀 55,416評(píng)論 1 279
  • 正文 為了忘掉前任可霎,我火速辦了婚禮,結(jié)果婚禮上宴杀,老公的妹妹穿的比我還像新娘癣朗。我一直安慰自己,他們只是感情好旺罢,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,425評(píng)論 5 374
  • 文/花漫 我一把揭開白布旷余。 她就那樣靜靜地躺著,像睡著了一般扁达。 火紅的嫁衣襯著肌膚如雪正卧。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 49,144評(píng)論 1 285
  • 那天罩驻,我揣著相機(jī)與錄音穗酥,去河邊找鬼。 笑死惠遏,一個(gè)胖子當(dāng)著我的面吹牛砾跃,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播节吮,決...
    沈念sama閱讀 38,432評(píng)論 3 401
  • 文/蒼蘭香墨 我猛地睜開眼抽高,長(zhǎng)吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來了透绩?” 一聲冷哼從身側(cè)響起翘骂,我...
    開封第一講書人閱讀 37,088評(píng)論 0 261
  • 序言:老撾萬榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎帚豪,沒想到半個(gè)月后碳竟,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,586評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡狸臣,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,028評(píng)論 2 325
  • 正文 我和宋清朗相戀三年莹桅,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片烛亦。...
    茶點(diǎn)故事閱讀 38,137評(píng)論 1 334
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡诈泼,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出煤禽,到底是詐尸還是另有隱情铐达,我是刑警寧澤,帶...
    沈念sama閱讀 33,783評(píng)論 4 324
  • 正文 年R本政府宣布檬果,位于F島的核電站瓮孙,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏选脊。R本人自食惡果不足惜衷畦,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,343評(píng)論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望知牌。 院中可真熱鬧祈争,春花似錦、人聲如沸角寸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,333評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)扁藕。三九已至沮峡,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間亿柑,已是汗流浹背邢疙。 一陣腳步聲響...
    開封第一講書人閱讀 31,559評(píng)論 1 262
  • 我被黑心中介騙來泰國(guó)打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人疟游。 一個(gè)月前我還...
    沈念sama閱讀 45,595評(píng)論 2 355
  • 正文 我出身青樓呼畸,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親颁虐。 傳聞我的和親對(duì)象是個(gè)殘疾皇子蛮原,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,901評(píng)論 2 345

推薦閱讀更多精彩內(nèi)容