This commit is contained in:
SpikeHD 2022-05-14 15:12:13 -07:00
commit b0638e7b76
7 changed files with 201 additions and 4 deletions

View File

@ -94,6 +94,8 @@ If all else fails, you can run GrassClipper in `chrome` or `browser` mode. To do
## Error 502 ## Error 502
***You may be using the wrong port, ensure your port in GrassClipper is either 443 or nothing (not 0, but literally nothing)***
1. If you are running a local server, ensure the local server is running. Otherwise, ensure the server you are connecting to is actually running. 1. If you are running a local server, ensure the local server is running. Otherwise, ensure the server you are connecting to is actually running.
2. If you are able, [use the development branch of Grasscutter](https://github.com/Grasscutters/Grasscutter/tree/development). It is known to work better with GrassClipper. 2. If you are able, [use the development branch of Grasscutter](https://github.com/Grasscutters/Grasscutter/tree/development). It is known to work better with GrassClipper.
@ -138,6 +140,8 @@ Thank you to everyone who has provided translations! <3
* JP - conochy * JP - conochy
* HD - Arikatsu * HD - Arikatsu
* PL - zakhil-dev * PL - zakhil-dev
* TH - ongsalt
* KO - tsukiroku
# Screenshots # Screenshots

93
languages/ko.json Normal file
View File

@ -0,0 +1,93 @@
{
"fullLangName": "한국어",
"appName": "GrassClipper",
"playOfficial": "플레이 (공식)",
"playPrivate": "플레이 (Grasscutter)",
"launchLocalServer": "로컬에서 실행",
"gameExeSet": "게임 실행파일 설정",
"grasscutterFileSet": "\"Grasscutter\" .jar 파일 설정",
"folderNotSet": "폴더가 지정되지 않았습니다.",
"ipPlaceholder": "서버 주소",
"portPlaceholder": "포트",
"noFavorites": "즐겨찾기를 설정하지 않았습니다.",
"settingsTitle": "설정",
"scriptsSectionTitle": "스크립트",
"killswitchOption": "프로세스 중지",
"killswitchSubtitle": "프록시에 문제가 발생할 경우, 게임과 인터넷을 중지합니다.",
"proxyOption": "프록시",
"proxySubtitle": "스크립트를 통해 프록시 서버 설치",
"updateOption": "업데이트",
"updateSubtitle": "자동 업데이트가 일시적으로 비활성화되어 있습니다. Github에서 최신 버전을 확인하세요.",
"languageOption": "언어",
"languageSubtitle": "언어를 선택해주세요.",
"enableServerLauncherOption": "서버 실행 버튼 활성화",
"enableServerLauncherSubtitle": "로컬 Grasscutter 인스턴스를 실행하기 위해, 서버 실행기 타일을 활성화합니다.",
"httpsOption": "HTTPS 사용",
"httpsSubtitle": "HTTPS 또는 HTTP 중 하나를 선택하세요.",
"debugOption": "디버깅",
"introSen1": "GrassClipper에 오신 것을 환영합니다!",
"introSen2": "GrassClipper를 사용해주셔서 감사드립니다.",
"introSen3": "프록시 설치 관리자를 실행하시겠습니까?",
"introSen4": "(서버에 연결하는 데 필요)",
"updateBtn": "업데이트",
"proxyInstallBtn": "설치",
"proxyInstallDeny": "사양하겠습니다.",
"gameFolderDialog": "게임 실행 파일을 설정하세요.",
"grasscutterFileDialog": "Grasscutter jar을 설정하세요.",
"loggingInTo": "로그인: ",
"registeringFor": "등록: ",
"authUsername": "이름: ",
"authPassword": "비밀번호: ",
"authConfirmPassword": "비밀번호 확인: ",
"authLoginBtn": "로그인",
"authRegisterBtn": "가입",
"authLoginTitle": "로그인",
"authRegisterTitle": "가입",
"launchWithoutAuth": "인증 없이 실행",
"alertInvalid": "잘못된 사용자 이름 또는 비밀번호입니다.",
"alertNoPass": "비밀번호를 설정하지 않았습니다. 비밀번호를 설정하세요.",
"alertUnknown": "알 수 없는 오류, 서버 소유자에게 문의하세요.",
"alertAuthNoLogin": "인증이 비활성화되어있으므로, 로그인이 필요하지 않습니다!",
"alertLoginSuccess": "로그인 성공! 토큰이 클립보드에 복사되었습니다. 토큰을 게임의 사용자 이름 필드에 붙여 로그인합니다.",
"alertUserTaken": "해당 사용자 이름은 이미 사용 중입니다.",
"alertPassMismatch": "암호 확인이 일치하지 않습니다.",
"alertAuthNoRegister": "인증이 비활성화되어있으므로, 가입이 필요하지 않습니다!",
"alertRegisterSuccess": "가입 성공!",
"downloadTitle": "다운로드",
"grassclipperTitle": "GrassClipper",
"grasscutterTitle": "Grasscutter",
"installerTitle": "설치 관리자",
"installerSubtitle": "프록시 및 기타 도구를 설치합니다. (Grasscutter 서버에 필요)",
"downloadStable": "안정적인 Grasscutter 빌드 다운로드",
"stableSubtitle": "안정적인 Grasscutter를 설치합니다. (버그는 거의 없지만, 새로운 기능 또한 적습니다.)",
"downloadDev": "개발 버전 Grasscutter 다운로드",
"devSubtitle": "개발 버전의 Grasscutter를 설치합니다. (버그가 있을 수 있으며, 자주 업데이트됩니다. 버그로 인한 피해는 책임지지 않습니다.)",
"downloadResources": "Grasscutter 리소스 다운로드",
"resourceSubtitle": "Grasscutter 리소스를 현재 설정된 Grasscutter 폴더에 다운로드합니다. 외부에서 리소스를 가져올 예정이 아니라면, 이 작업을 수행해야 합니다.",
"downloadData": "Grasscutter 데이터 다운로드",
"dataSubtitle": "중요한 Grasscutter 데이터 파일을 다운로드합니다.",
"gcScriptRunning": "실행중...",
"stableInstall": "다운로드 (stable)",
"devInstall": "다운로드 (dev)",
"updateNotifText": "새 업데이트를 사용할 수 있습니다: ",
"foreignCharacterAlert": "파일 경로에 유효하지 않은 문자가 포함되어 있으므로, 문제가 발생할 수 있습니다!",
"dialogOk": "예",
"dialogNo": "아니오",
"serverEnableDialogTitle": "Grasscutter 서버 실행기를 찾았습니다!",
"serverEnableDialogText": "설정할 기존의 Grasscutter가 없는 경우, 빌드를 다운로드하시겠습니까?"
}

95
languages/th.json Normal file
View File

@ -0,0 +1,95 @@
{
"fullLangName": "ภาษาไทย",
"appName": "GrassClipper",
"playOfficial": "เริ่มเกม (Official)",
"playPrivate": "เริ่มเกม (Grasscutter)",
"launchLocalServer": "เริ่ม Local Server",
"gameExeSet": "เลือกไฟล์เกม",
"grasscutterFileSet": "เลือกไฟล์ \"Grasscutter\" .jar ",
"folderNotSet": "ยังไม่ได้ตั้ง",
"ipPlaceholder": "ที่อยู่เซิร์ฟเวอร์...",
"portPlaceholder": "พอร์ต",
"noFavorites": "ยังไม่ได้ตั้ง",
"settingsTitle": "การตั้งค่า",
"scriptsSectionTitle": "สคริปต์",
"killswitchOption": "Kill Switch",
"killswitchSubtitle": "เอาไว้สำหรับพวกที่กลัวโดนแบนมากๆ เมื่อพร็อกซี่มีปัญหาจะบังคับปิดเกมและตัดอินเตอร์เน็ตทันที",
"proxyOption": "พร็อกซี่",
"proxySubtitle": "ติดตั้งพร็อกซี่ด้วยสคริปต์ติดตั้ง",
"updateOption": "อัพเดท",
"updateSubtitle": "การอัพเดทอัตโนมัติไม่พร้อมใช้งานในขณะนี้ ไปที่ Github สำหรับเวอร์ชั่นใหม่",
"languageOption": "ภาษา",
"languageSubtitle": "เลือกภาษาของคุณ",
"enableServerLauncherOption": "เพิ่มปุ่มเริ่มเซิร์ฟเวอร์",
"enableServerLauncherSubtitle": "เพิ่มปุ่มเริ่มเซิร์ฟเวอร์ไปยังหน้าแลนเชอร์ใช้สำหรับเริ่มการทำงานของเซิร์ฟเวอร์ Grasscutter ที่ติดตั้งไว้",
"httpsOption": "ใช้ HTTPS",
"httpsSubtitle": "เลือกระหว่าง HTTPS กับ HTTP.",
"debugOption": "การดีบัก",
"introSen1": "ดูเหมือนว่านี่เป็นครั้งแรกที่คุณเปิด GrassClipper!",
"introSen2": "อย่างแรกเลย ยินดีต้อนรับ เรายินดีที่ได้พบคุณที่นีี่! :)",
"introSen3": "คุณต้องการที่จะรันตัวติดตั้งพร็อกซี่หรือไม่ ",
"introSen4": "(จำเป็นต้องเชื่อมต่อไปยังเซิร์ฟเวอร์)",
"updateBtn": "อัพเดท",
"proxyInstallBtn": "ติดตั้ง",
"proxyInstallDeny": "ไม่ ขอบคุณ",
"gameFolderDialog": "เลือกไฟล์ .exe เกม",
"grasscutterFileDialog": "เลือกไฟล์ .jar Grasscutter ",
"loggingInTo": "เข้าสู่ระบบไปยัง: ",
"registeringFor": "ลงทะเบียนำหรับ: ",
"authUsername": "ชื่อผู้ใช้: ",
"authPassword": "รหัสผ่าน: ",
"authConfirmPassword": "ยืนยันรหัสผ่าน: ",
"authLoginBtn": "เข้าสู่ระบบ",
"authRegisterBtn": "ลงทะเบียน",
"authLoginTitle": "เข้าสู่ระบบ",
"authRegisterTitle": "ลงทะเบียน",
"launchWithoutAuth": "เริ่มเกมโดยไม่ต้องยืนยันตัวตน",
"alertInvalid": "ชื่อผู้ใช้หรือรหัสผ่านผิดพลาด",
"alertNoPass": "ไม้ได้ตั้งรหัสผ่าน กรุณาตั้ง",
"alertUnknown": "เกิดข้อผิดพลาดไม่ทราบสาเหตุ โปรดติดต่อผู้ดูแล",
"alertAuthNoLogin": "การยืนยันตัวตนถูกปิดใช้งาน ไม่จำเป็นต้องเข้าสู่ระบบ",
"alertLoginSuccess": "เข้าสู่ระบบสำเร็จ โทเคนถูกคัดลอกไปยังคลิปบอร์ด นำโทเคนนี้ไปกรอกใส่ช่องชื่อผู้ใช้เพื่อเข้าสู่ระบบ",
"alertUserTaken": "ชื่อผู้ใช้นี้ถูกใช้งานแล้ว",
"alertPassMismatch": "รหัสผ่านกับยืนยันรหัสผ่านไม่ตรงกัน",
"alertAuthNoRegister": "การยืนยันตัวตนถูกปิดใช้งาน ไม่จำเป็นต้องลงทะเบียน",
"alertRegisterSuccess": "ลงทะเบียนสำเร็จ!",
"downloadTitle": "ดาวน์โหลด",
"grassclipperTitle": "GrassClipper",
"grasscutterTitle": "Grasscutter",
"installerTitle": "ตัวติดตั้ง",
"installerSubtitle": "ติดตั้งพร็อกซี่และเครื่องมืออื่นๆที่จำเป็นสำหรับเซิร์ฟเวอร์ Grasscutter",
"downloadStable": "ดาวน์โหลด Grasscutter รุ่นเสถียร",
"stableSubtitle": "ดาวน์โหลด Grasscutter จากแบรนช์เสถียร โดยปกติแล้วรุ่นนี้จะมีบั๊กน้อยกว่าฟีเจอร์ก็น้อยกว่าเช่นกัน",
"downloadDev": "ดาวน์โหลด Grasscutter รุ่นนักพัฒนา",
"devSubtitle": "ดาวน์โหลด Grasscutter จากแบรนช์นักพัฒนา รุ่นนี้มีการอัพเดทบ่อย บางครั้งอาจมีบั๊ก ใช้เป็นความเสี่ยงของคุณ",
"downloadResources": "ดาวน์โหลดไฟล์ทรัพยากร Grasscutter ",
"resourceSubtitle": "ดาวน์โหลดไฟล์ทรัพยากรของ Grasscutter ไปยังโฟลเดอร์ของ Grasscutter ที่ตั้งไว้ คุณควรดำเนินการนี้เว้นแต่ว่าตุณวางแผนจะใช้ไฟล์จากภายนอก",
"downloadData": "ดาวน์โหลดไฟล์ข้อมูล Grasscutter",
"dataSubtitle": "ดาวน์โหลดไฟล์ข้อมูลของ Grasscutter อย่างเช่น keys, spawns หรือไฟล์สำคัญอย่างอื่น",
"gcScriptRunning": "กำลังรัน...",
"stableInstall": "ดาวน์โหลด",
"devInstall": "ดาวน์โหลด",
"updateNotifText": "มีการอัพเดทพร้อมใช้งาน เวอร์ชั่นล่าสุด: ",
"foreignCharacterAlert": "เส้นทางของไฟล์มีภาษาอื่นนอกจากภาษาอังกฤษอยู่ นี่อาจก่อให้เกิดปัญหาได้",
"dialogOk": "ตกลง",
"dialogNo": "ไม่",
"serverEnableDialogTitle": "คุณพบแลนเชอร์ของเซิร์ฟเวอร์ Grasscutter",
"serverEnableDialogText": "หากคุณยังไม่ได้ติดตั้งเซิร์ฟเวอร์ Grasscutter คุณต้องการจะดาวน์โหลดหรือไม่"
}

View File

@ -85,7 +85,8 @@ class MlgmXyysd_Anime_Game_Proxy:
"uspider.yuanshen.com", "uspider.yuanshen.com",
"sdk-static.mihoyo.com", "sdk-static.mihoyo.com",
"abtest-api-data-sg.hoyoverse.com", "abtest-api-data-sg.hoyoverse.com",
"log-upload-os.hoyoverse.com" "log-upload-os.hoyoverse.com",
"webapi-os.account.hoyoverse.com"
] ]
if flow.request.host in LIST_DOMAINS: if flow.request.host in LIST_DOMAINS:
@ -98,4 +99,4 @@ class MlgmXyysd_Anime_Game_Proxy:
addons = [ addons = [
MlgmXyysd_Anime_Game_Proxy() MlgmXyysd_Anime_Game_Proxy()
] ]

View File

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="style/index.css" /> <link rel="stylesheet" type="text/css" href="style/index.css" />
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> <script src="js/axios.min.js"></script>
<script src="js/neutralino.js"></script> <script src="js/neutralino.js"></script>
<script src="js/init.js"></script> <script src="js/init.js"></script>
<script src="js/windowDrag.js"></script> <script src="js/windowDrag.js"></script>

3
resources/js/axios.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,7 @@
set BINARY_URL="https://github.com/SpikeHD/neutralinojs/releases/download/v1337.0.0/neutralino-win_x64.exe" set BINARY_URL="https://github.com/SpikeHD/neutralinojs/releases/download/v1337.0.0/neutralino-win_x64.exe"
call npm install call npm install
call neu update
:: Use powershell to download the binary :: Use powershell to download the binary
powershell Invoke-WebRequest -Uri %BINARY_URL% -OutFile "./bin/neutralino-win_x64.exe" powershell Invoke-WebRequest -Uri %BINARY_URL% -OutFile "./bin/neutralino-win_x64.exe"