Compare commits

..

102 Commits

Author SHA1 Message Date
MathieuG-P 07a353393b bumb to 1.4.3 2023-12-27 03:10:31 +01:00
MathieuG-P 7b22387fc5 [chore] add id in version's metadatas for future features 2023-12-27 00:40:32 +01:00
MathieuG-P 2bba3c5232 Merge pull request #383 from Zagrios/chore/disable-oculus-download-with-meta-login
[chore] disable download oculus version with Meta login
2023-12-26 23:18:11 +01:00
MathieuG-P b97e03041a [chore] reduce code duplication 2023-12-26 23:14:43 +01:00
MathieuG-P fb7f08ee2e [chore] move types of "crypto-js" to dev dependencies 2023-12-26 22:56:44 +01:00
MathieuG-P 1ba0b0beac [chore] remove comments 2023-12-26 22:52:44 +01:00
MathieuG-P fa50d90941 [chore] disable download oculus version with Meta login
+ Add possibility to store token with password
2023-12-26 22:41:05 +01:00
MathieuG-P 0539b0da8d Revert "Handle already chosen Oculus as default download platform"
This reverts commit 14036b9269.
2023-12-25 17:44:22 +01:00
MathieuG-P ea33ee3a62 Revert "[chore] disable oculus downgrade"
This reverts commit 891e2338c9.
2023-12-25 17:43:03 +01:00
MathieuG-P fd4918017b Merge pull request #379 from Zagrios/bugfix/recommended-version-at-first-swap-version-instead-of-just-come-at-first
[bugfix] Just move the recommeded version at first instead of swap versions
2023-12-17 15:32:42 +01:00
MathieuG-P 95688b9d33 Just move the recommeded version at first insteam of swap versions 2023-12-17 14:47:51 +01:00
MathieuG-P 14036b9269 Handle already chosen Oculus as default download platform 2023-12-17 13:39:48 +01:00
MathieuG-P 01bc0e13e3 bumb to 1.4.2 2023-12-17 13:13:20 +01:00
MathieuG-P f7849344d1 Fix wrong padding 2023-12-17 12:48:23 +01:00
MathieuG-P db345e0c2c Merge pull request #378 from Zagrios/chore/change-models-broken-notification
[chore] Change the description and notification level of broken models
2023-12-17 01:23:37 +01:00
MathieuG-P 90d1abcc55 [chore] Change the description and notification level of broken models 2023-12-17 01:17:25 +01:00
MathieuG-P 6966cb9e90 [chore] compress slideshow images 2023-12-16 16:53:10 +01:00
MathieuG-P b764ac90cf fix available versions not on 3 column with default window size 2023-12-16 13:18:49 +01:00
MathieuG-P 921b1fd230 [chore] Update deps 2023-12-16 12:53:45 +01:00
MathieuG-P 7df499641c Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-12-16 02:10:26 +01:00
MathieuG-P 344e7abc95 disable tab navigation on Steam icon 2023-12-16 02:10:23 +01:00
MathieuG-P 94c1614c2f Merge pull request #377 from Zagrios/chore/disable-oculus-downgrade
[chore] disable oculus downgrade
2023-12-16 02:09:25 +01:00
MathieuG-P 891e2338c9 [chore] disable oculus downgrade 2023-12-16 02:05:11 +01:00
MathieuG-P 2d63708d11 Merge pull request #376 from Zagrios/feature/recommended-version-now-come-at-first
[feature] The recommended versions are displayed at first
2023-12-15 21:28:48 +01:00
MathieuG-P 80d0333170 Recommended version now come at first 2023-12-15 21:21:20 +01:00
MathieuG-P f76e693bb7 Refactor language import in I18nService 2023-12-15 21:10:49 +01:00
MathieuG-P 220111d81f remove regedit external scripts 2023-12-15 20:55:25 +01:00
MathieuG-P 4571d8da73 Merge pull request #375 from Zagrios/chore/use-regedit-rs-instead-of-node-regedit
[chore] Use regedit-rs instead of node-regedit
2023-12-15 20:49:21 +01:00
MathieuG-P cb6682d954 [chore] fix sonarcloud issues 2023-12-15 20:46:00 +01:00
MathieuG-P c2ff4fed8b [chore] Use regedit-rs instead of node-regedit 2023-12-15 20:43:03 +01:00
Shidorien 04f811f53b Merge pull request #374 from Zagrios/feature/update-readme
Feature/update readme - Fix bug with Firefox
2023-12-13 14:28:48 +01:00
Shidorien 341308eab5 fix bug with firefox 2023-12-13 14:24:40 +01:00
Shidorien 57f050ad28 Update README.md 2023-12-13 14:13:58 +01:00
Shidorien 890884b587 Test for firefox 2023-12-13 14:12:30 +01:00
MathieuG-P 83875bbf13 Merge pull request #372 from mant0u0/master
Added "Traditional Chinese" language system
2023-12-12 20:12:03 +01:00
Iluhadesu b4fdf1b9ec Fix 1.34.2 release date 2023-12-11 17:32:42 +01:00
Iluhadesu 44f6ec2db5 Add 1.34.2 to bs-versions.json 2023-12-11 17:31:25 +01:00
Iluhadesu 30327824ea Update patreons 2023-12-06 12:55:49 +01:00
Mant0u 4146a66405 Added "Traditional Chinese" language system 2023-12-06 16:48:22 +08:00
MathieuG-P 909b42f0b9 bumb to 1.4.1 2023-12-05 20:45:37 +01:00
MathieuG-P d48203cb26 update oculus binary id 2023-12-05 18:09:09 +01:00
MathieuG-P bfbd72cabf add 1.34.0 2023-12-05 18:04:19 +01:00
MathieuG-P 2da1c568c3 Add supporter 2023-12-04 18:32:02 +01:00
MathieuG-P 0cee42be6f Merge pull request #369 from Zagrios/bugfix/dont-download-maps-alredy-installed-when-installing-playlist
[bugfix] Don't download map already installed when installing a playlist
2023-12-04 17:44:16 +01:00
MathieuG-P 0f33fda360 [bugfix] Don't download map already installed when installing a playlist 2023-12-04 17:43:39 +01:00
MathieuG-P 6a4206271b Merge pull request #368 from Zagrios/bugfix/error-notification-if-version-dont-have-maps-folder
[bugfix] Versions that doesn't have "CustomLevels" folder causes error when installing a playlist
2023-12-04 16:28:47 +01:00
MathieuG-P e9b4ef39a3 [bugfix] Versions that doesn't have "CustomLevels" folder causes error when installing a playlist 2023-12-04 16:26:37 +01:00
MathieuG-P 8dc4b8ffbe Merge pull request #367 from Zagrios/bugfix/text-overflow-spanish-translation
[bugfix] Fix text overflow with spanish translation
2023-12-03 22:18:06 +01:00
MathieuG-P 7d225a3a1c [bugfix] Fix text overflow with spanish translation 2023-12-03 22:17:00 +01:00
MathieuG-P 7ff0fe5677 Merge pull request #365 from emesan22/master
[feature] Japanese translation
2023-12-02 01:22:07 +01:00
MathieuG-P 653d53e122 useless 2023-12-01 02:30:50 +01:00
MathieuG-P c1334af3f0 Merge pull request #366 from Zagrios/bugfix/error-on-closing-oneclick-window-when-downloading
[bugfix] Error when closing oneclick download window while still downloading
2023-12-01 02:20:57 +01:00
MathieuG-P 1850947a17 [bugfix] Error when closing oneclick download window while still downloading
stop send data after the window is destroyed + unsubscribe observable when the window closes
2023-12-01 02:16:31 +01:00
emesan c58fb4ad91 pritterが作動してコードが変更していたところを修正 2023-12-01 07:21:43 +09:00
emesan 5b77f1677c Revert "add"
This reverts commit 15c049530a.
2023-12-01 07:15:59 +09:00
emesan a069142992 どうやら修正していたらしい 2023-11-30 21:49:46 +09:00
emesan b635c05524 add Japanese in Chinese 2023-11-30 21:46:08 +09:00
emesan bb8ee97933 Merge branch 'Zagrios-master' 2023-11-30 21:32:07 +09:00
emesan 15c049530a add 2023-11-30 21:31:43 +09:00
emesan 0ca2d0b081 Merge branch 'master' of https://github.com/Zagrios/bs-manager into Zagrios-master 2023-11-30 21:30:57 +09:00
emesan 1932758f23 Japanese support 2023-11-30 21:14:35 +09:00
Shidorien 3949cfb54c Merge pull request #362 from Zagrios/feature/update-readme
Feature/update readme
2023-11-29 15:17:24 +01:00
Shidorien e22f692e50 Update README.md 2023-11-29 01:06:26 +01:00
Shidorien bd5edf1aaa Update README.md 2023-11-29 01:01:35 +01:00
Shidorien d5f3145230 Update README.md 2023-11-29 01:00:54 +01:00
Shidorien 8a63be3781 Update README.md 2023-11-29 01:00:16 +01:00
Shidorien 0d37a4c084 Update README.md 2023-11-29 00:48:36 +01:00
Shidorien a4a721c8da Update README.md 2023-11-28 22:01:38 +01:00
Shidorien 72f03d36e5 Update README.md 2023-11-28 21:57:03 +01:00
Shidorien c0e67505e5 Update README.md 2023-11-28 21:32:45 +01:00
Shidorien fa44259229 Update README.md 2023-11-28 21:27:01 +01:00
Shidorien 1e349c0142 Update README.md 2023-11-28 21:22:02 +01:00
MathieuG-P 3a9e77de24 bumb to 1.4.0 2023-11-28 13:31:25 +01:00
MathieuG-P 83b2d30b66 Wrong boolean 2023-11-26 16:23:09 +01:00
MathieuG-P 6e9e60cd08 Fix "Download .NET" translation broken 2023-11-26 16:04:28 +01:00
MathieuG-P bf6e9cc95d Fix break line issues with Chinese translation 2023-11-26 16:00:50 +01:00
MathieuG-P 0a10f9d1d5 Change chinese flag 2023-11-26 15:41:40 +01:00
MathieuG-P 72329b6ae4 Merge pull request #359 from ktKongTong/master
[feature] Chinese i18n support
2023-11-26 15:37:47 +01:00
ktKongTong 5e388b801a i18n chinese support 2023-11-26 00:05:37 +08:00
MathieuG-P 64858a3d2c Merge pull request #358 from Zagrios/bugfix/import-version-progression-was-wrong
[bugfix] Import version progression was wrong if symlinks present in the folder
2023-11-22 00:02:25 +01:00
MathieuG-P c4c77bbd7b [bugfix] Import version progression was wrong if symlinks present in the folder 2023-11-21 23:56:56 +01:00
Shidorien 14fe5073a7 Update README.md 2023-11-20 15:56:05 +01:00
Shidorien 59b5023f07 Update README.md 2023-11-20 15:46:27 +01:00
Shidorien ceceff4937 Update README.md 2023-11-20 14:17:39 +01:00
GaetanGrd 21a6007d22 Update logo file path in README.md 2023-11-20 14:07:06 +01:00
GaetanGrd b1d2e806fb Merge branch 'master' into feature/update-readme 2023-11-20 13:58:51 +01:00
MathieuG-P f2f087e6be update patreons 2023-11-20 11:40:43 +01:00
GaetanGrd d607458924 fix separator 2023-10-12 04:19:59 +02:00
GaetanGrd 86180ced4e fix separator 2023-10-12 04:19:32 +02:00
GaetanGrd ff781be2d5 move roadmap section 2023-10-12 04:19:17 +02:00
GaetanGrd cd03da7a1c add roadmap section 2023-10-12 04:18:42 +02:00
GaetanGrd 9b514339b3 add links 2023-10-12 04:11:13 +02:00
GaetanGrd 22a7333dbc add links 2023-10-12 04:04:22 +02:00
GaetanGrd a03f50eac3 add others sections 2023-10-12 03:51:22 +02:00
GaetanGrd 363816fc3f Add Version management 2023-10-12 03:36:36 +02:00
Gaëtan Gerard 91f2739262 attempted resolution 06 - use YT video on github readme 2023-10-10 21:14:26 +02:00
GaetanGrd 5836a0a7d1 attempted resolution 05 - use YT video on github readme 2023-10-09 20:23:27 +02:00
GaetanGrd 52d973c189 attempted resolution 04 - use YT video on github readme 2023-10-09 20:22:24 +02:00
GaetanGrd c8da0f4a46 attempted resolution 03 - use YT video on github readme 2023-10-09 20:01:24 +02:00
GaetanGrd bf9c12c027 attempted resolution 02 - use YT video on github readme 2023-10-09 19:55:08 +02:00
GaetanGrd bfbf669c09 attempted resolution 01 - use YT video on github readme 2023-10-09 19:51:58 +02:00
GaetanGrd 141d9aaf1d adding "BSManager: Your Beat Saber Assistant" 2023-10-09 19:37:19 +02:00
77 changed files with 4441 additions and 2096 deletions
+509 -175
View File
@@ -9,242 +9,576 @@
*** https://www.markdownguide.org/basic-syntax/#reference-style-links
-->
<!-- TITLE -->
<!--
----------------------------------------
BSManager
----------------------------------------
-->
<div align="center">
<a href="https://github.com/Zagrios/bs-manager">
<img src="resources/readme/icon.svg" alt="Logo" width="250" height="250">
</a>
<br><br>
<h2><b>BSManager</b></h2>
<i>(Beat Saber Manager)</i>
<br><br>
<span>
Download, manage and customize your versions of Beat Saber with a simple click!
</span>
<br>
<span>
<a href="https://github.com/Zagrios/bs-manager/issues/new?assignees=Zagrios&labels=bug&template=-bug--bug-report.md&title=%5BBUG%5D+%3A+">Report Bug</a>
·
<a href="https://github.com/Zagrios/bs-manager/issues/new?assignees=Zagrios&labels=enhancement&template=-feat---feature-request.md&title=%5BFEAT.%5D+%3A+">Request Feature</a>
·
<a href="https://github.com/Zagrios/bs-manager/security/policy">Report a security vulnerability</a>
</span>
<a href="https://github.com/Zagrios/bs-manager">
<img src="resources/readme/SVG/icon.svg" alt="Logo" width="250" height="250">
</a>
<h1><b>BSManager</b></h1>
<p>
Download, manage and customize your versions of <a href="https://beatsaber.com/">Beat Saber</a> with a simple click!
</p>
<p>
<a
href="https://github.com/Zagrios/bs-manager/issues/new?assignees=Zagrios&labels=bug&template=-bug--bug-report.md&title=%5BBUG%5D+%3A+">Report
Bug</a>
·
<a
href="https://github.com/Zagrios/bs-manager/issues/new?assignees=Zagrios&labels=enhancement&template=-feat---feature-request.md&title=%5BFEAT.%5D+%3A+">Request
Feature</a>
·
<a href="https://github.com/Zagrios/bs-manager/security/policy">Report a security vulnerability</a>
</p>
<hr>
</div>
## <!-- BADGES -->
<br>
<div align="center" >
<a href="https://github.com/Zagrios/bs-manager/stargazers"><img src ="https://img.shields.io/github/stars/Zagrios/bs-manager?style=for-the-badge" alt="Stargazers"/></a>
<a href="https://github.com/Zagrios/bs-manager/network/members"><img src ="https://img.shields.io/github/forks/Zagrios/bs-manager?style=for-the-badge" alt="Forks"/></a>
<a href="https://github.com/Zagrios/bs-manager/blob/master/LICENSE"><img src ="https://img.shields.io/github/license/Zagrios/bs-manager?style=for-the-badge" alt="License"/></a>
<a href="https://github.com/Zagrios/bs-manager/graphs/contributors"><img src ="https://img.shields.io/github/contributors/Zagrios/bs-manager?style=for-the-badge" alt="Contributors"/></a>
<a href="https://github.com/Zagrios/bs-manager/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/Zagrios/bs-manager?style=for-the-badge"></a>
<br>
<a href="https://discord.gg/uSqbHVpKdV"><img src ="https://img.shields.io/badge/-DISCORD-5865f2?style=for-the-badge&logo=discord&logoColor=ffffff" alt="discord"/></a>
<a href="https://www.patreon.com/bsmanager"><img src ="https://img.shields.io/badge/-🥰%20Support%20BSM-EC4546?style=for-the-badge" alt="Donation"/></a>
<a href="https://twitter.com/BSManager_"><img src ="https://img.shields.io/badge/-Twitter-F5F8FA?style=for-the-badge&logo=Twitter" alt="Twitter"/></a>
<br>
<!--
----------------------------------------
BADGES
----------------------------------------
-->
<div align="center">
<a href="https://github.com/Zagrios/bs-manager/stargazers"><img
src="https://img.shields.io/github/stars/Zagrios/bs-manager?style=for-the-badge" alt="Stargazers" /></a>
<a href="https://github.com/Zagrios/bs-manager/network/members"><img
src="https://img.shields.io/github/forks/Zagrios/bs-manager?style=for-the-badge" alt="Forks" /></a>
<a href="https://github.com/Zagrios/bs-manager/blob/master/LICENSE"><img
src="https://img.shields.io/github/license/Zagrios/bs-manager?style=for-the-badge" alt="License" /></a>
<a href="https://github.com/Zagrios/bs-manager/graphs/contributors"><img
src="https://img.shields.io/github/contributors/Zagrios/bs-manager?style=for-the-badge" alt="Contributors" /></a>
<a href="https://github.com/Zagrios/bs-manager/issues"><img alt="GitHub issues"
src="https://img.shields.io/github/issues/Zagrios/bs-manager?style=for-the-badge"></a>
<br>
<a href="https://discord.gg/uSqbHVpKdV"><img
src="https://img.shields.io/badge/-DISCORD-5865f2?style=for-the-badge&logo=discord&logoColor=ffffff"
alt="discord" /></a>
<a href="https://www.patreon.com/bsmanager"><img
src="https://img.shields.io/badge/-🥰%20Support%20BSM-EC4546?style=for-the-badge" alt="Donation" /></a>
<a href="https://twitter.com/BSManager_"><img
src="https://img.shields.io/badge/-Twitter-F5F8FA?style=for-the-badge&logo=Twitter" alt="Twitter" /></a>
</div>
<!--
----------------------------------------
TABLE OF CONTENTS
----------------------------------------
-->
<div>
<hr>
<details open>
<summary><b>Table of Contents</b></summary>
<ul>
<li>
<details>
<summary><a href="#bsmanager-your-beat-saber-assistant">BSManager: Your Beat Saber Assistant</a></summary>
<ul>
<li><a href="#what-is-it">What is it?</a></li>
<li><a href="#why-use-it">Why use it?</a></li>
<li><a href="#built-with">Built with</a></li>
<li><a href="#how-to-install">How to install</a></li>
</ul>
</details>
</li>
<li>
<details>
<summary><a href="#version-management">Version Management</a></summary>
<ul>
<li>
<details>
<summary><a href="#downloading-multiple-versions">Downloading multiple versions</a></summary>
<ul>
<li>via Steam account</li>
<li>via Oculus (PCVR) account</li>
</ul>
</details>
</li>
<li><a href="#multi-version-sharing">Multi-version Sharing</a></li>
<li><a href="#importing-an-existing-version-of-beat-saber">Importing an existing version of Beat Saber</a>
</li>
<li><a href="#launch-arguments">Launch arguments</a></li>
<li><a href="#shortcut-creation">Shortcut creation</a></li>
</ul>
</details>
</li>
<li>
<details>
<summary><a href="#download-and-installation">Download and Installation</a></summary>
<ul>
<li><a href="#maps">Maps</a></li>
<li><a href="#playlists">Playlists</a></li>
<li><a href="#mods">Mods</a></li>
<li><a href="#models">Models</a></li>
</ul>
</details>
</li>
<li>
<details>
<summary><a href="#customization">Customization</a></summary>
<ul>
<li><a href="#tool">Tool</a></li>
<li><a href="#beat-saber-instance">Beat Saber Instance</a></li>
</ul>
</details>
</li>
<li>
<details>
<summary><a href="#more-information">More Information</a></summary>
<ul>
<li><a href="#support">Support</a></li>
<li><a href="#credits">Credits</a></li>
<li><a href="#Contributing">Contributing</a></li>
</ul>
</details>
</li>
</ul>
</details>
<div align="right">
[<a href="#readme-bot">Go to bottom</a>]
</div>
</div>
---
<!-- TABLE OF CONTENTS -->
<!--
----------------------------------------
BSMANAGER: YOUR BEAT SABER ASSISTANT
----------------------------------------
-->
<div align="center">
<hr>
<h1><b>BSManager: Your Beat Saber Assistant</b></h1>
</div>
<b>Table of Contents</b>
<ul>
<!--
WHAT IS IT?
----------------------------------------
-->
<div>
<h2>What is it?</h2>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> simplifies your <a href="https://beatsaber.com/">Beat
Saber</a> experience by centralizing the management of mods, maps, and game versions in one place.</p>
</div>
<!--
WHY USE IT?
----------------------------------------
-->
<div>
<h2>Why use it?</h2>
<ul>
<li><strong>Easy</strong>: Manage and switch between different instances of <a href="https://beatsaber.com/">Beat
Saber</a> simply.</li>
<li><strong>Accessibility</strong>: Access a multitude of content with just a few clicks.</li>
<li><strong>Customization</strong>: Adapt <a href="https://github.com/Zagrios/bs-manager">BSManager</a> to your
tastes without technical hassles.</li>
</ul>
<b>Start your enhanced experience with <a href="https://beatsaber.com/">Beat Saber</a> and explore all the features
offered by <a href="https://github.com/Zagrios/bs-manager">BSManager</a>!</b>
</div>
<div align="center">
<br>
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/012b0196-74ef-4ee5-86a4-49e835612f96"/>
</div>
<!--
BUILT WITH
----------------------------------------
-->
<div>
<h2><b>Built With</b></h2>
<ul>
<li>
<a href="#about-the-project">About The Project</a>
<ul>
<li><a href="#built-with">Built With</a></li>
</ul>
<a href="https://electron-react-boilerplate.js.org/"><img
src="https://img.shields.io/badge/-Electron%20React%20Boilerplate-black?style=for-the-badge&logo=Electron"
alt="Electron React Boilerplate"></a>
</li>
<li><a href="#usage">Usage</a></li>
<ul>
<li><a href="#how-to-install">How to install?</a></li>
<li><a href="#manage-versions">Manage Versions</a></li>
<li><a href="#customize-your-versions">Customize your versions</a></li>
<li><a href="#install-mods">Install Mods</a></li>
<li><a href="#install-maps">Install Maps</a></li>
<li><a href="#one-click">One Click</a></li>
<li><a href="#having-problems">Having problems?</a></li>
</ul>
<li><a href="#credits">Credits</a></li>
<li><a href="#contributing">Contributing</a></li>
</ul>
<li>
<a href="https://github.com/SteamRE/DepotDownloader"><img
src="https://img.shields.io/badge/-Depot%20Downloader-2a475e?style=for-the-badge&logo=steam"
alt="Depot Downloader"></a>
</li>
<li>
<a href="https://rxjs.dev/"><img
src="https://img.shields.io/badge/-RxJs-purple?style=for-the-badge&logo=ReactiveX" alt="RxJs"></a>
</li>
<li>
<a href="https://tailwindcss.com/"><img
src="https://img.shields.io/badge/-Tailwind%20CSS-white?style=for-the-badge&logo=Tailwind%20CSS"
alt="TailWind CSS"></a>
</li>
</ul>
</div>
<!--
HOW TO INSTALL
----------------------------------------
-->
<div>
<h2><b>How to install?</b></h2>
<ul>
<li>Download the <a href="https://github.com/Zagrios/bs-manager/releases/latest">latest release</a> from <a
href="https://github.com/Zagrios/bs-manager/releases">Releases</a>.</li>
<li>Execute the installer and <a href="https://github.com/Zagrios/bs-manager">BSManager</a> will start itself.</li>
<li>Once it's done, if you want to download a version, select a version and download it! </li>
<li>From the version page you can choose options, launch the version, and more!</li>
</ul>
</div>
<!-- ABOUT THE PROJECT -->
<div align="center">
<h1> </h1>
<h1><b>About The Project</b></h1>
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/4215384e-eb68-40da-884c-f21df491ef75" />
</div>
<div>
<a href="https://github.com/Zagrios/bs-manager">BSManager</a> was created to unify and improve the two most used Apps in the community (<a href="https://github.com/RiskiVR/BSLegacyLauncher">BS legacy launcher</a> and <a href="https://github.com/Assistant/ModAssistant">Mod Assistant</a>).
<br><br>
<h4><a href="https://github.com/Zagrios/bs-manager">BSManager</a> will allow you to:</h4>
<ul>
<li><b>Manage multiple BeatSaber versions</b>, designed for people who need to play on different versions or have multiple profiles for the same version.</li>
<li><b>Download your maps in the same way</b>, in addition to that, depending on your choice, maps are not version dependent. so you will be able to find your maps whatever version you are using without having to transfer them.</li>
<li><b>Install your mods in one click</b>, just like <a href="https://github.com/Assistant/ModAssistant">Mod Assistant</a>, <a href="https://github.com/Zagrios/bs-manager">BSManager</a> will allow you to install your mods quickly and securely depending on the version you choose.</li>
<li><b>Customize your interface</b>, we know that some of you like to customize your interfaces to the maximum. That's why <a href="https://github.com/Zagrios/bs-manager">BSManager</a> brings you peace of mind on this point, you can change the name of the versions, their color, and you can even change the color of the logo! Of course, a dark theme has been added to protect your eyes at night.</li>
</ul>
</div>
<br>
<!--
----------------------------------------
VERSION MANAGEMENT
----------------------------------------
-->
<div align="center">
<img src="resources/readme/preview.png" alt="preview">
<hr>
<h1><b>Version management</b></h1>
</div>
<br>
<!--BUILT WITH-->
<div>
<h2><b>Built With</b></h2>
<ul>
<li>
<a href="https://electron-react-boilerplate.js.org/"><img src="https://img.shields.io/badge/-Electron%20React%20Boilerplate-black?style=for-the-badge&logo=Electron" alt="Electron React Boilerplate"></a>
</li>
<li>
<a href="https://github.com/SteamRE/DepotDownloader"><img src="https://img.shields.io/badge/-Depot%20Downloader-2a475e?style=for-the-badge&logo=steam" alt="Depot Downloader"></a>
</li>
<li>
<a href="https://rxjs.dev/"><img src="https://img.shields.io/badge/-RxJs-purple?style=for-the-badge&logo=ReactiveX" alt="RxJs"></a>
</li>
<li>
<a href="https://tailwindcss.com/"><img src="https://img.shields.io/badge/-Tailwind%20CSS-white?style=for-the-badge&logo=Tailwind%20CSS" alt="TailWind CSS"></a>
</li>
</ul>
<p>With <a href="https://github.com/Zagrios/bs-manager">BSManager</a>, manage your <a
href="https://beatsaber.com/">Beat Saber</a> versions with ease, allowing the download of new versions and
preserving
existing ones, provided that you own the game on a Steam or Oculus (PC) account.</p>
</div>
<!--
DOWNLOADING MULTIPLE VERSIONS
----------------------------------------
-->
<div>
<h2>Downloading Multiple Versions</h2>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> provides two authentication methods to access your
Steam account, ensuring safe and flexible access to
different game versions:</p>
</div>
<br>
<!--USAGE-->
<div align="center">
<h1> </h1>
<h1><b>Usage</b></h1>
<img src="https://github.com/Zagrios/bs-manager/assets/40648115/09d579de-8b8e-45d3-8829-21a25cc7daf8"/>
</div>
<!--HOW TO INSTALL?-->
<div>
<h2><b>How to install?</b></h2>
<ul>
<li>Download the <a href="https://github.com/Zagrios/bs-manager/releases/latest">latest release</a> from <a href="https://github.com/Zagrios/bs-manager/releases">Releases</a>.</li>
<li>Execute the installer and <a href="../..">BSManager</a> will start itself.</li>
<li>Once its done if you want to download a version, select a version and download it! </li>
<li>From the version page you can choose options, launch the version, and more!</li>
<ul>
<li><strong>via Steam</strong>: Use either your credentials, which will not be stored by <a
href="https://github.com/Zagrios/bs-manager">BSManager</a> or
<a href="https://github.com/SteamRE/DepotDownloader">DepotDownloader</a>, or opt for a quick and secure
authentication via QR with the Steam Guard app.</li>
</ul>
</div>
<br>
<!--MANAGE VERSIONS-->
<div>
<h2><b>Manage Versions</b></h2>
<span>
<a href="https://github.com/Zagrios/bs-manager">BSManager</a> allows you to manage your versions of Beat Saber. It gives you the ability to download any version of Beat Saber as long as you have a Steam account that already owns the game. Using <a href="https://github.com/Zagrios/bs-manager">BSManager</a>, you can easily manage and update your collection of Beat Saber versions.
</span>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213008824-25cfdda3-6350-42dc-aa53-2132b4b8e838.mov
<img src="https://github.com/Zagrios/bs-manager/assets/40648115/26da3a19-a936-4e6b-b79b-a139d7bd55de" />
</div>
<!--CUSTOM UR VERSIONS-->
<div>
<h2><b>Customize your versions</b></h2>
<span>
<a href="https://github.com/Zagrios/bs-manager">BSManager</a> will allow you to completely customize each of your downloaded versions, you can change the color of the icon, choose a name for the version and finally install your mods,maps and other contents according to the Beat Saber version!
</span>
<ul>
<li><strong>via Oculus</strong>: For Oculus users, <a href="https://github.com/Zagrios/bs-manager">BSManager</a>
uses authentication directly via the <a href="https://about.meta.com/fr/">META</a> website
to retrieve the connection token, ensuring reliable and secure access to your account data.</li>
</ul>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213296794-74a1e20b-12dc-44ec-a67f-e25d7010bd3d.mov
<img height=450 src="https://github.com/Zagrios/bs-manager/assets/40648115/1e4a2f98-af16-45aa-821d-0c4e90e1e54b" />
<img height=450 src="https://github.com/Zagrios/bs-manager/assets/40648115/3674e629-542d-4de3-b8db-b248f25126d7" />
</div>
<!--INSTALL MODS-->
<!--
MULTI-VERSION SHARING
----------------------------------------
-->
<div>
<h2><b>Install Mods</b></h2>
<span>
<a href="https://github.com/Zagrios/bs-manager">BSManager</a> allows you to manage Beat Saber mods in a quick and easy way. It uses the <a href="https://beatmods.com/#/">BeatMod API</a> to allow you to install, update or uninstall mods for each version of your collection. So the app can help you manage them efficiently.
</span>
<h2>Multi-Version Sharing</h2>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> facilitates the sharing of your maps, models, and
custom files between different versions of <a
href="https://beatsaber.com/">Beat Saber</a>. Thanks to an intuitive user interface, you can easily share
your files from one version to another, ensuring a consistent and continuous gaming experience across all your
installations.</p>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213296816-bdaafc90-da76-4835-8d83-9ac6a4e1c549.mov
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/ba39aceb-f55f-4e58-8386-51fcfaad4957"/>
</div>
<!--INSTALL MAPS-->
<!--
IMPORTING AN EXISTING VERSION OF BEAT SABER
----------------------------------------
-->
<div>
<h2><b>Install Maps</b></h2>
<span>
In addition to managing mods, <a href="https://github.com/Zagrios/bs-manager">BSManager</a> allows you to manage and organize custom beatmaps existing on <a href="https://beatsaver.com">Beat Saver</a>, a popular site for sharing custom beatmaps for beat Saber. Moreover the app allow you to share your maps across all your versions.
</span>
<h2>Importing an Existing Version of Beat Saber</h2>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> allows easy importing and organizing of your existing
versions of <a href="https://beatsaber.com/">Beat Saber</a>, enabling you to retain
all your previously downloaded or created data while taking advantage of <a
href="https://github.com/Zagrios/bs-manager">BSManager</a>'s management features.</p>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213296838-f775fe83-866d-4764-a7d0-648dbb8ec983.mov
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/cdedb951-d97a-474d-a217-2422be3919f7"/>
</div>
<!--ONE CLICK-->
<!--
LAUNCH ARGUMENTS
----------------------------------------
-->
<div>
<h2><b>One Click</b></h2>
<span>
The "One-Click" feature of <a href="https://github.com/Zagrios/bs-manager">BSManager</a> is an incredibly convenient feature for Beat Saber users. It allows easy and quick installation of models, maps and playlists for all versions of Beat Saber you own.
</span>
<h2>Launch Arguments</h2>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> provides efficient management of <a
href="https://beatsaber.com/">Beat Saber</a> launch arguments, including three predefined ones to
enhance your gaming experience:</p>
<ul>
<li><strong>Oculus Mode</strong>: Launches the game directly in Oculus mode, avoiding the use of STEAM VR.</li>
<li><strong>FPFC Mode</strong>: Enables "FPFC" mode, allowing you to control the game without using a VR
headset.</li>
<li><strong>Debug Mode</strong>: Activates debugging mode, generating Windows log outputs for IPA.</li>
</ul>
<p>You also have the freedom to add your own custom launch arguments by inserting them into "Advanced Launch" and
separating them with a semicolon (;).</p>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213435051-7feb815d-f32b-4135-b095-ef49726a836c.mov
<img src="https://github.com/Zagrios/bs-manager/assets/40648115/1244d49f-20e1-400c-9818-528f05cfadf5" />
</div>
<!--HAVING PROBLEMS?-->
<!--
SHORTCUT CREATION
----------------------------------------
-->
<div>
<h2><b>Having problems?</b></h2>
<span>
See the <a href="https://github.com/Zagrios/bs-manager/issues">open issues</a> to show the list of known issues, from there you can create a new issue for your problem!
</span>
<h2>Shortcut Creation</h2>
<p>Create shortcuts to easily access your different versions of <a href="https://beatsaber.com/">Beat Saber</a> with
<a href="https://github.com/Zagrios/bs-manager">BSManager</a>. After selecting your
version, go to the version settings, click on "Create a Shortcut", and then select your launch options. Thus,
you can quickly and easily launch your preferred version of <a href="https://beatsaber.com/">Beat Saber</a> with the
desired settings.</p>
</div>
<br><br><br>
<div align="center">
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/bfa1e97d-6392-4dec-a1fc-bb05048cf6d2" />
</div>
<!-- Credits -->
<!--
----------------------------------------
DOWNLOAD AND INSTALLATION
----------------------------------------
-->
<div align="center">
<hr>
<h1><b>Download and Installation</b></h1>
</div>
<div>
<h1><b>Credits</b></h1>
<ul>
<li><a href="https://github.com/Zagrios">Zagrios</a> - Founder & Lead Developer</li>
<li><a href="https://github.com/Iluhadesu">Iluhadesu</a> - Project Team & Developpement help</li>
<li><a href="https://github.com/GaetanGrd">GaetanGrd</a> - Project Team & Developpement help</li>
<li><a href="https://github.com/cheddZy">cheddZy</a> - Icon creator</li>
</ul>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> provides centralized and organized management of
beatmaps, mods, and models, integrating download features and sharing between <a href="https://beatsaber.com/">Beat
Saber</a> versions.</p>
</div>
<!-- Contributing -->
<br>
<!--CONTRIBUTING-->
<!--
MAPS
----------------------------------------
-->
<div>
<h1><b>Contributing</b></h1>
<p>
If you'd like to contribute, check out the <a href="https://github.com/Zagrios/bs-manager/blob/master/CONTRIBUTING.md">contributing guide</a>
</p>
<p>Thank you to all the people who already contributed to BSManager!</p>
<div>
<a href="https://github.com/Zagrios/bs-manager/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Zagrios/bs-manager" />
</a>
</div>
<h2>Maps</h2>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> integrates the <a href="https://beatsaver.com">Beat
Saver</a> API to provide you with a comprehensive list of maps downloadable directly from its interface. Moreover,
the OneClick feature allows you to download maps with one click from various sources such as <a
href="https://beatsaver.com">Beat Saver</a>, <a href="https://bsaber.com">BeastSaber</a>, <a
href="https://scoresaber.com">ScoreSaber</a>, and <a href="https://www.beatleader.xyz">Beat Leader</a>. To add
maps, simply select the desired version or the "shared" tab, then click "ADD".</p>
</div>
<br>
<div align="center">
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/3f9f9968-ac55-465e-bc28-17aebfc787ea"/>
</div>
<!--
PLAYLISTS
----------------------------------------
-->
<div>
<h2>Playlists</h2>
<p>Although the playlist management interface is not yet developed, <a
href="https://github.com/Zagrios/bs-manager">BSManager</a> offers a OneClick feature for playlists from <a
href="https://beatsaver.com">Beat Saver</a>.</p>
</div>
<div align="center">
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/733fe6bb-c157-4c47-8a79-f8062380bcc8" />
</div>
<!--
MODS
----------------------------------------
-->
<div>
<h2>Mods</h2>
<p>Manage your mods easily with <a href="https://github.com/Zagrios/bs-manager">BSManager</a>. After downloading a
version, navigate to the "Mods" tab of the selected version to manage and install mods. <a
href="https://github.com/Zagrios/bs-manager">BSManager</a> operates similarly to Mod Assistant and offers the same
mods as this tool.</p>
</div>
<div align="center">
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/ca8f0727-b2dd-41f3-bbea-9bcaf61a89f1"/>
</div>
<!--
MODELS
----------------------------------------
-->
<div>
<h2>Models</h2>
<p>Add and manage models simply via the corresponding tab on the desired version or by going to the "shared" tab. The
<a href="https://modelsaber.com">Model Saber</a> API is integrated to provide easy and direct access to models
available for <a href="https://beatsaber.com/">Beat Saber</a>.</p>
</div>
<div align="center">
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/d983b34b-9f4c-4274-aee4-4c1c03dd90d0"/>
</div>
<!--
----------------------------------------
CUSTOMIZATION
----------------------------------------
-->
<div align="center">
<hr>
<h1><b>Customization</b></h1>
</div>
<div>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> offers various options to customize both the tool
itself and your <a href="https://beatsaber.com/">Beat Saber</a> instances, allowing you to create a user experience
that is uniquely yours.</p>
</div>
<!--
TOOL
----------------------------------------
-->
<div>
<h2>Tool</h2>
<p>Adjust the appearance of <a href="https://github.com/Zagrios/bs-manager">BSManager</a> to your preferences with a
variety of customization options available in the tool's settings:</p>
<ul>
<li><strong>Theme</strong>: Choose between a light or dark theme, or follow the system settings for seamless integration into your work environment.</li>
<li><strong>Color</strong>: Select your preferred primary and secondary colors using hexadecimal codes, allowing you
to customize the visual appearance of the tool to your liking.</li>
</ul>
</div>
<div align="center">
<video src = "https://github.com/Zagrios/bs-manager/assets/40648115/d2c1b0ec-a2f5-41b5-99d5-c4c2cd34cbd4" />
</div>
<!--
BEAT SABER INSTANCE
----------------------------------------
-->
<div>
<h2>Beat Saber Instance</h2>
<p>For each <a href="https://beatsaber.com/">Beat Saber</a> instance, <a
href="https://github.com/Zagrios/bs-manager">BSManager</a> offers customization options accessible via the version
settings and by clicking on "Edit":</p>
<ul>
<li><strong>Name</strong>: Name your instances in a way that distinguishes and identifies them easily when switching
from one to another.</li>
<li><strong>Color</strong>: Customize the appearance of your instances by choosing a specific color for each of
them.</li>
</ul>
</div>
<div align="center">
<video src="https://github.com/Zagrios/bs-manager/assets/40648115/f66a2c99-770e-42ca-9a71-b1806946ad0c" />
</div>
<!--
----------------------------------------
MORE INFORMATION
----------------------------------------
-->
<div align="center">
<hr>
<h1><b>More Information</b></h1>
</div>
<div>
<p><a href="https://github.com/Zagrios/bs-manager">BSManager</a> has an active community and a support team ready to
assist you with any questions or issues you may encounter.</p>
</div>
<!--
SUPPORT
----------------------------------------
-->
<div>
<h2>Support</h2>
<p>For quick and interactive support, it is recommended to join our <a href="https://discord.gg/uSqbHVpKdV">Discord
server</a>. For bugs or more complex issues, you can also submit an <a href="https://github.com/Zagrios/bs-manager/issues">issue on
GitHub</a>.</p>
</div>
<!--
CREDITS
----------------------------------------
-->
<div>
<h2>Credits</h2>
<ul>
<li><a href="https://github.com/Zagrios">Zagrios</a> - Lead Developer & Founder.</li>
<li><a href="https://github.com/Iluhadesu">Iluhadesu</a> - Co-Developer & Co-Founder, Discord Bot Developer.</li>
<li><a href="https://github.com/GaetanGrd">GaetanGrd</a> - Co-Developer & Co-Founder, Documentation Lead.</li>
<li><a href="https://github.com/cheddZy">cheddZy</a> - Icon Creator.</li>
</ul>
</div>
<!--
CONTRIBUTING
----------------------------------------
-->
<div>
<h2>Contributing</h2>
<p>If you'd like to contribute, check out the <a
href="https://github.com/Zagrios/bs-manager/blob/master/CONTRIBUTING.md">contributing guide</a>.</p>
<p>Thank you to all the people who already contributed to <a
href="https://github.com/Zagrios/bs-manager">BSManager</a>!</p>
<div align="center">
<a href="https://github.com/Zagrios/bs-manager/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Zagrios/bs-manager" />
</a>
</div>
</div>
<!--
----------------------------------------
Others
----------------------------------------
-->
<div align="right">
[<a href="#readme-top">Return to top</a>]
[<a href="#readme-top">Return to top</a>]
<hr>
</div>
<h1> </h1>
<a name="readme-bot"></a>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 698 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

+18
View File
@@ -663,5 +663,23 @@
"ReleaseImg": "https://clan.akamai.steamstatic.com/images/32055887/cac079717d62489822af3a6e90679a570842f4ca.png",
"ReleaseDate": "1698678611",
"year": "2023"
},
{
"BSVersion": "1.34.0",
"BSManifest": "3651119791147907495",
"OculusBinaryId": "6373048192794906",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3744239644488431243",
"ReleaseImg": "https://clan.cloudflare.steamstatic.com/images/32055887/1ef505a26d6eb8d7d8c132df54bd57918339cb2c.png",
"ReleaseDate": "1701795528",
"year": "2023"
},
{
"BSVersion": "1.34.2",
"BSManifest": "8045892568861450718",
"OculusBinaryId": "6426757994090592",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3865840827122760836",
"ReleaseImg": "https://clan.akamai.steamstatic.com/images/32055887/ae11d195bbe41a0f244d7b4d055a0ab89f88e5bb.png",
"ReleaseDate": "1702309893",
"year": "2023"
}
]
+70 -23
View File
@@ -1,24 +1,71 @@
[
{"username": "Shidorien"},
{"username": "iPixelGalaxy"},
{"username": "Emyte", "type": "gold"},
{"username": "GoodOldNervy"},
{"username": "Naysy"},
{"username": "Falmil"},
{"username": "K1Lc4m"},
{"username": "Adam"},
{"username": "Cabalia"},
{"username": "Anonymously42", "type": "diamond", "link": "https://www.twitch.tv/anonymously42tv"},
{"username": "En4Yuz"},
{"username": "AndyIsHereBoi", "type": "gold"},
{"username": "grtroadrunner"},
{"username": "Ilnahro"},
{"username": "T3chLog"},
{"username": "Phil", "type": "gold"},
{"username": "Protocrush", "type": "gold"},
{"username": "ServerMensch", "type": "gold"},
{"username": "policepigou"},
{"username": "Karlito", "type": "gold"},
{"username": "Cathery", "type": "gold"},
{"username": ".sharkey"}
]
{
"username": "Shidorien"
},
{
"username": "iPixelGalaxy"
},
{
"username": "Emyte",
"type": "gold"
},
{
"username": "GoodOldNervy"
},
{
"username": "Naysy"
},
{
"username": "Falmil"
},
{
"username": "K1Lc4m"
},
{
"username": "Anonymously42",
"type": "diamond",
"link": "https://www.twitch.tv/anonymously42tv"
},
{
"username": "Burt",
"type": "gold"
},
{
"username": "Ilnahro"
},
{
"username": "Phil",
"type": "gold"
},
{
"username": "Protocrush",
"type": "gold"
},
{
"username": "ServerMensch",
"type": "gold"
},
{
"username": "Karlito",
"type": "gold"
},
{
"username": "Cathery",
"type": "gold"
},
{
"username": ".sharkey"
},
{
"username": "Z3t4"
},
{
"username": "blot455",
"type": "diamond"
},
{
"username": "Lumberjack462",
"type": "diamond",
"link": "https://www.youtube.com/@lumberjack462"
}
]
+28 -14
View File
@@ -156,13 +156,19 @@
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"zh-CN": "简体中文",
"zh-TW": "正體中文",
"ja-JP": "日本語",
"translated": {
"en-EN": "Englisch, Vereinigtes Königreich",
"en-US": "Englisch, USA",
"fr-FR": "Französisch",
"es-ES": "Spanisch",
"de-DE": "Deutsch",
"ru-RU": "Russisch"
"ru-RU": "Russisch",
"zh-CN": "Vereinfachtes Chinesisch",
"zh-TW": "Traditionelles Chinesisch",
"ja-JP": "Japanisch"
}
}
},
@@ -525,10 +531,10 @@
"placeholder": "Geben Sie Ihr Passwort ein",
"max-length-warning": "Das Passwort überschreitet 64 Zeichen! Wenn das Passwort ungültig ist, versuchen Sie nur seine ersten 64 Zeichen einzugeben."
},
"qr":{
"qr": {
"label": "Oder mit einem QR-Code",
"note":{
"use-the":"Anmelden Sie sich über die ",
"note": {
"use-the": "Anmelden Sie sich über die ",
"steam-mobile-app": "Steam-Mobile-App",
"to-connect-with-qr": " per QR-Code an."
}
@@ -541,7 +547,7 @@
"submit": "Anmelden"
}
},
"steam-auth-approve":{
"steam-auth-approve": {
"title": "Warten auf Bestätigung",
"protected-by-mobile-auth": "Konto durch mobile Authentifizierung geschützt.",
"use-steam-app-to-approve": "Verwenden Sie die Steam Mobile-App, um die Verbindung zu bestätigen...",
@@ -678,15 +684,15 @@
"advanced-launch": "Erweiterte Start",
"valid-btn": "Verknüpfung erstellen"
},
"connect-to-meta":{
"connect-to-meta": {
"title": "Mit Meta verbinden",
"body":{
"body": {
"token-needed": "Dein Meta-Verbindungstoken wird benötigt, um Beat Saber herunterzuladen.",
"need-cookie-enabled": "Beim Einloggen in Meta wird ein Anmeldefenster geöffnet und du kannst dann den Anmeldevorgang beginnen. Bitte stelle sicher, dass Cookies akzeptiert werden, sonst könnten wir deinen Token zum Starten des Downloads nicht abrufen.",
"enter-token-manually": "Mein Anmelde-Token manuell eingeben",
"enter-token-manually-tooltip": "Dies ermöglicht es Ihnen, Ihren Anmelde-Token einzugeben, ohne sich über Meta anzumelden."
},
"stay":"Angemeldet bleiben",
"stay": "Angemeldet bleiben",
"connect-to-meta": "Mit Meta verbinden"
},
"original-version-backup-oculus": {
@@ -701,12 +707,20 @@
"understood": "Verstanden"
},
"enter-meta-token": {
"title": "Meta-Token",
"title": "Oculus Token",
"body": {
"need-token": "Um Beat Saber herunterzuladen, ist Ihr Meta-Anmelde-Token erforderlich.",
"how-obtain-token": "Wie erhalte ich mein Meta-Token?",
"input-label": "Meta-Token",
"token-is-invalid": "Das Token ist ungültig."
"info-enter-token": "Um Beat Saber herunterzuladen, ist Ihr Oculus-Anmeldetoken erforderlich.",
"how-obtain-token": "Wie erhalte ich mein Oculus Token?",
"oculus-token": "Oculus Token",
"token-is-invalid": "Das Token ist ungültig.",
"save-my-token": "Mein Token speichern",
"have-token-saved": "Ich habe bereits ein Token gespeichert",
"save-token-info": "Dies wird Ihr Token zur einfacheren Wiederverwendung speichern. Sie müssen ein Passwort erstellen, um Ihr Token zu verschlüsseln und zu speichern. Wenn Sie Ihr Passwort vergessen, müssen Sie nur Ihr Token erneut angeben.",
"password": "Passwort",
"password-too-short": "Passwort zu kurz",
"info-enter-password": "Um Beat Saber herunterzuladen, ist Ihr Oculus-Anmeldetoken erforderlich. Geben Sie das Passwort ein, mit dem Ihr Oculus-Token gespeichert wurde.",
"info-disabled-btn-password": "Der mit dem angegebenen Passwort entschlüsselte Token ist ungültig. Stellen Sie sicher, dass das Passwort dasselbe ist wie das zum Speichern des Tokens verwendete.",
"enter-oculus-token": "Ein Oculus-Token eingeben"
},
"valid-btn": "Validieren"
}
@@ -940,7 +954,7 @@
},
"prevent-for-models-breaks": {
"title": "Gebrochene Modelle",
"desc": "Seit dem Update des Beat Saber-Motors sind Modelle für diese Version nicht mehr funktional."
"desc": "Seit dem Update der Beat Saber Engine sind alle benutzerdefinierten Modellmods defekt und müssen aktualisiert werden. Sie wurden noch nicht aktualisiert."
},
"export-success": {
"title": "Export abgeschlossen 🎉"
+28 -14
View File
@@ -156,13 +156,19 @@
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"zh-CN": "简体中文",
"zh-TW": "正體中文",
"ja-JP": "日本語",
"translated": {
"en-EN": "English, United Kingdom",
"en-US": "English, USA",
"fr-FR": "French",
"es-ES": "Spanish",
"de-DE": "German",
"ru-RU": "Russian"
"ru-RU": "Russian",
"zh-CN": "Chinese (Simplified)",
"zh-TW": "Chinese (Traditional)",
"ja-JP": "Japanese"
}
}
},
@@ -525,10 +531,10 @@
"placeholder": "Enter your password",
"max-length-warning": "The password exceeds 64 characters! If the password is invalid, try to enter only its first 64 characters."
},
"qr":{
"qr": {
"label": "Or with a QR code",
"note":{
"use-the":"Use the ",
"note": {
"use-the": "Use the ",
"steam-mobile-app": "Steam Mobile App",
"to-connect-with-qr": "to sign in via QR code."
}
@@ -541,7 +547,7 @@
"submit": "Sign in"
}
},
"steam-auth-approve":{
"steam-auth-approve": {
"title": "Waiting for confirmation",
"protected-by-mobile-auth": "Account protected by mobile authenticator.",
"use-steam-app-to-approve": "Use the Steam mobile app to confirm the connection...",
@@ -678,15 +684,15 @@
"advanced-launch": "Advanced launch",
"valid-btn": "Create the shortcut"
},
"connect-to-meta":{
"connect-to-meta": {
"title": "Connect to Meta",
"body":{
"body": {
"token-needed": "Your Meta connection token is required to download Beat Saber.",
"need-cookie-enabled": "By logging into Meta, a login window will open and you can then start the login process. Please ensure to accept cookies, otherwise, we might not be able to retrieve your token to start the download.",
"enter-token-manually": "Enter my login token manually",
"enter-token-manually-tooltip": "This will allow you to enter your login token without going through Meta login."
},
"stay":"Remember me",
"stay": "Remember me",
"connect-to-meta": "Connect to Meta"
},
"original-version-backup-oculus": {
@@ -701,12 +707,20 @@
"understood": "Understood"
},
"enter-meta-token": {
"title": "Meta Token",
"title": "Oculus Token",
"body": {
"need-token": "To download Beat Saber, your Meta login token is required.",
"how-obtain-token": "How do I obtain my Meta Token?",
"input-label": "Meta Token",
"token-is-invalid": "The Token is invalid."
"info-enter-token": "To download Beat Saber, your Oculus login token is required.",
"how-obtain-token": "How do I obtain my Oculus Token?",
"oculus-token": "Oculus Token",
"token-is-invalid": "The Token is invalid.",
"save-my-token": "Save my token",
"have-token-saved": "I already have a token saved",
"save-token-info": "This will save your token for easier reuse. You will need to create a password to encrypt your token for storage purposes. If you ever forget your password, you just need to provide your token again.",
"password": "Password",
"password-too-short": "Password too short",
"info-enter-password": "To download Beat Saber, your Oculus login token is required. Enter the password used to save your Oculus token.",
"info-disabled-btn-password": "The token decrypted with the provided password is invalid. Make sure the password is the same as the one used to save the token.",
"enter-oculus-token": "Enter an Oculus token"
},
"valid-btn": "Validate"
}
@@ -940,7 +954,7 @@
},
"prevent-for-models-breaks": {
"title": "Broken models",
"desc": "Since the Beat Saber engine update, models are no longer functional for this version."
"desc": "Since the Beat Saber engine update, all custom model mods have broken and need to be updated. They have not been updated yet."
},
"export-success": {
"title": "Export completed 🎉"
+28 -14
View File
@@ -155,13 +155,19 @@
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"zh-CN": "简体中文",
"zh-TW": "正體中文",
"ja-JP": "日本語",
"translated": {
"en-EN": "Inglés, Reino Unido",
"en-US": "Inglés, Estados Unidos",
"fr-FR": "Francés",
"es-ES": "Español",
"de-DE": "Alemán",
"ru-RU": "Ruso"
"ru-RU": "Ruso",
"zh-CN": "Chino simplificado",
"zh-TW": "Chino tradicional",
"ja-JP": "Japonés"
}
}
},
@@ -524,10 +530,10 @@
"placeholder": "Introduce tu contraseña",
"max-length-warning": "¡La contraseña supera los 64 caracteres! Si la contraseña es inválida, intenta ingresar solo sus primeros 64 caracteres."
},
"qr":{
"qr": {
"label": "O con un código QR",
"note":{
"use-the":"Usa la ",
"note": {
"use-the": "Usa la ",
"steam-mobile-app": "aplicación Steam Mobile",
"to-connect-with-qr": "para conectarte con un código QR."
}
@@ -540,7 +546,7 @@
"submit": "Iniciar sesión"
}
},
"steam-auth-approve":{
"steam-auth-approve": {
"title": "Esperando confirmación",
"protected-by-mobile-auth": "Cuenta protegida por el autenticador móvil.",
"use-steam-app-to-approve": "Use la aplicación móvil de Steam para confirmar la conexión...",
@@ -677,15 +683,15 @@
"advanced-launch": "Lanzamiento avanzado",
"valid-btn": "Crear el atajo"
},
"connect-to-meta":{
"connect-to-meta": {
"title": "Conexión a Meta",
"body":{
"body": {
"token-needed": "Tu token de conexión a Meta es necesario para descargar Beat Saber.",
"need-cookie-enabled": "Al conectarte a Meta, se abrirá una ventana de inicio de sesión y entonces podrás empezar el proceso de conexión. Asegúrate de aceptar las cookies, de lo contrario, podríamos no poder recuperar tu token para iniciar la descarga.",
"enter-token-manually": "Ingresar mi token de inicio de sesión manualmente",
"enter-token-manually-tooltip": "Esto te permitirá ingresar tu token de inicio de sesión sin pasar por el inicio de sesión de Meta."
},
"stay":"Recuérdame",
"stay": "Recuérdame",
"connect-to-meta": "Conectarse a Meta"
},
"original-version-backup-oculus": {
@@ -700,12 +706,20 @@
"understood": "Entendido"
},
"enter-meta-token": {
"title": "Token de Meta",
"title": "Token de Oculus",
"body": {
"need-token": "Para descargar Beat Saber, se requiere su token de inicio de sesión de Meta.",
"how-obtain-token": "¿Cómo obtengo mi Token de Meta?",
"input-label": "Token de Meta",
"token-is-invalid": "El Token es inválido."
"info-enter-token": "Para descargar Beat Saber, se requiere tu token de inicio de sesión de Oculus.",
"how-obtain-token": "¿Cómo obtengo mi Token de Oculus?",
"oculus-token": "Token de Oculus",
"token-is-invalid": "El token es inválido.",
"save-my-token": "Guardar mi token",
"have-token-saved": "Ya tengo un token guardado",
"save-token-info": "Esto guardará tu token para reutilizarlo más fácilmente. Necesitarás crear una contraseña para encriptar tu token para su almacenamiento. Si alguna vez olvidas tu contraseña, solo necesitas proporcionar tu token nuevamente.",
"password": "Contraseña",
"password-too-short": "Contraseña demasiado corta",
"info-enter-password": "Para descargar Beat Saber, se requiere tu token de inicio de sesión de Oculus. Introduce la contraseña utilizada para guardar tu token de Oculus.",
"info-disabled-btn-password": "El token descifrado con la contraseña proporcionada es inválido. Asegúrate de que la contraseña sea la misma que la utilizada para guardar el token.",
"enter-oculus-token": "Introducir un token de Oculus"
},
"valid-btn": "Validar"
}
@@ -939,7 +953,7 @@
},
"prevent-for-models-breaks": {
"title": "Modelos rotos",
"desc": "Desde la actualización del motor de Beat Saber, los modelos ya no son funcionales para esta versión."
"desc": "Desde la actualización del motor de Beat Saber, todos los mods de modelos personalizados se han roto y necesitan ser actualizados. Todavía no han sido actualizados."
},
"export-success": {
"title": "Exportación completada 🎉"
+28 -14
View File
@@ -155,13 +155,19 @@
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"zh-CN": "简体中文",
"zh-TW": "正體中文",
"ja-JP": "日本語",
"translated": {
"en-EN": "Anglais, Royaume-Uni",
"en-US": "Anglais, États-Unis",
"fr-FR": "Français",
"es-ES": "Espagnol",
"de-DE": "Allemand",
"ru-RU": "Russe"
"ru-RU": "Russe",
"zh-CN": "Chinois simplifié",
"zh-TW": "Chinois traditionnel",
"ja-JP": "Japonais"
}
}
},
@@ -521,10 +527,10 @@
"placeholder": "Entre ton mot de passe",
"max-length-warning": "Le mot de passe dépasse 64 caractères ! Si le mot de passe est invalide, tente d'entrer seulement ses 64 premiers caractères."
},
"qr":{
"qr": {
"label": "Ou avec un QR code",
"note":{
"use-the":"Utilisez l'",
"note": {
"use-the": "Utilisez l'",
"steam-mobile-app": "application mobile Steam",
"to-connect-with-qr": "pour vous connecter avec un QR code."
}
@@ -537,7 +543,7 @@
"submit": "Se connecter"
}
},
"steam-auth-approve":{
"steam-auth-approve": {
"title": "Attente de confirmation",
"protected-by-mobile-auth": "Compte protégé par l'authentificateur mobile.",
"use-steam-app-to-approve": "Utilisez l'application mobile Steam pour confirmer la connexion...",
@@ -674,15 +680,15 @@
"advanced-launch": "Lancement avancé",
"valid-btn": "Créer le raccourci"
},
"connect-to-meta":{
"connect-to-meta": {
"title": "Connexion à Meta",
"body":{
"body": {
"token-needed": "Votre token de connexion à Meta est nécessaire pour télécharger Beat Saber.",
"need-cookie-enabled": "En vous connectant à Meta, une fenêtre de connexion s'ouvrira et vous pourrez alors débuter le processus de connexion. Veillez à bien accepter les cookies sinon quoi, il se pourrait que l'on n'arrive pas à récupérer votre token pour démarrer le téléchargement.",
"enter-token-manually": "Entrer mon token de connexion manuellement",
"enter-token-manually-tooltip": "Cela vous permettra d'entrer votre token de connexion sans passer par la connexion Meta."
},
"stay":"Se souvenir de moi",
"stay": "Se souvenir de moi",
"connect-to-meta": "Se connecter à Meta"
},
"original-version-backup-oculus": {
@@ -697,12 +703,20 @@
"understood": "J'ai compris"
},
"enter-meta-token": {
"title": "Token Meta",
"title": "Token Oculus",
"body": {
"need-token": "Pour télécharger Beat Saber, votre token de connexion à Meta est nécessaire.",
"how-obtain-token": "Comment obtenir mon Token Meta ?",
"input-label": "Token Meta",
"token-is-invalid": "Le Token est invalide."
"info-enter-token": "Pour télécharger Beat Saber, votre token de connexion à Oculus est nécessaire.",
"how-obtain-token": "Comment obtenir mon Token Oculus ?",
"oculus-token": "Token Oculus",
"token-is-invalid": "Le Token est invalide.",
"save-my-token": "Sauvegarder mon token",
"have-token-saved": "J'ai déjà un token sauvegardé",
"save-token-info": "Ceci enregistrera votre token pour le réutiliser plus facilement. Vous devrez créer un mot de passe pour crypter votre token à des fins de stockage. Si jamais vous oubliez votre mot de passe, il vous suffit de fournir à nouveau votre token.",
"password": "Mot de passe",
"password-too-short": "Mot de passe trop court",
"info-enter-password": "Pour télécharger Beat Saber, votre token de connexion à Oculus est nécessaire. Entrez le mot de passe utilisé pour sauvegarder votre token Oculus.",
"info-disabled-btn-password": "Le token déchiffré à l'aide du mot de passe fourni est invalide. Assurez-vous que le mot de passe est le même que celui utilisé pour sauvegarder le token.",
"enter-oculus-token": "Entrer un token Oculus"
},
"valid-btn": "Valider"
}
@@ -936,7 +950,7 @@
},
"prevent-for-models-breaks": {
"title": "Modèles cassés",
"desc": "Depuis la mise à jour du moteur de Beat Saber, les modèles ne sont plus fonctionnels pour cette version."
"desc": "Depuis la mise à jour du moteur Beat Saber, tous les mods de modèles personnalisés ne sont plus fonctionnels et doivent être mis à jour. Ils n'ont pas encore été mis à jour."
},
"export-success": {
"title": "Export terminé 🎉"
+995
View File
@@ -0,0 +1,995 @@
{
"misc": {
"download": "ダウンロード",
"add": "追加 ",
"verify": "認証済み",
"launch": "起動",
"mods": "Mod",
"maps": "マップ",
"playlists": "プレイリスト",
"models": "モデル",
"cancel": "キャンセル",
"delete": "削除",
"accept": "同意する",
"refuse": "拒否する",
"apply": "適用",
"copy": "コピー",
"copied": "コピー済み!"
},
"nav-bar": {
"add-version": "バージョンを追加",
"settings": "設定",
"shared": {
"text": "共有",
"tooltip": "共有コンテンツ"
}
},
"pages": {
"shared-maps": {
"title": "共有マップ"
},
"version-viewer": {
"launch-mods": {
"oculus": "Oculusモード",
"oculus-description": "Steam経由でBeat Saberを使用している場合、SteamVRをバイパスしてOculusのVRコンポーザーを使用できるため、パフォーマンスが向上する可能性があります。これはOculusヘッドセットを使用するために必要なものではありません。",
"desktop": "FPFCモード",
"desktop-description": "ファーストパーソン・フライング・コントローラー・モードでは、WASDとマウスを使ってゲーム内のメニューを操作できます。ヘッドセットを装着する必要がないので、テストがより簡単になります!",
"debug": "デバックモード",
"debug-description": "IPAの出力ログウィンドウを有効にします。これはMODのデバッグコンソールを表示します。",
"advanced-launch": {
"button": "高度な起動",
"placeholder": "追加引数 例:--revert; --nowait"
}
},
"maps": {
"title": "共有マップ",
"search-bar": {
"search-placeholder": "マップを検索",
"filters-btn": "絞り込み",
"dropdown": {
"export-maps": "マップをエクスポート",
"delete-maps": "マップを削除"
}
},
"tabs": {
"maps": {
"actions": {
"add-maps": {
"text": "追加"
},
"link-maps": {
"tooltips": {
"link": "マップリンク",
"unlink": "マップリンク解除"
}
}
},
"empty-maps": {
"text": "マップがありません",
"button": "マップをダウンロードする"
}
}
}
},
"mods": {
"loading-mods": "Modを読み込み中...",
"no-internet": "インターネット接続がありません!",
"mods-not-available": "このバージョンで使用できるMODはまだありません。",
"buttons": {
"more-infos": "詳細情報",
"install-or-update": "インストールとアップデート"
},
"mods-grid": {
"header-bar": {
"name": "名前",
"installed": "インストール済み",
"latest": "最新",
"description": "說明",
"dropdown": {
"uninstall-all": "全てアンインストールする"
}
}
}
},
"dropdown": {
"open-folder": "フォルダーを開く",
"verify-files": "ファイルの検証",
"clone": "クローン",
"edit": "編集",
"uninstall": "アンインストール",
"create-shortcut": "ショートカットを作成",
"shared-folders": "共有フォルダー",
"restore-oculus-folder": "フォルダーの復元"
}
},
"available-versions": {
"title": "バージョンを選択",
"steam-release": "リリースページ",
"dropdown": {
"refresh": "バージョンの更新",
"import-version": "バージョンをインポート"
},
"recommended": "おすすめ",
"recommended-tooltip": "最もModがあるバージョン"
},
"settings": {
"steam-and-oculus": {
"title": "Steam & Oculus",
"description": "ログアウトすると、次のBeat Saberダウンロード時にアカウントを切り替えることができます。",
"logout": "ログアウト",
"download-platform": {
"title": "デフォルトプラットフォーム",
"desc": "Beat Saberのダウンロードに使用するデフォルトのプラットフォームを選択します。",
"always-ask": "常に尋ねる"
}
},
"appearance": {
"title": "外観",
"description": "BSManagerの2つのメインカラーを選択",
"reset": "リセット",
"sub-title": "テーマ",
"themes": {
"dark": "ダーク",
"light": "ライト",
"os": "コンピューターと同期する"
}
},
"installation-folder": {
"title": "インストールフォルダー",
"description": "BeatSaberのバージョンとその他の今後の機能を入れるフォルダを変更します。",
"choose-folder": "フォルダーを選択"
},
"additional-content": {
"title": "追加コンテンツ",
"description": "Beat Saberをカスタマイズできる追加コンテンツ!",
"deep-links": {
"sub-title": "OneClickインストール"
}
},
"language": {
"title": "言語",
"description": "言語を選択",
"languages": {
"en-EN": "English, UK",
"en-US": "English, US",
"fr-FR": "Français",
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"zh-CN": "简体中文",
"zh-TW": "正體中文",
"ja-JP": "日本語",
"translated": {
"en-EN": "イギリス英語",
"en-US": "アメリカ英語",
"fr-FR": "フランス語",
"es-ES": "スペイン語",
"de-DE": "ドイツ語",
"ru-RU": "ロシア語",
"zh-CN": "簡体字中国",
"zh-TW": "繁体字中国",
"ja-JP": "日本語"
}
}
},
"patreon": {
"title": "BSManagerをサポートする 💖",
"description": "プロジェクトをサポートし、BSManagerの継続的な応援にご協力ください!",
"buttons": {
"support": "BSManagerをサポート 🥰",
"supporters": "サポーターの皆様 👀"
},
"view": {
"no-supporters": "サポーターはまだいません...",
"sponsors": "スポンサー",
"supporters": "サポーターの皆様"
}
},
"discord": {
"description": "BSManagerコミュニティーのソーシャルメディアに参加してください"
},
"contribution": {
"description": "BSManagerを改善するために、新機能を提案したり、バグを報告してください!",
"buttons": {
"request-features": "新機能を提案",
"report-bug": "バグを報告",
"open-logs": "ログを表示"
}
}
}
},
"notifications": {
"types": {
"error": "🚨 エラー",
"warning": "⚠️ 警告",
"success": "🎉 成功"
},
"common": {
"msg": {
"error-occurred": "エラーが発生しました"
}
},
"shared": {
"errors": {
"titles": {
"operation-running": "稼働中",
"no-internet": "インターネット接続がありません"
},
"msg": {
"operation-running": "現在の処理が終了するのを待ってから、もう一度試してください。",
"no-internet": "インターネット接続を確認し、もう一度お試しください。"
}
}
},
"bs-download": {
"success": {
"titles": {
"download-success": "ダウンロード完了",
"verification-finished": "検証完了"
}
},
"steam-download": {
"warnings": {
"msg": {
"ManifestChecksum": "以前にダウンロードしたマニフェストと新しいマニフェストが一致しないようです 🤔",
"ConnectionTimeout": "インターネット接続が不安定なようです 🥶",
"ConnectionLost": "接続が切られました。もう一度お試しください...",
"ConnectionError": "Steamに接続できません。もう一度お試しください...",
"Unknown": "何か変なことが起きたようだ。🤔 おそらく接続が不安定でしょう。"
}
},
"errors": {
"titles": {
"dotnet-required": ".NET 6が必要です!"
},
"msg": {
"401": "SteamがBeat Saberのダウンロードを許可してくれないようだ。😢",
"404": "Steamサーバーに接続できません。",
"Password": "パスワードが不正です。",
"InvalidCredentials": "無効なログイン認証情報、許可されていない接続、またはログイン試行回数が多すぎます。",
"NoManifest": "マニフェストは見つかりませんでした",
"DirectoryCreate": "必要なフォルダをインストールできません。",
"NotAvailableApp": "お持ちでないのにBeat Saberをダウンロードしようとしていませんか 🤣",
"DepotNotFound": "Beat Saberがダウンロードできませんでした 😥 もう一度お試しください 😕",
"NotCompleted": "ダウンロードができませんでした。(´・ω・`)",
"InvalidManifest": "Beat Saberがダウンロードできませんでした 😥 もう一度お試しください 😕",
"NoValidKey": "Beat Saberがダウンロードできませんでした 😥 もう一度お試しください 😕",
"NoManifestCode": "Beat Saberがダウンロードできませんでした 😥 もう一度お試しください 😕",
"Unknown": "不明なエラーが発生しました (´・ω・`)",
"NoServer": "Steamサーバーに接続できません。",
"NotAllowed": "どうやらBeat Saberのダウンロードは許可されていないようだ。🥱",
"ConnectionTimeout": "Steamに接続できません 😕",
"SteamLib": "このエラーが発生した場合は、ログを添えてGitHubにバグを報告してください。",
"ConnectionError": "10回試してもSteamに接続できませんでした 🤯",
"LicenceError": "ライセンスリストを取得できません。",
"RateLimitExceeded": "何度も試しているのでしばらくたって、もう一度お試しください。",
"TokenRejected": "ログイントークンが拒否されました 😕 もう一度お試しください。",
"AccessDenied": "Steamへのアクセスが拒否されました。",
"dotnet-required": "Beat Saberをダウンロードするには、.NET 6 Runtimeがインストールされている必要があります。下のボタンをクリックしてダウンロードしてください。"
},
"actions": {
"download-dotnet": ".NET 6をダウンロード"
}
}
},
"oculus-download": {
"errors": {
"msg": {
"DOWNLOAD_MANIFEST_FAILED": "このバージョンのマニフェストをダウンロードできません。ログイントークンが無効な可能性があります。",
"MANIFEST_FILE_NOT_FOUND": "このバージョンのマニフェストが見つかりません。",
"PARSE_MANIFEST_FILE_FAILED": "マニフェストの読み取り中にエラーが発生しました。",
"ALREADY_DOWNLOADING": "バージョンはすでにダウンロードされています。",
"UNABLE_TO_GET_MANIFEST": "ダウンロードに必要なマニフェストを取得できません。",
"VERIFY_INTEGRITY_FAILED": "ファイルの検証中にエラーが発生しました。",
"SOME_FILES_FAILED_TO_DOWNLOAD": "一部のファイルのダウンロードに失敗しました。",
"OCULUS_LOGIN_TIMED_OUT": "ログイントークンの取得に時間がかかりすぎました。",
"OCULUS_LOGIN_WINDOW_CLOSED_BY_USER": "メタ・ログイン・ウィンドウが閉じられた。",
"NO_META_AUTH_TOKEN": "ダウンロードに必要な Meta ログイン トークンを取得できません。",
"UNKNOWN_ERROR": "不明なエラーが発生しました。"
}
}
}
},
"bs-import-version": {
"success": {
"start-import": {
"title": "インポート中 👌",
"desc": "設定によっては、インポートに数分かかる場合があります。"
},
"imported": {
"title": "インポート完了 🎉"
}
},
"errors": {
"import-error": {
"desc": "選択したフォルダがBeat Saberのインストールフォルダであることを確認してください。"
}
}
},
"settings": {
"move-folder": {
"success": {
"titles": {
"transfer-started": "転送中",
"transfer-finished": "転送完了"
},
"descs": {
"transfer-started": "転送を開始しました。設定によっては数分かかる場合があります。"
}
},
"errors": {
"titles": {
"transfer-failed": "転送失敗 😕"
},
"descs": {
"COPY_TO_SUBPATH": "コピー先フォルダーは、コピー元フォルダーの下のフォルダーにはできません。",
"restore-linked-folders": "共有フォルダのリストア中にエラーが発生しました。バージョンページの「共有フォルダ」メニューから手動で復元できます。"
}
}
},
"steam": {
"success": {
"titles": {
"logout": "Steamから切断されました。"
}
}
},
"additional-content": {
"deep-link": {
"select-all": "すべて選択",
"activation": {
"success": {
"title": "OneClickが有効になりました!",
"description": "OneClickでのインストールが有効になりました。"
},
"error": {
"description": "OneClickのインストールを有効にできません。"
}
},
"deactivation": {
"success": {
"title": "OneClickが無効になりました!",
"description": "OneClickでのインストールは無効になります。"
},
"error": {
"description": "不明なエラーが発生しました。"
}
},
"check-all-enabled": {
"title": "OneClickが無効",
"description": "1つ以上のOneClickインストールが無効になっています。設定から有効にしてください。",
"actions": {
"settings": "設定に移動",
"not-remind": "二度と表示しないで"
}
}
}
}
},
"bs-launch": {
"success": {
"titles": {
"BS_LAUNCHING": "起動中...🚀",
"STEAM_LAUNCHING": "Steamの起動を確認しました!"
},
"msg": {
"BS_LAUNCHING": "ウォームアップを忘れずに 😉",
"STEAM_LAUNCHING": "Beat SaberはSteamの起動後に自動的に起動します。"
}
},
"errors": {
"titles": {
"UNKNOWN_ERROR": "起動不可",
"STEAM_NOT_RUNNING": "Steamが起動していません",
"OCULUS_NOT_RUNNING": "Oculusが起動していません",
"BS_ALREADY_RUNNING": "Beat Saberはすでに起動しています",
"EXE_NOT_FINDED": "ファイルが見つかりません",
"EXIT": "緊急停止",
"OCULUS_LIB_NOT_FOUND": "Oculusライブラリが見つかりません"
},
"msg": {
"UNKNOWN_ERROR": "不明なエラーが発生しました。",
"STEAM_NOT_RUNNING": "BeatSaberを起動するには、Steamが起動している必要があります。",
"OCULUS_NOT_RUNNING": "BeatSaberを起動するには、Oculusが起動している必要があります。",
"BS_ALREADY_RUNNING": "再度起動する前にBeatSaberを閉じてください。",
"EXE_NOT_FINDED": "いくつかのファイルが見つからないようです。",
"EXIT": "BeatSaberが緊急停止したため、ファイルをチェックします。",
"OCULUS_LIB_NOT_FOUND": "Oculusアプリケーションが正しくインストールしていることと、Oculusライブラリが正しく定義されていることを確認してください。"
},
"actions": {
"STEAM_NOT_RUNNING": "Steamを起動"
}
}
},
"steam": {
"steam-launching": {
"title": "Steamを起動!",
"description": "Beat SaberはSteamの起動後に自動的に起動します。"
}
},
"custom-version": {
"errors": {
"titles": {
"CantEditSteam": "編集不可",
"CantRename": "改名不可能",
"VersionAlreadExist": "このバージョンは既に存在しています!",
"CantClone": "クローン作成不可"
},
"msg": {
"CantEditSteam": "Steam版は編集できませんがクローンを作ることは可能です。"
}
},
"success": {
"titles": {
"CloningFinished": "クローンが完了しました 🎉"
}
}
},
"mods": {
"install-mods": {
"titles": {
"success": "Modをインストールしました 🎉",
"warning": "Modをインストールしました 🤔"
},
"msg": {
"success": "すべてのMODがインストールした。",
"warning": "1つ以上のMODがインストールできませんでした。",
"errors": {
"no-mods": "インストールするMODがありません。",
"cannot-install-bsipa": "BSIPAをインストールすることが出来ませんでした 😨"
}
}
},
"uninstall-mod": {
"titles": {
"success": "Modのアンインストール完了 🎉"
},
"msg": {
"errors": {
"no-mods": "Modはインストールされていません 😑"
}
}
},
"uninstall-all-mods": {
"titles": {
"success": "Modのアンインストール完了 🎉"
},
"msg": {
"success": "すべてのModをアンインストールしました。",
"errors": {
"no-mods": "このバージョンのModはインストールされていません 😑"
}
}
}
},
"maps": {
"one-click-install": {
"success": "マップのインストール完了",
"error": "マップのインストール中にエラーが発生しました"
}
},
"playlists": {
"one-click-install": {
"success": "プレイリストのインストール完了",
"error": "プレイリストのインストール中にエラーが発生しました。"
}
},
"models": {
"one-click-install": {
"success": "モデルのインストール完了",
"error": "モデルのインストール中にエラーが発生しました。"
}
},
"shared-folder": {
"info": {
"userdata-backup-created": {
"title": "バックアップを作成しました",
"msg": "'UserData'フォルダを共有するとエラーが発生する可能性があります。問題が発生した場合は、フォルダをリンク解除してバックアップを復元してください。"
}
}
},
"create-launch-shortcut": {
"success": {
"title": "ショートカットを作成しました",
"msg": "デスクトップにショートカットを作成されました。"
},
"error": {
"msg": "ショートカットの作成中にエラーが発生しました。"
}
}
},
"modals": {
"misc": {
"remember-my-choice": "この選択を記憶する"
},
"choose-store": {
"title": "どのプラットフォーム?",
"body": "Beat Saberをダウンロードするプラットフォームを選択してください。",
"set-in-settings": "設定からデフォルトのプラットフォームを設定する"
},
"guard": {
"title": "Steamガード",
"inputs": {
"guard-code": {
"label": "ガードコード",
"placeholder": "ガードコードを入力"
}
},
"buttons": {
"submit": "ログイン"
}
},
"steam-login": {
"title": "Steamにログイン",
"inputs": {
"username": {
"label": "アカウント名でサインイン",
"placeholder": "アカウント名を入力"
},
"password": {
"label": "パスワード",
"placeholder": "パスワードを入力",
"max-length-warning": "パスワードが64文字を超えています!最初の64文字だけを入力してみてください。"
},
"qr": {
"label": "もしくはQRコード",
"note": {
"use-the": "",
"steam-mobile-app": "Steam Mobile App",
"to-connect-with-qr": "でQRコードからサインインする。"
}
},
"stay": "記憶する"
},
"why-credentials": "なぜアカウントが必要なのですか?",
"need-help-to-connect": "自分のアカウントにアクセスする方法を教えてほしい!",
"buttons": {
"submit": "サインイン"
}
},
"steam-auth-approve": {
"title": "確認待ち",
"protected-by-mobile-auth": "モバイル認証で保護されたアカウント。",
"use-steam-app-to-approve": "Steamモバイルアプリを使用して、接続を確認してください...",
"not-access-to-steam-app": "Steamモバイルアプリにアクセスできません。"
},
"steam-credentials": {
"title": "Steamアカウント情報",
"p-1": "なぜなら、Steamはダウンロードを許可するために、あなたがゲームを支払ったことを確認する必要があるからです。アカウント情報は保存されず、直接DepotDownloaderに渡されます。アカウント情報を入力したくない場合は、このチュートリアルに従うことができます:",
"p-2": "右上の歯車アイコンをクリックし、\"バージョンをインポート\"を選択し、beat saberがダウンロードされたフォルダを選択します。"
},
"bs-import-version": {
"title": "バージョンをインポート",
"description": "BSManagerで使用するBeat Saberのバージョンをインポートします。選択したBeat SaberのインストールフォルダをBSManager versionsフォルダにコピーします。",
"oculus-version": "Oculusバージョン",
"oculus-version-tooltip": "Oculusバージョンかどうかを確認する",
"buttons": {
"submit": "バージョンをインポートする"
}
},
"bs-uninstall": {
"title": "アンインストール",
"description": "本当にバージョン{version}のBeat Saberをアンインストールしますか?プレイするには再度ダウンロードする必要があります。",
"buttons": {
"submit": "アンインストール"
}
},
"install-folder": {
"title": "インストールフォルダー",
"description": "デフォルトのインストールフォルダを変更すると、インストールされているすべてのデータが新しいフォルダに移動します。",
"buttons": {
"submit": "フォルダーを選択"
}
},
"edit-version": {
"title": "名前を変更",
"buttons": {
"submit": "保存"
}
},
"clone-version": {
"title": "バージョンをクローン",
"description": "バージョンのクローンを作成することで、ビートセイバーの追加コンテンツを2つのバージョンに分けることができます。",
"inputs": {
"name": {
"label": "名前",
"placeholder": "バージョンの名前"
},
"color": {
"label": "カラー"
}
},
"buttons": {
"submit": "クローン"
}
},
"uninstall-mod": {
"title": "アンインストール",
"description": "本当にこの{mod}をアンインストールしますか? インストールされている他のMODの誤作動を引き起こす可能性があります。",
"description-bsipa": "本当にBSIPAをアンインストールしますか?その後、すべてのインストールされたMODは動作しなくなります。"
},
"uninstall-all-mods": {
"title": "Modのアンインストール",
"description": "バージョン{version}のMODをすべてアンインストールしてもよろしいですか?この操作は元に戻せません。"
},
"maps-actions": {
"delete-maps": {
"title": {
"single": "このマップを削除しますか?",
"multiple": "いくつかのマップを削除しますか?"
},
"desc": {
"single": "本当にマップ{name}を削除しますか?",
"multiple": "本当に{nb}個のマップを削除しますか?"
},
"info": {
"desc": {
"single": "このマップは共有マップの一部です。",
"multiple": "これらのマップは共有マップの一部です。"
},
"title": {
"single": "このマップは、共有マップを使用しているバージョンからも削除されます。",
"multiple": "これらのマップは、共有マップを使用しているバージョンからも削除されます。"
}
}
},
"link-maps": {
"title": "マップをリンク",
"desc": "マップをリンクすると、この機能が有効になっているすべてのバージョン間でマップを共有できます。リンクされると、このバージョンは共有マップの恩恵を受けることができます。",
"info": "マップの追加と削除も共有されます。",
"keep-maps": {
"label": "マップを保持",
"title": "マップを保持すると現在のバージョンのすべてのマップを共有マップフォルダーにコピーします。有効していない場合はこのバージョンのマップは保持されず、失われます。"
},
"valid-btn": "マップをリンク"
},
"unlink-maps": {
"title": "マップのリンクを解除",
"desc": "マップのリンクを解除すると、このバージョンでは共有マップを使用できなくなります。",
"keep-maps": {
"label": "マップを保持",
"title": "マップを保持は、リンクを解除した後、共有フォルダから現在のバージョンにすべてのマップをコピーします。これを無効をしても共有マップは失われません。"
},
"valid-btn": "マップのリンクを解除"
}
},
"download-maps": {
"search-btn": "検索 ",
"loading-maps": "マップを読込中...",
"no-maps-found": "マップが見つかりませんでした",
"no-internet": "インターネット接続無し"
},
"mods-disclaimer": {
"title": "免責事項",
"p-1": "Modの使用を選択することで、あなたは以下のことを同意することになります:",
"li-1": "バニラゲームには存在しない問題が発生するかもしれません。バグ、クラッシュ、ラグの99.9%はModによるものです。",
"li-2": "MODはアップデートによって壊されることがありますが、それは普通のことです。MOD製作者は実生活を持つボランティアなので、そのようなことが起きても忍耐強く、敬意を払ってください。",
"li-3": "Beat Gamesは意図的にMODを壊そうとしているわけではありません。彼らはコードベースに取り組みたいと願っており、そのためにMODが壊れることはありますが、MODを殺そうとしているわけではありません。",
"p-2": "MODに関する問題でゲーム開発者を攻撃したり、その逆をしたりしないでください。MOD開発者とゲーム開発者は別のグループです。"
},
"shared-folders": {
"title": "共有フォルダー",
"description": "Beat Saberのフォルダをリンクして、他のバージョンの共有フォルダとコンテンツを同期します。なお、コンテンツを削除したら共有済みのバージョンも同様に削除されます。",
"buttons": {
"add-folder": "フォルダーを追加",
"link-folder": "フォルダーをリンク",
"unlink-folder": "フォルダーのリンクを解除",
"link-all": "すべてリンク"
}
},
"create-launch-shortcut": {
"title": "ショートカットを作成",
"desc": "ショートカットを作成すると、BSManagerを起動せずに、直接Beat Saberを起動できます。",
"launch-options": "起動オプション",
"advanced-launch": "高度な起動",
"valid-btn": "ショートカットを作成"
},
"connect-to-meta": {
"title": "Metaに接続する",
"body": {
"token-needed": "Beat SaberのダウンロードにはMetaのログイントークンが必要です。",
"need-cookie-enabled": "Metaにログインするとログインウィンドウが開き、ログインプロセスを開始することができます。Cookieを受け入れるようにしてください。そうしないとダウンロードを開始するためのトークンを取得できない場合があります。",
"enter-token-manually": "ログイントークンを手動で入力する",
"enter-token-manually-tooltip": "これにより、Metaログインを経由せずにログイントークンを入力できるようになります。"
},
"stay": "記憶する",
"connect-to-meta": "Metaに接続する"
},
"original-version-backup-oculus": {
"title": "注意",
"body": {
"must-be-installed-once": "少なくとも一度はOculus StoreからBeat Saberをインストールしている必要があります。そうしないとBeat Saberは起動後に自動的に終了する可能性があります。",
"need-backup": "このバージョンを起動するには、OculusライブラリにあるBeat Saberインストールフォルダの名前を変更します。",
"can-restore-later": "必要であれば、BSManagerから元のOculusバージョンのオプションに行き、'フォルダを復元'をクリックして復元することができます。",
"tips-launch-oculus": "ヒント: 元のバージョンが復元されない限り、Oculusから直接このバージョンを起動することができます。"
},
"not-remind-me": "二度と表示しないでください",
"understood": "分かった"
},
"enter-meta-token": {
"title": "Oculusトークン",
"body": {
"info-enter-token": "Beat Saberをダウンロードするには、あなたのオキュラスログイントークンが必要です。",
"how-obtain-token": "オキュラストークンはどうやって取得するの?",
"oculus-token": "オキュラストークン",
"token-is-invalid": "トークンが無効です。",
"save-my-token": "私のトークンを保存する",
"have-token-saved": "すでにトークンを保存しています",
"save-token-info": "これにより、トークンを簡単に再利用するために保存します。保管のためにトークンを暗号化するパスワードを作成する必要があります。パスワードを忘れた場合は、トークンを再度提供するだけです。",
"password": "パスワード",
"password-too-short": "パスワードが短すぎます",
"info-enter-password": "Beat Saberをダウンロードするには、あなたのオキュラスログイントークンが必要です。オキュラストークンを保存するために使用したパスワードを入力してください。",
"info-disabled-btn-password": "提供されたパスワードで復号化されたトークンは無効です。トークンを保存するために使用されたパスワードと同じであることを確認してください。",
"enter-oculus-token": "オキュラストークンを入力する"
},
"valid-btn": "確認"
}
},
"maps": {
"map-filter-panel": {
"duration": "尺",
"tags": "タグ",
"specificities": "一般",
"requirements": "要Mod"
},
"map-types": {
"accuracy": "正確",
"balanced": "バランス",
"challenge": "挑戦",
"dancestyle": "ダンス",
"fitness": "フットネス",
"speed": "スピード",
"tech": "技術的"
},
"map-styles": {
"dance": "ダンス",
"swing": "スウィング",
"nightcore": "ナイトコア",
"folk": "フォーク",
"family": "ファミリー",
"ambient": "アンビエント",
"funk": "ファンク",
"jazz": "ジャズ",
"soul": "ソウル",
"speedcore": "スピードコア ",
"punk": "パンク",
"rb": "r&b",
"holiday": "休日",
"vocaloid": "ボーカロイド",
"jrock": "j-rock",
"trance": "トランス",
"drumbass": "ドラムンベース",
"comedy": "コメディ",
"instrumental": "器楽",
"hardcore": "ハードコア",
"kpop": "k-pop",
"indie": "インディー",
"techno": "テクノ",
"house": "家",
"game": "ビデオゲーム",
"film": "映画音楽",
"alt": "オルタナティヴ",
"dubstep": "ダブステップ",
"metal": "メタル",
"anime": "アニメ",
"hiphop": "ヒップポップ",
"jpop": "j-pop",
"rock": "ロック",
"pop": "ポップ",
"electronic": "エレクトロニック",
"classical-orchestral": "Classical & Orchestral"
},
"map-specificities": {
"automapper": "AI",
"ranked": "ランク入賞",
"curated": "厳選済み",
"verified": "認証済み",
"fullSpread": "フルスプレッド"
},
"difficulties": {
"Easy": "easy",
"Normal": "normal",
"Hard": "hard",
"Expert": "expert",
"ExpertPlus": "expert+"
},
"map-item": {
"by": "By {songAutor}",
"mapped-by": "作成者 "
}
},
"models": {
"types": {
"singular": {
"avatar": "アバター",
"saber": "セイバー",
"platform": "プラットフォーム",
"bloq": "ノーツ"
},
"plural": {
"avatar": "アバター",
"saber": "セイバー",
"platform": "プラットフォーム",
"bloq": "ノーツ"
}
},
"sorts": {
"name": "名前",
"date": "最近",
"author": "作成者"
},
"panel": {
"actions": {
"search": "モデルを検索",
"drop-down": {
"delete": "モデルを削除",
"export": "モデルをエクスポート"
},
"link-models": "モデルをリンク",
"unlink-models": "モデルのリンクを解除"
},
"grid": {
"loading": "モデルの読み込み中...",
"no-models": "モデルがありません",
"download-models": "モデルをダウンロードする"
}
},
"modals": {
"delete-model": {
"title": "モデルを削除",
"desc": "本当にモデル {modelName} を削除しますか?",
"linked-annotation": "このモデルはすべてのリンク済みのバージョンから削除されます。"
},
"delete-models": {
"title": "モデルを削除",
"desc": "本当に{nb}個のモデルを削除しますか?",
"linked-annotation": "このモデルはすべてのリンク済みのバージョンから削除されます。"
},
"download-models": {
"search-btn": "検索 ",
"search-placeholder": "モデルを検索する",
"search-tips": {
"header": {
"tag": "タグ",
"desc": "說明"
},
"author-desc": "指定した作者のモデルのみを表示",
"hash-desc": "指定したハッシュを持つモデルのみを表示",
"tag-desc": "指定したタグを持つモデルのみを表示",
"name-desc": "指定した名前のモデルのみを表示",
"discordid-desc": "指定したDiscordユーザーからのモデルのみを表示",
"status-desc": "指定されたステータスのモデルのみを表示 (プロフィールのみ、作者のみ)"
},
"no-models": "モデルは見つかりませんでした。",
"no-internet": "インターネットに接続できませんでした。",
"error-occured": "エラーが発生しました。もう一度お試しください."
},
"link-models": {
"avatar": {
"title": "アバターをリンク",
"desc": "アバターをリンクすると、この機能が有効になっているすべてのバージョン間でアバターを共有できます。また、リンクすることでこのバージョンは共有アバターの恩恵を受けることができます。",
"info": "アバターの追加と削除も共有されます",
"keep-models": {
"label": "アバターを保持",
"title": "アバターを保持すると、現在のバージョンからすべてのアバターが共有アバターフォルダーにコピーされます。有効していない場合はこのバージョンのアバターは保持されず、それらは失われます。"
},
"valid-btn": "アバターをリンク"
},
"saber": {
"title": "セーバーをリンク",
"desc": "セーバーをリンクすると、この機能が有効になっているすべてのバージョン間でセーバーを共有できます。また、リンクすることでこのバージョンは共有セーバーの恩恵を受けることができます。",
"info": "セーバーの追加と削除も共有されます",
"keep-models": {
"label": "セーバーを保持",
"title": "セーバーを保持すると、現在のバージョンからすべてのセーバーが共有vフォルダーにコピーされます。有効していない場合はこのバージョンのセーバーは保持されず、それらは失われます。"
},
"valid-btn": "セーバーをリンク"
},
"platform": {
"title": "プラットフォームをリンク",
"desc": "プラットフォームをリンクすると、この機能が有効になっているすべてのバージョン間でプラットフォームを共有できます。また、リンクすることでこのバージョンは共有プラットフォームの恩恵を受けることができます。",
"info": "プラットフォームの追加と削除も共有されます",
"keep-models": {
"label": "プラットフォームを保持",
"title": "プラットフォームを保持すると、現在のバージョンからすべてのプラットフォームが共有プラットフォームフォルダーにコピーされます。有効していない場合はこのバージョンのプラットフォームは保持されず、それらは失われます。"
},
"valid-btn": "プラットフォームをリンク"
},
"bloq": {
"title": "ノーツをリンク",
"desc": "ノーツをリンクすると、この機能が有効になっているすべてのバージョン間でノーツを共有できます。また、リンクすることでこのバージョンは共有ノーツの恩恵を受けることができます。",
"info": "ノーツの追加と削除も共有されます",
"keep-models": {
"label": "ノーツを保持",
"title": "ノーツを保持すると、現在のバージョンからすべてのノーツが共有ノーツフォルダーにコピーされます。有効していない場合はこのバージョンのノーツは保持されず、それらは失われます。"
},
"valid-btn": "ノーツをリンク"
}
},
"unlink-models": {
"avatar": {
"title": "アバターのリンクを解除",
"desc": "アバターのリンクを解除すると、このバージョンでは共有アバターが使用できなくなります。",
"keep-models": {
"label": "アバターを保持する",
"title": "アバターを保持すると、リンクを解除した後、共有フォルダにあるすべてのアバターが現在のバージョンにコピーされます。これが無効にしても共有アバターは失われません。"
},
"valid-btn": "アバターのリンクを解除"
},
"saber": {
"title": "セーバーのリンクを解除",
"desc": "セーバーのリンクを解除すると、このバージョンでは共有セーバーが使用できなくなります。",
"keep-models": {
"label": "セーバーを保持する",
"title": "セーバーを保持すると、リンクを解除した後、共有フォルダにあるすべてのセーバーが現在のバージョンにコピーされます。これが無効にしても共有セーバーは失われません。"
},
"valid-btn": "セーバーのリンクを解除"
},
"platform": {
"title": "プラットフォームのリンクを解除",
"desc": "プラットフォームのリンクを解除すると、このバージョンでは共有プラットフォームが使用できなくなります。",
"keep-models": {
"label": "プラットフォームを保持する",
"title": "プラットフォームを保持すると、リンクを解除した後、共有フォルダにあるすべてのプラットフォームが現在のバージョンにコピーされます。これが無効にしても共有プラットフォームは失われません。"
},
"valid-btn": "プラットフォームのリンクを解除"
},
"bloq": {
"title": "ノーツのリンクを解除",
"desc": "ノーツのリンクを解除すると、このバージョンでは共有ノーツが使用できなくなります。",
"keep-models": {
"label": "ノーツを保持する",
"title": "ノーツを保持すると、リンクを解除した後、共有フォルダにあるすべてのノーツが現在のバージョンにコピーされます。これが無効にしても共有ノーツは失われません。"
},
"valid-btn": "ノーツのリンクを解除"
}
}
},
"notifications": {
"prevent-for-mods": {
"title": "Modが必要です!",
"desc": "Beat Saberでモデルを使用するためには必要なMODをインストールし、確認してください",
"go-to-mods": "Modインストーラーに移動",
"not-remind": "二度と表示しないで"
},
"prevent-for-models-breaks": {
"title": "モデルが壊れています!",
"desc": "Beat Saberのエンジンアップデート以来、すべてのカスタムモデルのMODが壊れており、更新が必要です。まだ更新されていません。"
},
"export-success": {
"title": "エクスポート完了🎉"
}
}
},
"beat-saver": {
"maps-sorts": {
"Latest": "最新",
"Relevance": "関連性",
"Rating": "レーティング",
"Curated": "厳選"
}
},
"auto-update": {
"checking": "アップデートを確認中",
"downloading": "アップデート中"
},
"bs-shortcut-launch": {
"beat-saber-launching": "",
"launching": "起動中",
"open-bsmanager": "BSManagerを開く",
"status-text": {
"init": "初期化中...",
"success": {
"BS_LAUNCHING": "Beat Saberを起動中...",
"STEAM_LAUNCHING": "Steamを起動中...",
"STEAM_LAUNCHED": "Steamの起動が完了しました!",
"UNABLE_TO_LAUNCH_STEAM": "Steamを起動できませんでした、Beat Saberを強制的に起動します..."
}
}
},
"dateformat": {
"dayNames": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
"monthNames": ["Jan", "Feb", "Mar", "Apr", "May", "June", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
"timeNames": ["a", "p", "am", "pm", "A", "P", "AM", "PM"]
}
}
+28 -14
View File
@@ -156,13 +156,19 @@
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"zh-CN": "简体中文",
"zh-TW": "正體中文",
"ja-JP": "日本語",
"translated": {
"en-EN": "Английский, Великобритания",
"en-US": "Английский, США",
"fr-FR": "Французский",
"es-ES": "Испанский",
"de-DE": "Немецкий",
"ru-RU": "Русский"
"ru-RU": "Русский",
"zh-CN": "Китайский (упрощенный)",
"zh-TW": "Китайский (традиционный)",
"ja-JP": "Японский"
}
}
},
@@ -525,10 +531,10 @@
"placeholder": "Введите ваш пароль",
"max-length-warning": "Пароль превышает 64 символа! Если пароль недействителен, попробуйте ввести только его первые 64 символа."
},
"qr":{
"qr": {
"label": "Или с QR-кодом",
"note":{
"use-the":"Используйте ",
"note": {
"use-the": "Используйте ",
"steam-mobile-app": "мобильное приложение Steam",
"to-connect-with-qr": "для входа с QR-кодом."
}
@@ -541,7 +547,7 @@
"submit": "Войти"
}
},
"steam-auth-approve":{
"steam-auth-approve": {
"title": "Ожидание подтверждения",
"protected-by-mobile-auth": "Учетная запись защищена мобильным аутентификатором.",
"use-steam-app-to-approve": "Используйте мобильное приложение Steam для подтверждения подключения...",
@@ -678,15 +684,15 @@
"advanced-launch": "Расширенный запуск",
"valid-btn": "Создать ярлык"
},
"connect-to-meta":{
"connect-to-meta": {
"title": "Подключение к Meta",
"body":{
"body": {
"token-needed": "Для скачивания Beat Saber необходим ваш токен подключения к Meta.",
"need-cookie-enabled": "При входе в Meta откроется окно входа, и вы сможете начать процесс входа. Пожалуйста, убедитесь, что вы приняли cookies, иначе мы можем не суметь получить ваш токен для начала загрузки.",
"enter-token-manually": "Ввести мой токен входа вручную",
"enter-token-manually-tooltip": "Это позволит вам ввести ваш токен входа без прохождения через вход в Meta."
},
"stay":"Запомнить меня",
"stay": "Запомнить меня",
"connect-to-meta": "Подключиться к Meta"
},
"original-version-backup-oculus": {
@@ -701,12 +707,20 @@
"understood": "Понял"
},
"enter-meta-token": {
"title": "Мета Токен",
"title": "Токен Oculus",
"body": {
"need-token": "Для загрузки Beat Saber требуется ваш токен входа в Meta.",
"how-obtain-token": "Как получить мой Мета Токен?",
"input-label": "Мета Токен",
"token-is-invalid": "Токен недействителен."
"info-enter-token": "Для загрузки Beat Saber требуется ваш токен входа в Oculus.",
"how-obtain-token": "Как получить мой токен Oculus?",
"oculus-token": "Токен Oculus",
"token-is-invalid": "Токен недействителен.",
"save-my-token": "Сохранить мой токен",
"have-token-saved": "У меня уже есть сохраненный токен",
"save-token-info": "Это сохранит ваш токен для удобства повторного использования. Вам необходимо создать пароль для шифрования вашего токена для хранения. Если вы забудете пароль, вам просто нужно будет снова предоставить свой токен.",
"password": "Пароль",
"password-too-short": "Слишком короткий пароль",
"info-enter-password": "Для загрузки Beat Saber требуется ваш токен входа в Oculus. Введите пароль, используемый для сохранения вашего токена Oculus.",
"info-disabled-btn-password": "Токен, расшифрованный с использованием предоставленного пароля, недействителен. Убедитесь, что пароль совпадает с тем, который использовался для сохранения токена.",
"enter-oculus-token": "Введите токен Oculus"
},
"valid-btn": "Подтвердить"
}
@@ -940,7 +954,7 @@
},
"prevent-for-models-breaks": {
"title": "Сломанные модели",
"desc": "После обновления движка Beat Saber, модели не работают с этой версией."
"desc": "С момента обновления движка Beat Saber, все пользовательские модификации моделей сломались и требуют обновления. Они еще не были обновлены."
},
"export-success": {
"title": "Экспорт завершен 🎉"
+996
View File
@@ -0,0 +1,996 @@
{
"misc": {
"download": "下載",
"add": "新增",
"verify": "驗證",
"launch": "啟動",
"mods": "Mod",
"maps": "譜面",
"playlists": "歌單",
"models": "模型",
"cancel": "取消",
"delete": "刪除",
"accept": "接受",
"refuse": "拒絕",
"apply": "應用",
"copy": "複製",
"copied": "已複製!"
},
"nav-bar": {
"add-version": "新增版本",
"settings": "設定",
"shared": {
"text": "共享",
"tooltip": "共享內容"
}
},
"pages": {
"shared-maps": {
"title": "共享譜面 "
},
"version-viewer": {
"launch-mods": {
"oculus": "Oculus 模式",
"oculus-description": "若使用 Steam 版 BeatSaber,這允許你在繞過 SteamVR 的同時使用 Oculus 的 VR comsposer,可能會有性能提升。(不只是 Oculus 頭顯)",
"desktop": "FPFC 模式",
"desktop-description": "第一人稱飛控模式允許你使用鍵盤 WASD 和滑鼠在遊戲中進行導航。你無需帶上頭顯即可進行測試!",
"debug": "Debug 模式",
"debug-description": "為 IPA 啟用輸出日誌窗口。 會顯示所用 Mod 的 debug 輸出",
"advanced-launch": {
"button": "高級啟動",
"placeholder": "額外啟動參數,例如: --revert; --nowait"
}
},
"maps": {
"title": "Shared maps",
"search-bar": {
"search-placeholder": "譜面搜尋",
"filters-btn": "篩選",
"dropdown": {
"export-maps": "導出譜面",
"delete-maps": "刪除譜面"
}
},
"tabs": {
"maps": {
"actions": {
"add-maps": {
"text": "新增"
},
"link-maps": {
"tooltips": {
"link": "Link maps",
"unlink": "Unlink maps"
}
}
},
"empty-maps": {
"text": "無譜面",
"button": "下載譜面"
}
}
}
},
"mods": {
"loading-mods": "Mod 載入中...",
"no-internet": "無網路",
"mods-not-available": "該版本 BeatSaber 暫無可用 Mod",
"buttons": {
"more-infos": "更多資訊",
"install-or-update": "安裝或更新"
},
"mods-grid": {
"header-bar": {
"name": "名稱",
"installed": "已安裝",
"latest": "最新",
"description": "描述",
"dropdown": {
"uninstall-all": "全部移除"
}
}
}
},
"dropdown": {
"open-folder": "打開文件夾",
"verify-files": "驗證文件",
"clone": "Clone",
"edit": "編輯",
"uninstall": "移除",
"create-shortcut": "創建捷徑",
"shared-folders": "Shared Folders",
"restore-oculus-folder": "Restore the folder"
}
},
"available-versions": {
"title": "選擇版本",
"steam-release": "發布頁面",
"dropdown": {
"refresh": "刷新版本",
"import-version": "導入版本"
},
"recommended": "推薦",
"recommended-tooltip": "多 Mod 版本"
},
"settings": {
"steam-and-oculus": {
"title": "Steam & Oculus",
"description": "登出後,您可以在下一次下載 Beat Saber 時切換帳戶。",
"logout": "登出",
"download-platform": {
"title": ",預設平台",
"desc": "選擇要下載 BeatSaber 的預設平台。",
"always-ask": "總是詢問"
}
},
"appearance": {
"title": "外觀",
"description": "選擇 BSManager 的兩種主題色",
"reset": "重設",
"sub-title": "主題",
"themes": {
"dark": "Dark",
"light": "Light",
"os": "與系統保持同步"
}
},
"installation-folder": {
"title": "安裝文件夾",
"description": "為 BeatSaber 不同版本及未來其他特性修改預設文件夾",
"choose-folder": "選擇文件夾"
},
"additional-content": {
"title": "附加內容",
"description": "允許你自訂 BeatSaber 的附加內容!",
"deep-links": {
"sub-title": "一鍵安裝"
}
},
"language": {
"title": "語言",
"description": "選擇語言",
"languages": {
"en-EN": "English, UK",
"en-US": "English, US",
"fr-FR": "Français",
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"zh-CN": "簡體中文",
"zh-TW": "正體中文",
"ja-JP": "日本語",
"translated": {
"en-EN": "英式英語",
"en-US": "美式英語",
"fr-FR": "法語",
"es-ES": "西班牙語",
"de-DE": "德語",
"ru-RU": "俄語",
"zh-CN": "簡體中文",
"zh-TW": "正體中文",
"ja-JP": "日語"
}
}
},
"patreon": {
"title": "支持 BSManager 💖",
"description": "支持該項目並幫助我們持續改進 BSManager。",
"buttons": {
"support": "支持 BSManager 🥰",
"supporters": "支持者 👀"
},
"view": {
"no-supporters": "暫無支持者",
"sponsors": "贊助者",
"supporters": "支持者"
}
},
"discord": {
"description": "在社交媒體上關注我們,加入 BSManager 社區!"
},
"contribution": {
"description": "建議新功能或報告錯誤以幫助改進 BSManager",
"buttons": {
"request-features": "請求新功能",
"report-bug": "報告 bug",
"open-logs": "打開日誌"
}
}
}
},
"notifications": {
"types": {
"error": "🚨 錯誤",
"warning": "⚠️ 警告",
"success": "🎉 成功"
},
"common": {
"msg": {
"error-occurred": "發生了一個錯誤"
}
},
"shared": {
"errors": {
"titles": {
"operation-running": "操作進行中",
"no-internet": "無網路"
},
"msg": {
"operation-running": "等待當前操作完成,然後重試。",
"no-internet": "檢查你的連接並重試。"
}
}
},
"bs-download": {
"success": {
"titles": {
"download-success": "下載完成",
"verification-finished": "驗證完成"
}
},
"steam-download": {
"warnings": {
"msg": {
"ManifestChecksum": "之前下載的清單與新的清單不匹配 🤔",
"ConnectionTimeout": "你的網路連接似乎不穩定 🥶",
"ConnectionLost": "連接已遺失,請重試...",
"ConnectionError": "無法連接到 Steam,請重試...",
"Unknown": "發生了奇怪的事情 🤔 你的連接可能不穩定。"
}
},
"errors": {
"titles": {
"dotnet-required": "需要 .NET 6"
},
"msg": {
"401": "Steam 似乎不想讓我們下載 Beat Saber😢",
"404": "無法聯繫 Steam 伺服器。",
"Password": "密碼無效",
"InvalidCredentials": "登錄憑據無效、連接未經批准或登錄嘗試次數過多。",
"NoManifest": "未找到清單",
"DirectoryCreate": "無法安裝必要的文件夾。",
"NotAvailableApp": "您是否在沒有安裝 BeatSaber 的情況下嘗試下載?🤣",
"DepotNotFound": "無法下載 Beat Saber 😥 稍後重試 😕",
"NotCompleted": "下載無法完成 ¯\\_(ツ)_/¯",
"InvalidManifest": "無法下載 Beat Saber 😥 稍後重試 😕",
"NoValidKey": "無法下載 Beat Saber 😥 稍後重試 😕",
"NoManifestCode": "無法下載 Beat Saber 😥 稍後重試 😕",
"Unknown": "發生了一個錯誤 ¯\\_(ツ)_/¯",
"NoServer": "U無法聯繫 Steam 伺服器。",
"NotAllowed": "顯然你沒有下載 Beat Saber 的許可 🥱",
"ConnectionTimeout": "無法連接到 Steam 😕",
"SteamLib": "如果你遇到此錯誤,請在 GitHub 上報告該錯誤並附上日誌。",
"ConnectionError": "嘗試 10 次後仍無法連接到 Steam🤯",
"LicenceError": "無法獲取許可證列表。",
"RateLimitExceeded": "你已經嘗試了太多次,請稍等片刻,稍後再試。",
"TokenRejected": "你的登錄令牌已被拒絕 😕 請重試。",
"AccessDenied": "訪問 Steam 被拒絕。",
"dotnet-required": "必須安裝 .NET 6 Runtime 才能下載 Beat Saber 版本。單擊下面的按鈕下載它。"
},
"actions": {
"download-dotnet": "下載 .NET 6"
}
}
},
"oculus-download": {
"errors": {
"msg": {
"DOWNLOAD_MANIFEST_FAILED": "無法下載此版本的清單;你的登錄令牌可能無效。",
"MANIFEST_FILE_NOT_FOUND": "找不到此版本的清單。",
"PARSE_MANIFEST_FILE_FAILED": "讀取清單時發生錯誤。",
"ALREADY_DOWNLOADING": "已經有一個版本在下載中。",
"UNABLE_TO_GET_MANIFEST": "無法獲取下載所需的清單。",
"VERIFY_INTEGRITY_FAILED": "文件驗證過程中發生錯誤。",
"SOME_FILES_FAILED_TO_DOWNLOAD": "一些文件下載失敗。",
"OCULUS_LOGIN_TIMED_OUT": "獲取登錄令牌用時過長。",
"OCULUS_LOGIN_WINDOW_CLOSED_BY_USER": "Meta 登錄窗口被關閉。",
"NO_META_AUTH_TOKEN": "無法獲取下載所需的 Meta 登錄令牌。",
"UNKNOWN_ERROR": "發生未知錯誤。"
}
}
}
},
"bs-import-version": {
"success": {
"start-import": {
"title": "正在導入 👌",
"desc": "導入可能需要幾分鐘時間(依賴於你如何配置)。"
},
"imported": {
"title": "已導入版本 🎉"
}
},
"errors": {
"import-error": {
"desc": "檢查所選文件夾是否為 Beat Saber 的安裝內容。"
}
}
},
"settings": {
"move-folder": {
"success": {
"titles": {
"transfer-started": "正在傳輸",
"transfer-finished": "傳輸完成"
},
"descs": {
"transfer-started": "傳輸已開始,可能需要幾分鐘時間(依賴於你如何配置)。"
}
},
"errors": {
"titles": {
"transfer-failed": "傳輸失敗 😕"
},
"descs": {
"COPY_TO_SUBPATH": "目標文件夾不能是源文件夾的子文件夾。",
"restore-linked-folders": "恢復共享文件夾時發生錯誤。你仍然可以通過版本頁面上的'共享文件夾'菜單手動恢復它們。"
}
}
},
"steam": {
"success": {
"titles": {
"logout": "斷開與 Steam 的連接"
}
}
},
"additional-content": {
"deep-link": {
"select-all": "全選",
"activation": {
"success": {
"title": "一鍵安裝啟用成功!",
"description": "一鍵安裝已被啟用。"
},
"error": {
"description": "無法啟用一鍵安裝。"
}
},
"deactivation": {
"success": {
"title": "一鍵安裝已停用!",
"description": "一鍵安裝安裝已被停用。"
},
"error": {
"description": "發生未知錯誤。"
}
},
"check-all-enabled": {
"title": "一鍵安裝已禁用",
"description": "一個或多個一鍵安裝被禁用。前往設定以啟用它們。",
"actions": {
"settings": "設定",
"not-remind": "不再提醒"
}
}
}
}
},
"bs-launch": {
"success": {
"titles": {
"BS_LAUNCHING": "啟動中...🚀",
"STEAM_LAUNCHING": "Steam 正在啟動!"
},
"msg": {
"BS_LAUNCHING": "別忘了熱身哦 😉",
"STEAM_LAUNCHING": "Beat Saber 會在 Steam 啟動後自動啟動。"
}
},
"errors": {
"titles": {
"UNKNOWN_ERROR": "無法啟動",
"STEAM_NOT_RUNNING": "Steam 未運行",
"OCULUS_NOT_RUNNING": "Oculus 未運行",
"BS_ALREADY_RUNNING": "Beat Saber 已在運行",
"EXE_NOT_FINDED": "缺少文件",
"EXIT": "突然停止",
"OCULUS_LIB_NOT_FOUND": "未找到 Oculus 庫"
},
"msg": {
"UNKNOWN_ERROR": "發生未知錯誤。",
"STEAM_NOT_RUNNING": "啟動 BeatSaber 前必須運行 Steam。",
"OCULUS_NOT_RUNNING": "啟動 BeatSaber 前必須運行 Oculus。",
"BS_ALREADY_RUNNING": "再次啟動前請關閉 BeatSaber。",
"EXE_NOT_FINDED": "某些文件似乎遺失了,嘗試驗證文件。",
"EXIT": "BeatSaber 突然停止,請檢查文件。",
"OCULUS_LIB_NOT_FOUND": "檢查 Oculus 應用是否正確安裝,以及庫是否在 Oculus 中正確定義。"
},
"actions": {
"STEAM_NOT_RUNNING": "啟動 Steam"
}
}
},
"steam": {
"steam-launching": {
"title": "Steam 正在啟動!",
"description": "Beat Saber 會在 Steam 啟動後自動啟動。"
}
},
"custom-version": {
"errors": {
"titles": {
"CantEditSteam": "無法編輯",
"CantRename": "無法重命名",
"VersionAlreadExist": "該版本已存在",
"CantClone": "無法複製"
},
"msg": {
"CantEditSteam": "你不能編輯 Steam 版本。不過你可以複製它。"
}
},
"success": {
"titles": {
"CloningFinished": "複製完成 🎉"
}
}
},
"mods": {
"install-mods": {
"titles": {
"success": "Mod 已安裝 🎉",
"warning": "Mod 已安裝 🤔"
},
"msg": {
"success": "所有 Mod 已被安裝。",
"warning": "一個或多個 Mod 無法安裝。",
"errors": {
"no-mods": "沒有 Mod 可安裝。",
"cannot-install-bsipa": "BSIPA安裝失敗 😨"
}
}
},
"uninstall-mod": {
"titles": {
"success": "Mod 已移除 🎉"
},
"msg": {
"errors": {
"no-mods": "該 Mod 未安裝 😑"
}
}
},
"uninstall-all-mods": {
"titles": {
"success": "所有 Mod 已移除 🎉"
},
"msg": {
"success": "所有 Mod 已被移除。",
"errors": {
"no-mods": "該版本中沒有安裝 Mod 😑"
}
}
}
},
"maps": {
"one-click-install": {
"success": "譜面安裝完成",
"error": "安裝譜面時發生錯誤"
}
},
"playlists": {
"one-click-install": {
"success": "歌單安裝完成",
"error": "歌單安裝時發生錯誤"
}
},
"models": {
"one-click-install": {
"success": "模型安裝完成",
"error": "模型安裝時發生錯誤"
}
},
"shared-folder": {
"info": {
"userdata-backup-created": {
"title": "備份已創建",
"msg": "共享 “UserData” 文件夾可能會產生錯誤,如果出現問題,請取消關聯該文件夾以恢復備份"
}
}
},
"create-launch-shortcut": {
"success": {
"title": "捷徑已創建",
"msg": "捷徑已在桌面上創建"
},
"error": {
"msg": "創建捷徑時發生錯誤"
}
}
},
"modals": {
"misc": {
"remember-my-choice": "記住我的選擇"
},
"choose-store": {
"title": "選擇哪個平台?",
"body": "選擇你希望為其下載 BeatSaber 的平台。",
"set-in-settings": "在設定中設定預設平台"
},
"guard": {
"title": "Steam Guard",
"inputs": {
"guard-code": {
"label": "Guard Code",
"placeholder": "輸入你的 Guard Code"
}
},
"buttons": {
"submit": "登錄"
}
},
"steam-login": {
"title": "Steam 登錄",
"inputs": {
"username": {
"label": "使用帳戶名登入",
"placeholder": "輸入你的帳戶名"
},
"password": {
"label": "密碼",
"placeholder": "輸入你的密碼",
"max-length-warning": "密碼超過64個字元!如果密碼無效,請嘗試只輸入前64個字元。"
},
"qr": {
"label": "或使用二維碼",
"note": {
"use-the": "使用",
"steam-mobile-app": "Steam 行動應用",
"to-connect-with-qr": "通過二維碼登錄。"
}
},
"stay": "記住我"
},
"why-credentials": "為什麼需要我的憑證?",
"need-help-to-connect": "我需要幫助以訪問我的帳戶!",
"buttons": {
"submit": "登錄"
}
},
"steam-auth-approve": {
"title": "等待確認",
"protected-by-mobile-auth": "帳戶受移動認證器保護。",
"use-steam-app-to-approve": "使用 Steam 行動應用程式確認連接...",
"not-access-to-steam-app": "我無法訪問 Steam 行動應用程式"
},
"steam-credentials": {
"title": "Steam 憑證",
"p-1": "憑證僅用於下載遊戲,因為 Steam 需要驗證你是否已經購買了遊戲,以便允許你下載它。它們不會被保存,而是直接傳遞給 DepotDownloader。如果你不想輸入你的憑證,你可以按照此教學操作:",
"p-2": "然後點擊右上角的齒輪圖示,選擇“導入版本”,選擇 Beat Saber 已下載的文件夾(如果你按照上面的教學,你應該會得到正確的位置)"
},
"bs-import-version": {
"title": "導入版本",
"description": "導入 Beat Saber 版本以與 BSManager 一起使用。這將把所選的 Beat Saber 安裝文件夾複製到 BSManager 版本文件夾。",
"oculus-version": "Oculus 版本",
"oculus-version-tooltip": "檢查是否為 Oculus 版本",
"buttons": {
"submit": "導入版本"
}
},
"bs-uninstall": {
"title": "移除",
"description": "你確定要移除 Beat Saber {version} 嗎?你將不得不重新下載它才能遊玩。",
"buttons": {
"submit": "移除"
}
},
"install-folder": {
"title": "安裝文件夾",
"description": "更改預設安裝文件夾將導致所有已安裝數據移動到新文件夾。",
"buttons": {
"submit": "選擇文件夾"
}
},
"edit-version": {
"title": "編輯版本",
"buttons": {
"submit": "編輯"
}
},
"clone-version": {
"title": "複製版本",
"description": "複製版本可以讓你在兩個版本之間分離附加的 BeatSaber 內容。",
"inputs": {
"name": {
"label": "名稱",
"placeholder": "版本名稱"
},
"color": {
"label": "顏色"
}
},
"buttons": {
"submit": "複製"
}
},
"uninstall-mod": {
"title": "移除",
"description": "你確定要移除 {mod} 嗎?這可能會導致其他已安裝的 Mod 失效。",
"description-bsipa": "你確定要移除 BSIPA 嗎?之後所有已安裝的 Mod 將不再起作用。"
},
"uninstall-all-mods": {
"title": "Mod 移除中",
"description": "你確定要移除 {version} 版本的所有 Mod 移除嗎?該操作無法回退。"
},
"maps-actions": {
"delete-maps": {
"title": {
"single": "刪除該譜面?",
"multiple": "刪除譜面?"
},
"desc": {
"single": "你確定要刪除譜面 {name} 嗎?",
"multiple": "你確定要刪除全部 {nb} 個譜面嗎?"
},
"info": {
"desc": {
"single": "該譜面是共享譜面的一部分",
"multiple": "這些譜面是共享譜面的一部分"
},
"title": {
"single": "該譜面也將從使用共享譜面的版本中移除",
"multiple": "這些譜面也將從使用共享譜面的版本中移除"
}
}
},
"link-maps": {
"title": "關聯譜面",
"desc": "關聯譜面可以在所有啟用此功能的版本之間共享譜面。一旦關聯,該版本將受益於共享譜面。",
"info": "新增和刪除的譜面也將被共享",
"keep-maps": {
"label": "保留譜面",
"title": "保留譜面將會把當前版本的所有譜面複製到共享譜面文件夾。否則,該版本的譜面將不會被保留,它們將遺失。"
},
"valid-btn": "關聯譜面"
},
"unlink-maps": {
"title": "取消關聯譜面",
"desc": "請注意,取消關聯譜面後該版本將無法使用共享譜面,直到重新啟用。",
"keep-maps": {
"label": "保留譜面",
"title": "保留譜面將會在取消關聯後把共享文件夾的所有譜面複製到當前版本。如果此項被禁用,譜面也不會遺失。"
},
"valid-btn": "取消關聯譜面"
}
},
"download-maps": {
"search-btn": "搜尋",
"loading-maps": "譜面載入中...",
"no-maps-found": "未找到譜面",
"no-internet": "無網路"
},
"mods-disclaimer": {
"title": "免責聲明",
"p-1": "選擇使用 Mod,你需要理解:",
"li-1": "你可能會遇到原版遊戲中不存在的問題。99.9% 的 bug、崩潰和延遲都是由 Mod 引起的。",
"li-2": "模組可能會因更新而失效,這是正常的——當這種情況發生時,請保持耐心和尊重,因為模組製作者都是有真實生活的志願者。",
"li-3": "Beat Games並不是故意想要破壞 Mod。他們希望能夠修改代碼庫,有時這會破壞 Mod,但他們並不是想要消滅 Mod。",
"p-2": "不要因為與 Mod 相關的問題攻擊遊戲開發者,反之亦然——Mod 製作者和遊戲開發者是兩個不同的群體。總之,不要做個 SB。"
},
"shared-folders": {
"title": "共享文件夾",
"description": "關聯 Beat Saber 文件夾,以便與其他版本中的共享文件夾同步其內容。請注意,刪除操作也會被共享。",
"buttons": {
"add-folder": "新增文件夾",
"link-folder": "關聯文件夾",
"unlink-folder": "取消關聯文件夾",
"link-all": "關聯所有"
}
},
"create-launch-shortcut": {
"title": "創建捷徑",
"desc": "創建捷徑使得你可以在不通過 BSManager 的情況下以特定選項啟動 BeatSaber",
"launch-options": "啟動選項",
"advanced-launch": "高級啟動",
"valid-btn": "創建捷徑"
},
"connect-to-meta": {
"title": "連接到 Meta",
"body": {
"token-needed": "需要 Meta 登錄令牌用於下載 Beat Saber。",
"need-cookie-enabled": "通過登錄 Meta,將打開一個登錄窗口,然後你可以開始登錄過程。請確保接受 cookie,否則我們可能無法檢索你的令牌以開始下載。",
"enter-token-manually": "手動輸入我的登錄令牌",
"enter-token-manually-tooltip": "這將允許你在不通過 Meta 登錄的情況下輸入你的登錄令牌。"
},
"stay": "記住我",
"connect-to-meta": "連接到 Meta"
},
"original-version-backup-oculus": {
"title": "警告",
"body": {
"must-be-installed-once": "你必須至少從 Oculus 商店安裝過一次 BeatSaber,否則 BeatSaber 可能會在啟動後自動關閉。",
"need-backup": "要啟動該版本,位於你的 Oculus 庫中的 BeatSaber 安裝文件夾將被重命名。",
"can-restore-later": "如果需要,你可以通過前往 BSManager 的原始 Oculus 版本選項並點擊'恢復文件夾'來恢復它。",
"tips-launch-oculus": "提示:只要原始版本沒有被恢復,你就可以直接從 Oculus 啟動該版本。"
},
"not-remind-me": "不再提醒我",
"understood": "明白了"
},
"enter-meta-token": {
"title": "Oculus令牌",
"body": {
"info-enter-token": "下載Beat Saber需要您的Oculus登錄令牌。",
"how-obtain-token": "我如何獲得我的Oculus令牌?",
"oculus-token": "Oculus令牌",
"token-is-invalid": "令牌無效。",
"save-my-token": "保存我的令牌",
"have-token-saved": "我已經保存了一個令牌",
"save-token-info": "這將保存您的令牌以便更容易地重新使用。您需要創建一個密碼來加密您的令牌以進行存儲。如果您忘記了密碼,只需再次提供您的令牌即可。",
"password": "密碼",
"password-too-short": "密碼太短",
"info-enter-password": "下載Beat Saber需要您的Oculus登錄令牌。請輸入用於保存您的Oculus令牌的密碼。",
"info-disabled-btn-password": "使用提供的密碼解密的令牌無效。確保密碼與保存令牌時使用的密碼相同。",
"enter-oculus-token": "輸入Oculus令牌"
},
"valid-btn": "驗證"
}
},
"maps": {
"map-filter-panel": {
"duration": "時長",
"tags": "標籤",
"specificities": "general",
"requirements": "要求"
},
"map-types": {
"accuracy": "精確度",
"balanced": "平衡",
"challenge": "挑戰",
"dancestyle": "舞蹈",
"fitness": "健身",
"speed": "速度",
"tech": "技術"
},
"map-styles": {
"dance": "Dance",
"swing": "Swing",
"nightcore": "Nightcore",
"folk": "Folk",
"family": "Family",
"ambient": "Ambient",
"funk": "Funk",
"jazz": "Jazz",
"soul": "Soul",
"speedcore": "Speedcore",
"punk": "Punk",
"rb": "R&B",
"holiday": "Holiday",
"vocaloid": "Vocaloid",
"jrock": "J-rock",
"trance": "Trance",
"drumbass": "Drum & Bass",
"comedy": "Comedy",
"instrumental": "Instrumental",
"hardcore": "Hardcore",
"kpop": "K-pop",
"indie": "Indie",
"techno": "Techno",
"house": "House",
"game": "Video game",
"film": "Film",
"alt": "Alternative",
"dubstep": "Dubstep",
"metal": "Metal",
"anime": "Anime",
"hiphop": "Hiphop",
"jpop": "J-pop",
"rock": "Rock",
"pop": "Pop",
"electronic": "Electronic",
"classical-orchestral": "Classical & Orchestral"
},
"map-specificities": {
"automapper": "AI",
"ranked": "Ranked",
"curated": "Curated",
"verified": "Verified",
"fullSpread": "Full spread"
},
"difficulties": {
"Easy": "Easy",
"Normal": "Normal",
"Hard": "Hard",
"Expert": "Expert",
"ExpertPlus": "Expert+"
},
"map-item": {
"by": "By {songAutor}",
"mapped-by": "mapped by"
}
},
"models": {
"types": {
"singular": {
"avatar": "avatar",
"saber": "光劍",
"platform": "平台",
"bloq": "方塊"
},
"plural": {
"avatar": "avatars",
"saber": "光劍",
"platform": "平台",
"bloq": "方塊"
}
},
"sorts": {
"name": "名稱",
"date": "日期",
"author": "作者"
},
"panel": {
"actions": {
"search": "搜尋模型",
"drop-down": {
"delete": "刪除模型",
"export": "導出模型"
},
"link-models": "關聯模型",
"unlink-models": "取消關聯模型"
},
"grid": {
"loading": "模型載入中...",
"no-models": "無模型",
"download-models": "下載模型"
}
},
"modals": {
"delete-model": {
"title": "刪除該模型",
"desc": "確定要刪除模型 {modelName} 嗎?",
"linked-annotation": "該模型將從所有關聯版本中移除。"
},
"delete-models": {
"title": "刪除模型",
"desc": "確定要刪除 {nb} 個模型嗎?",
"linked-annotation": "這些模型將從所有關聯版本中移除。"
},
"download-models": {
"search-btn": "搜尋",
"search-placeholder": "搜尋模型",
"search-tips": {
"header": {
"tag": "Tag",
"desc": "描述"
},
"author-desc": "僅顯示指定作者的模型。",
"hash-desc": "僅顯示具有指定哈希值的模型。",
"tag-desc": "僅顯示具有指定 tag 的模型。",
"name-desc": "僅顯示具有指定名稱的模型。",
"discordid-desc": "僅顯示來自指定 Discord 用戶的模型。",
"status-desc": "僅顯示具有指定狀態的模型。(僅限個人資料,且僅限作者)"
},
"no-models": "未找到模型",
"no-internet": "無網路連接",
"error-occured": "發生了一個錯誤,稍後重試。"
},
"link-models": {
"avatar": {
"title": "關聯 Avatar",
"desc": "關聯 Avatar 允許在所有啟用此功能的版本之間共享 Avatar。一旦關聯,該版本將受益於共享 Avatar。",
"info": "對 Avatar 的新增和刪除也將被共享",
"keep-models": {
"label": "保留 Avatar",
"title": "保留 Avatar 將會把當前版本的所有 Avatar 複製到共享 Avatar文件夾。否則,該版本的 Avatar將不會被保留,它們將遺失。"
},
"valid-btn": "關聯 Avatar "
},
"saber": {
"title": "關聯光劍",
"desc": "關聯光劍允許在所有啟用此功能的版本之間共享光劍。一旦關聯,該版本將受益於共享光劍。",
"info": "對光劍的新增和刪除也將被共享",
"keep-models": {
"label": "保留光劍",
"title": "保留光劍將會把當前版本的所有光劍複製到共享光劍文件夾。否則,該版本的光劍將不會被保留,它們將遺失。"
},
"valid-btn": "關聯光劍"
},
"platform": {
"title": "關聯平台",
"desc": "關聯平台允許在所有啟用此功能的版本之間共享平台。一旦關聯,該版本將受益於共享平台。",
"info": "對平台的新增和刪除也將被共享",
"keep-models": {
"label": "保留平台",
"title": "保留平台將會把當前版本的所有平台複製到共享平台文件夾。否則,該版本的平台將不會被保留,它們將遺失。"
},
"valid-btn": "關聯平台"
},
"bloq": {
"title": "關聯方塊",
"desc": "關聯方塊允許在所有啟用此功能的版本之間共享方塊。一旦關聯,該版本將受益於共享方塊。",
"info": "對方塊的新增和刪除也將被共享",
"keep-models": {
"label": "保留方塊",
"title": "保留方塊將會把當前版本的所有方塊複製到共享方塊文件夾。否則,該版本的方塊將不會被保留,它們將遺失。"
},
"valid-btn": "關聯方塊"
}
},
"unlink-models": {
"avatar": {
"title": "取消關聯 Avatar",
"desc": "請注意,取消關聯 Avatar 將禁用該版本的共享 Avatar 使用,直到重新啟用。",
"keep-models": {
"label": "保留 Avatar",
"title": "保留 Avatar 將會在取消關聯後把共享文件夾的所有 Avatar 複製到當前版本。如果此項被禁用,Avatar 將不會遺失。"
},
"valid-btn": "取消關聯 Avatar"
},
"saber": {
"title": "取消關聯光劍",
"desc": "請注意,取消關聯光劍將禁用該版本的共享光劍使用,直到重新啟用。",
"keep-models": {
"label": "保留光劍",
"title": "保留光劍將會在取消關聯後把共享文件夾的所有光劍複製到當前版本。如果此項被禁用,光劍將不會遺失。"
},
"valid-btn": "取消關聯光劍"
},
"platform": {
"title": "取消關聯平台",
"desc": "請注意,取消關聯平台將禁用該版本的共享平台使用,直到重新啟用。",
"keep-models": {
"label": "保留平台",
"title": "保留平台將會在取消關聯後把共享文件夾的所有平台複製到當前版本。如果此項被禁用,平台將不會遺失。"
},
"valid-btn": "取消關聯平台"
},
"bloq": {
"title": "取消關聯方塊",
"desc": "請注意,取消關聯方塊將禁用該版本的共享方塊使用,直到重新啟用。",
"keep-models": {
"label": "保留方塊",
"title": "保留方塊將會在取消關聯後把共享文件夾的所有方塊複製到當前版本。如果此項被禁用,方塊將不會遺失。"
},
"valid-btn": "取消關聯方塊"
}
}
},
"notifications": {
"prevent-for-mods": {
"title": "需要的 Mod",
"desc": "確保你已經安裝了在 BeatSaber 中使用模型所需的 Mod",
"go-to-mods": "前往 Mod 頁",
"not-remind": "不再提醒我"
},
"prevent-for-models-breaks": {
"title": "已損壞的模型",
"desc": "自從Beat Saber引擎更新以來,所有自定義模型的MOD都已損壞,需要更新。它們還沒有被更新。"
},
"export-success": {
"title": "導出成功 🎉"
}
}
},
"beat-saver": {
"maps-sorts": {
"Latest": "最新",
"Relevance": "相關",
"Rating": "評分",
"Curated": "Curated"
}
},
"auto-update": {
"checking": "檢查更新中",
"downloading": "下載更新中"
},
"bs-shortcut-launch": {
"beat-saber-launching": "啟動 Beat Saber",
"launching": "啟動中",
"open-bsmanager": "打開 BSManager",
"status-text": {
"init": "正在初始化...",
"success": {
"BS_LAUNCHING": "Beat Saber 啟動中...",
"STEAM_LAUNCHING": "Steam 啟動中...",
"STEAM_LAUNCHED": "Steam 成功啟動!",
"UNABLE_TO_LAUNCH_STEAM": "無法啟動 Steam, 強制啟動 Beat Saber ..."
}
}
},
"dateformat": {
"dayNames": ["週日", "週一", "週二", "週三", "週四", "週五", "週六", "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
"monthNames": ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月", "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
"timeNames": ["上午", "下午", "上午", "下午", "上午", "下午", "上午", "下午"]
}
}
+996
View File
@@ -0,0 +1,996 @@
{
"misc": {
"download": "下载",
"add": "添加",
"verify": "验证",
"launch": "启动",
"mods": "Mod",
"maps": "谱面",
"playlists": "歌单",
"models": "模型",
"cancel": "取消",
"delete": "删除",
"accept": "接受",
"refuse": "拒绝",
"apply": "应用",
"copy": "复制",
"copied": "已复制!"
},
"nav-bar": {
"add-version": "添加版本",
"settings": "设置",
"shared": {
"text": "共享",
"tooltip": "共享内容"
}
},
"pages": {
"shared-maps": {
"title": "共享谱面"
},
"version-viewer": {
"launch-mods": {
"oculus": "Oculus 模式",
"oculus-description": "若使用 Steam 版 BeatSaber,这允许你在绕过 SteamVR 的同时使用 Oculus 的 VR comsposer,可能会有性能提升。(不只是 Oculus 头显)",
"desktop": "FPFC 模式",
"desktop-description": "第一人称飞控模式允许你使用键盘 WASD 和鼠标在游戏中进行导航。你无需带上头显即可进行测试!",
"debug": "Debug 模式",
"debug-description": "为 IPA 启用输出日志窗口。 会显示所用 Mod 的 debug 输出",
"advanced-launch": {
"button": "高级启动",
"placeholder": "额外启动参数,例如: --revert; --nowait"
}
},
"maps": {
"title": "Shared maps",
"search-bar": {
"search-placeholder": "谱面搜索",
"filters-btn": "筛选",
"dropdown": {
"export-maps": "导出谱面",
"delete-maps": "删除谱面"
}
},
"tabs": {
"maps": {
"actions": {
"add-maps": {
"text": "添加"
},
"link-maps": {
"tooltips": {
"link": "Link maps",
"unlink": "Unlink maps"
}
}
},
"empty-maps": {
"text": "无谱面",
"button": "下载谱面"
}
}
}
},
"mods": {
"loading-mods": "Mod 加载中...",
"no-internet": "无网络",
"mods-not-available": "该版本 BeatSaber 暂无可用 Mod",
"buttons": {
"more-infos": "更多信息",
"install-or-update": "安装或更新"
},
"mods-grid": {
"header-bar": {
"name": "名称",
"installed": "已安装",
"latest": "最新",
"description": "描述",
"dropdown": {
"uninstall-all": "全部卸载"
}
}
}
},
"dropdown": {
"open-folder": "打开文件夹",
"verify-files": "验证文件",
"clone": "Clone",
"edit": "编辑",
"uninstall": "卸载",
"create-shortcut": "创建快捷方式",
"shared-folders": "Shared Folders",
"restore-oculus-folder": "Restore the folder"
}
},
"available-versions": {
"title": "选择版本",
"steam-release": "发布页面",
"dropdown": {
"refresh": "刷新版本",
"import-version": "导入版本"
},
"recommended": "推荐",
"recommended-tooltip": "多 Mod 版本"
},
"settings": {
"steam-and-oculus": {
"title": "Steam & Oculus",
"description": "登出后,您可以在下一次下载 Beat Saber 时切换帐户。",
"logout": "登出",
"download-platform": {
"title": ",默认平台",
"desc": "选择要下载 BeatSaber 的默认平台。",
"always-ask": "总是询问"
}
},
"appearance": {
"title": "外观",
"description": "选择 BSManager 的两种主题色",
"reset": "重置",
"sub-title": "主题",
"themes": {
"dark": "Dark",
"light": "Light",
"os": "与系统保持同步"
}
},
"installation-folder": {
"title": "安装文件夹",
"description": "为 BeatSaber 不同版本及未来其他特性修改默认文件夹",
"choose-folder": "选择文件夹"
},
"additional-content": {
"title": "附加内容",
"description": "允许你自定义 BeatSaber 的附加内容!",
"deep-links": {
"sub-title": "一键安装"
}
},
"language": {
"title": "语言",
"description": "选择语言",
"languages": {
"en-EN": "English, UK",
"en-US": "English, US",
"fr-FR": "Français",
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"zh-CN": "简体中文",
"zh-TW": "正體中文",
"ja-JP": "日本語",
"translated": {
"en-EN": "英式英语",
"en-US": "美式英语",
"fr-FR": "法语",
"es-ES": "西班牙语",
"de-DE": "德语",
"ru-RU": "俄语",
"zh-CN": "简体中文",
"zh-TW": "正体中文",
"ja-JP": "日语"
}
}
},
"patreon": {
"title": "支持 BSManager 💖",
"description": "支持该项目并帮助我们持续改进 BSManager。",
"buttons": {
"support": "支持 BSManager 🥰",
"supporters": "支持者 👀"
},
"view": {
"no-supporters": "暂无支持者",
"sponsors": "赞助者",
"supporters": "支持者"
}
},
"discord": {
"description": "在社交媒体上关注我们,加入 BSManager 社区!"
},
"contribution": {
"description": "建议新功能或报告错误以帮助改进 BSManager",
"buttons": {
"request-features": "请求新功能",
"report-bug": "报告 bug",
"open-logs": "打开日志"
}
}
}
},
"notifications": {
"types": {
"error": "🚨 错误",
"warning": "⚠️ 警告",
"success": "🎉 成功"
},
"common": {
"msg": {
"error-occurred": "发生了一个错误"
}
},
"shared": {
"errors": {
"titles": {
"operation-running": "操作进行中",
"no-internet": "无网络"
},
"msg": {
"operation-running": "等待当前操作完成,然后重试。",
"no-internet": "检查你的连接并重试。"
}
}
},
"bs-download": {
"success": {
"titles": {
"download-success": "下载完成",
"verification-finished": "验证完成"
}
},
"steam-download": {
"warnings": {
"msg": {
"ManifestChecksum": "之前下载的清单与新的清单不匹配 🤔",
"ConnectionTimeout": "你的网络连接似乎不稳定 🥶",
"ConnectionLost": "连接已丢失,请重试...",
"ConnectionError": "无法连接到 Steam,请重试...",
"Unknown": "发生了奇怪的事情 🤔 你的连接可能不稳定。"
}
},
"errors": {
"titles": {
"dotnet-required": "需要 .NET 6"
},
"msg": {
"401": "Steam 似乎不想让我们下载 Beat Saber😢",
"404": "无法联系 Steam 服务器。",
"Password": "密码无效",
"InvalidCredentials": "登录凭据无效、连接未经批准或登录尝试次数过多。",
"NoManifest": "未找到清单",
"DirectoryCreate": "无法安装必要的文件夹。",
"NotAvailableApp": "您是否在没有安装 BeatSaber 的情况下尝试下载?🤣",
"DepotNotFound": "无法下载 Beat Saber 😥 稍后重试 😕",
"NotCompleted": "下载无法完成 ¯\\_(ツ)_/¯",
"InvalidManifest": "无法下载 Beat Saber 😥 稍后重试 😕",
"NoValidKey": "无法下载 Beat Saber 😥 稍后重试 😕",
"NoManifestCode": "无法下载 Beat Saber 😥 稍后重试 😕",
"Unknown": "发生了一个错误 ¯\\_(ツ)_/¯",
"NoServer": "U无法联系 Steam 服务器。",
"NotAllowed": "显然你没有下载 Beat Saber 的许可 🥱",
"ConnectionTimeout": "无法连接到 Steam 😕",
"SteamLib": "如果你遇到此错误,请在 GitHub 上报告该错误并附上日志。",
"ConnectionError": "尝试 10 次后仍无法连接到 Steam🤯",
"LicenceError": "无法获取许可证列表。",
"RateLimitExceeded": "你已经尝试了太多次,请稍等片刻,稍后再试。",
"TokenRejected": "你的登录令牌已被拒绝 😕 请重试。",
"AccessDenied": "访问 Steam 被拒绝。",
"dotnet-required": "必须安装 .NET 6 Runtime 才能下载 Beat Saber 版本。单击下面的按钮下载它。"
},
"actions": {
"download-dotnet": "下载 .NET 6"
}
}
},
"oculus-download": {
"errors": {
"msg": {
"DOWNLOAD_MANIFEST_FAILED": "无法下载此版本的清单;你的登录令牌可能无效。",
"MANIFEST_FILE_NOT_FOUND": "找不到此版本的清单。",
"PARSE_MANIFEST_FILE_FAILED": "读取清单时发生错误。",
"ALREADY_DOWNLOADING": "已经有一个版本在下载中。",
"UNABLE_TO_GET_MANIFEST": "无法获取下载所需的清单。",
"VERIFY_INTEGRITY_FAILED": "文件验证过程中发生错误。",
"SOME_FILES_FAILED_TO_DOWNLOAD": "一些文件下载失败。",
"OCULUS_LOGIN_TIMED_OUT": "获取登录令牌用时过长。",
"OCULUS_LOGIN_WINDOW_CLOSED_BY_USER": "Meta 登录窗口被关闭。",
"NO_META_AUTH_TOKEN": "无法获取下载所需的 Meta 登录令牌。",
"UNKNOWN_ERROR": "发生未知错误。"
}
}
}
},
"bs-import-version": {
"success": {
"start-import": {
"title": "正在导入 👌",
"desc": "导入可能需要几分钟时间(依赖于你如何配置)。"
},
"imported": {
"title": "已导入版本 🎉"
}
},
"errors": {
"import-error": {
"desc": "检查所选文件夹是否为 Beat Saber 的安装内容。"
}
}
},
"settings": {
"move-folder": {
"success": {
"titles": {
"transfer-started": "正在传输",
"transfer-finished": "传输完成"
},
"descs": {
"transfer-started": "传输已开始,可能需要几分钟时间(依赖于你如何配置)。"
}
},
"errors": {
"titles": {
"transfer-failed": "传输失败 😕"
},
"descs": {
"COPY_TO_SUBPATH": "目标文件夹不能是源文件夹的子文件夹。",
"restore-linked-folders": "恢复共享文件夹时发生错误。你仍然可以通过版本页面上的'共享文件夹'菜单手动恢复它们。"
}
}
},
"steam": {
"success": {
"titles": {
"logout": "断开与 Steam 的连接"
}
}
},
"additional-content": {
"deep-link": {
"select-all": "全选",
"activation": {
"success": {
"title": "一键安装激活成功!",
"description": "一键安装已被激活。"
},
"error": {
"description": "无法激活一键安装。"
}
},
"deactivation": {
"success": {
"title": "一键安装已停用!",
"description": "一键安装安装已被停用。"
},
"error": {
"description": "发生未知错误。"
}
},
"check-all-enabled": {
"title": "一键安装已禁用",
"description": "一个或多个一键安装被禁用。前往设置以启用它们。",
"actions": {
"settings": "设置",
"not-remind": "不再提醒"
}
}
}
}
},
"bs-launch": {
"success": {
"titles": {
"BS_LAUNCHING": "启动中...🚀",
"STEAM_LAUNCHING": "Steam 正在启动!"
},
"msg": {
"BS_LAUNCHING": "别忘了热身哦 😉",
"STEAM_LAUNCHING": "Beat Saber 会在 Steam 启动后自动启动。"
}
},
"errors": {
"titles": {
"UNKNOWN_ERROR": "无法启动",
"STEAM_NOT_RUNNING": "Steam 未运行",
"OCULUS_NOT_RUNNING": "Oculus 未运行",
"BS_ALREADY_RUNNING": "Beat Saber 已在运行",
"EXE_NOT_FINDED": "缺少文件",
"EXIT": "突然停止",
"OCULUS_LIB_NOT_FOUND": "未找到 Oculus 库"
},
"msg": {
"UNKNOWN_ERROR": "发生未知错误。",
"STEAM_NOT_RUNNING": "启动 BeatSaber 前必须运行 Steam。",
"OCULUS_NOT_RUNNING": "启动 BeatSaber 前必须运行 Oculus。",
"BS_ALREADY_RUNNING": "再次启动前请关闭 BeatSaber。",
"EXE_NOT_FINDED": "某些文件似乎丢失了,尝试验证文件。",
"EXIT": "BeatSaber 突然停止,请检查文件。",
"OCULUS_LIB_NOT_FOUND": "检查 Oculus 应用是否正确安装,以及库是否在 Oculus 中正确定义。"
},
"actions": {
"STEAM_NOT_RUNNING": "启动 Steam"
}
}
},
"steam": {
"steam-launching": {
"title": "Steam 正在启动!",
"description": "Beat Saber 会在 Steam 启动后自动启动。"
}
},
"custom-version": {
"errors": {
"titles": {
"CantEditSteam": "无法编辑",
"CantRename": "无法重命名",
"VersionAlreadExist": "该版本已存在",
"CantClone": "无法克隆"
},
"msg": {
"CantEditSteam": "你不能编辑 Steam 版本。不过你可以克隆它。"
}
},
"success": {
"titles": {
"CloningFinished": "克隆完成 🎉"
}
}
},
"mods": {
"install-mods": {
"titles": {
"success": "Mod 已安装 🎉",
"warning": "Mod 已安装 🤔"
},
"msg": {
"success": "所有 Mod 已被安装。",
"warning": "一个或多个 Mod 无法安装。",
"errors": {
"no-mods": "没有 Mod 可安装。",
"cannot-install-bsipa": "BSIPA安装失败 😨"
}
}
},
"uninstall-mod": {
"titles": {
"success": "Mod 已卸载 🎉"
},
"msg": {
"errors": {
"no-mods": "该 Mod 未安装 😑"
}
}
},
"uninstall-all-mods": {
"titles": {
"success": "所有 Mod 已卸载 🎉"
},
"msg": {
"success": "所有 Mod 已被卸载。",
"errors": {
"no-mods": "该版本中没有安装 Mod 😑"
}
}
}
},
"maps": {
"one-click-install": {
"success": "谱面安装完成",
"error": "安装谱面时发生错误"
}
},
"playlists": {
"one-click-install": {
"success": "歌单安装完成",
"error": "歌单安装时发生错误"
}
},
"models": {
"one-click-install": {
"success": "模型安装完成",
"error": "模型安装时发生错误"
}
},
"shared-folder": {
"info": {
"userdata-backup-created": {
"title": "备份已创建",
"msg": "共享 “UserData” 文件夹可能会产生错误,如果出现问题,请取消关联该文件夹以恢复备份"
}
}
},
"create-launch-shortcut": {
"success": {
"title": "快捷方式已创建",
"msg": "快捷方式已在桌面上创建"
},
"error": {
"msg": "创建快捷方式时发生错误"
}
}
},
"modals": {
"misc": {
"remember-my-choice": "记住我的选择"
},
"choose-store": {
"title": "选择哪个平台?",
"body": "选择你希望为其下载 BeatSaber 的平台。",
"set-in-settings": "在设置中设定默认平台"
},
"guard": {
"title": "Steam Guard",
"inputs": {
"guard-code": {
"label": "Guard Code",
"placeholder": "输入你的 Guard Code"
}
},
"buttons": {
"submit": "登录"
}
},
"steam-login": {
"title": "Steam登录",
"inputs": {
"username": {
"label": "使用账户名登录",
"placeholder": "输入你的账户名"
},
"password": {
"label": "密码",
"placeholder": "输入你的密码",
"max-length-warning": "密码超过64个字符!如果密码无效,请尝试只输入前64个字符。"
},
"qr": {
"label": "或使用二维码",
"note": {
"use-the": "使用",
"steam-mobile-app": "Steam 移动应用",
"to-connect-with-qr": "通过二维码登录。"
}
},
"stay": "记住我"
},
"why-credentials": "为什么需要我的凭证?",
"need-help-to-connect": "我需要帮助以访问我的账户!",
"buttons": {
"submit": "登录"
}
},
"steam-auth-approve": {
"title": "等待确认",
"protected-by-mobile-auth": "账户受移动认证器保护。",
"use-steam-app-to-approve": "使用 Steam 移动应用程序确认连接...",
"not-access-to-steam-app": "我无法访问 Steam 移动应用程序"
},
"steam-credentials": {
"title": "Steam 凭证",
"p-1": "凭证仅用于下载游戏,因为 Steam 需要验证你是否已经购买了游戏,以便允许你下载它。它们不会被保存,而是直接传递给 DepotDownloader。如果你不想输入你的凭证,你可以按照此教程操作:",
"p-2": "然后点击右上角的齿轮图标,选择“导入版本”,选择 Beat Saber 已下载的文件夹(如果你按照上面的教程,你应该会得到正确的位置)"
},
"bs-import-version": {
"title": "导入版本",
"description": "导入 Beat Saber 版本以与 BSManager 一起使用。这将把所选的 Beat Saber 安装文件夹复制到 BSManager 版本文件夹。",
"oculus-version": "Oculus 版本",
"oculus-version-tooltip": "检查是否为 Oculus 版本",
"buttons": {
"submit": "导入版本"
}
},
"bs-uninstall": {
"title": "卸载",
"description": "你确定要卸载 Beat Saber {version} 吗?你将不得不重新下载它才能游玩。",
"buttons": {
"submit": "卸载"
}
},
"install-folder": {
"title": "安装文件夹",
"description": "更改默认安装文件夹将导致所有已安装数据移动到新文件夹。",
"buttons": {
"submit": "选择文件夹"
}
},
"edit-version": {
"title": "编辑版本",
"buttons": {
"submit": "编辑"
}
},
"clone-version": {
"title": "克隆版本",
"description": "克隆版本可以让你在两个版本之间分离附加的 BeatSaber 内容。",
"inputs": {
"name": {
"label": "名称",
"placeholder": "版本名称"
},
"color": {
"label": "颜色"
}
},
"buttons": {
"submit": "克隆"
}
},
"uninstall-mod": {
"title": "卸载",
"description": "你确定要卸载 {mod} 吗?这可能会导致其他已安装的 Mod 失效。",
"description-bsipa": "你确定要卸载 BSIPA 吗?之后所有已安装的 Mod 将不再起作用。"
},
"uninstall-all-mods": {
"title": "Mod 卸载中",
"description": "你确定要卸载 {version} 版本的所有 Mod 卸载吗?该操作无法回退。"
},
"maps-actions": {
"delete-maps": {
"title": {
"single": "删除该谱面?",
"multiple": "删除谱面?"
},
"desc": {
"single": "你确定要删除谱面 {name} 吗?",
"multiple": "你确定要删除全部 {nb} 个谱面吗?"
},
"info": {
"desc": {
"single": "该谱面是共享谱面的一部分",
"multiple": "这些谱面是共享谱面的一部分"
},
"title": {
"single": "该谱面也将从使用共享谱面的版本中移除",
"multiple": "这些谱面也将从使用共享谱面的版本中移除"
}
}
},
"link-maps": {
"title": "关联谱面",
"desc": "关联谱面可以在所有启用此功能的版本之间共享谱面。一旦关联,该版本将受益于共享谱面。",
"info": "添加和删除的谱面也将被共享",
"keep-maps": {
"label": "保留谱面",
"title": "保留谱面将会把当前版本的所有谱面复制到共享谱面文件夹。否则,该版本的谱面将不会被保留,它们将丢失。"
},
"valid-btn": "关联谱面"
},
"unlink-maps": {
"title": "取消关联谱面",
"desc": "请注意,取消关联谱面后该版本将无法使用共享谱面,直到重新启用。",
"keep-maps": {
"label": "保留谱面",
"title": "保留谱面将会在取消关联后把共享文件夹的所有谱面复制到当前版本。如果此项被禁用,谱面也不会丢失。"
},
"valid-btn": "取消关联谱面"
}
},
"download-maps": {
"search-btn": "搜索",
"loading-maps": "谱面加载中...",
"no-maps-found": "未找到谱面",
"no-internet": "无网络"
},
"mods-disclaimer": {
"title": "免责声明",
"p-1": "选择使用 Mod,你需要理解:",
"li-1": "你可能会遇到原版游戏中不存在的问题。99.9%的bug、崩溃和延迟都是由 Mod 引起的。",
"li-2": "模组可能会因更新而失效,这是正常的——当这种情况发生时,请保持耐心和尊重,因为模组制作者都是有真实生活的志愿者。",
"li-3": "Beat Games并不是故意想要破坏 Mod。他们希望能够修改代码库,有时这会破坏 Mod,但他们并不是想要消灭 Mod。",
"p-2": "不要因为与 Mod 相关的问题攻击游戏开发者,反之亦然——Mod 制作者和游戏开发者是两个不同的群体。总之,不要做个 SB。"
},
"shared-folders": {
"title": "共享文件夹",
"description": "关联 Beat Saber 文件夹,以便与其他版本中的共享文件夹同步其内容。请注意,删除操作也会被共享。",
"buttons": {
"add-folder": "添加文件夹",
"link-folder": "关联文件夹",
"unlink-folder": "取消关联文件夹",
"link-all": "关联所有"
}
},
"create-launch-shortcut": {
"title": "创建快捷方式",
"desc": "创建快捷方式使得你可以在不通过 BSManager 的情况下以特定选项启动 BeatSaber",
"launch-options": "启动选项",
"advanced-launch": "高级启动",
"valid-btn": "创建快捷方式"
},
"connect-to-meta": {
"title": "连接到 Meta",
"body": {
"token-needed": "需要 Meta 登录令牌用于下载 Beat Saber。",
"need-cookie-enabled": "通过登录 Meta,将打开一个登录窗口,然后你可以开始登录过程。请确保接受 cookie,否则我们可能无法检索你的令牌以开始下载。",
"enter-token-manually": "手动输入我的登录令牌",
"enter-token-manually-tooltip": "这将允许你在不通过 Meta 登录的情况下输入你的登录令牌。"
},
"stay": "记住我",
"connect-to-meta": "连接到 Meta"
},
"original-version-backup-oculus": {
"title": "警告",
"body": {
"must-be-installed-once": "你必须至少从 Oculus 商店安装过一次 BeatSaber,否则 BeatSaber 可能会在启动后自动关闭。",
"need-backup": "要启动该版本,位于你的 Oculus 库中的 BeatSaber 安装文件夹将被重命名。",
"can-restore-later": "如果需要,你可以通过前往 BSManager 的原始 Oculus 版本选项并点击'恢复文件夹'来恢复它。",
"tips-launch-oculus": "提示:只要原始版本没有被恢复,你就可以直接从 Oculus 启动该版本。"
},
"not-remind-me": "不再提醒我",
"understood": "明白了"
},
"enter-meta-token": {
"title": "Oculus令牌",
"body": {
"info-enter-token": "下载Beat Saber需要您的Oculus登录令牌。",
"how-obtain-token": "我如何获得我的Oculus令牌?",
"oculus-token": "Oculus令牌",
"token-is-invalid": "令牌无效。",
"save-my-token": "保存我的令牌",
"have-token-saved": "我已经保存了一个令牌",
"save-token-info": "这将保存您的令牌以便更容易地重新使用。您需要创建一个密码来加密您的令牌以进行存储。如果您忘记了密码,只需再次提供您的令牌即可。",
"password": "密码",
"password-too-short": "密码太短",
"info-enter-password": "下载Beat Saber需要您的Oculus登录令牌。请输入用于保存您的Oculus令牌的密码。",
"info-disabled-btn-password": "使用提供的密码解密的令牌无效。确保密码与保存令牌时使用的密码相同。",
"enter-oculus-token": "输入Oculus令牌"
},
"valid-btn": "验证"
}
},
"maps": {
"map-filter-panel": {
"duration": "时长",
"tags": "标签",
"specificities": "general",
"requirements": "要求"
},
"map-types": {
"accuracy": "精确度",
"balanced": "平衡",
"challenge": "挑战",
"dancestyle": "舞蹈",
"fitness": "健身",
"speed": "速度",
"tech": "技术"
},
"map-styles": {
"dance": "dance",
"swing": "swing",
"nightcore": "nightcore",
"folk": "folk",
"family": "family",
"ambient": "ambient",
"funk": "funk",
"jazz": "jazz",
"soul": "soul",
"speedcore": "speedcore",
"punk": "punk",
"rb": "r&b",
"holiday": "holiday",
"vocaloid": "vocaloid",
"jrock": "j-rock",
"trance": "trance",
"drumbass": "drum & bass",
"comedy": "comedy",
"instrumental": "instrumental",
"hardcore": "hardcore",
"kpop": "k-pop",
"indie": "indie",
"techno": "techno",
"house": "house",
"game": "video game",
"film": "film",
"alt": "alternative",
"dubstep": "dubstep",
"metal": "metal",
"anime": "anime",
"hiphop": "hiphop",
"jpop": "j-pop",
"rock": "rock",
"pop": "pop",
"electronic": "electronic",
"classical-orchestral": "Classical & Orchestral"
},
"map-specificities": {
"automapper": "AI",
"ranked": "ranked",
"curated": "curated",
"verified": "verified",
"fullSpread": "full spread"
},
"difficulties": {
"Easy": "easy",
"Normal": "normal",
"Hard": "hard",
"Expert": "expert",
"ExpertPlus": "expert+"
},
"map-item": {
"by": "By {songAutor}",
"mapped-by": "mapped by"
}
},
"models": {
"types": {
"singular": {
"avatar": "avatar",
"saber": "光剑",
"platform": "平台",
"bloq": "方块"
},
"plural": {
"avatar": "avatars",
"saber": "光剑",
"platform": "平台",
"bloq": "方块"
}
},
"sorts": {
"name": "名称",
"date": "日期",
"author": "作者"
},
"panel": {
"actions": {
"search": "搜索模型",
"drop-down": {
"delete": "删除模型",
"export": "导出模型"
},
"link-models": "关联模型",
"unlink-models": "取消关联模型"
},
"grid": {
"loading": "模型加载中...",
"no-models": "无模型",
"download-models": "下载模型"
}
},
"modals": {
"delete-model": {
"title": "删除该模型",
"desc": "确定要删除模型 {modelName} 吗?",
"linked-annotation": "该模型将从所有关联版本中移除。"
},
"delete-models": {
"title": "删除模型",
"desc": "确定要删除 {nb} 个模型吗?",
"linked-annotation": "这些模型将从所有关联版本中移除。"
},
"download-models": {
"search-btn": "搜索",
"search-placeholder": "搜索模型",
"search-tips": {
"header": {
"tag": "Tag",
"desc": "描述"
},
"author-desc": "仅显示指定作者的模型。",
"hash-desc": "仅显示具有指定哈希值的模型。",
"tag-desc": "仅显示具有指定 tag 的模型。",
"name-desc": "仅显示具有指定名称的模型。",
"discordid-desc": "仅显示来自指定 Discord 用户的模型。",
"status-desc": "仅显示具有指定状态的模型。(仅限个人资料,且仅限作者)"
},
"no-models": "未找到模型",
"no-internet": "无网络连接",
"error-occured": "发生了一个错误,稍后重试。"
},
"link-models": {
"avatar": {
"title": "关联 Avatar",
"desc": "关联 Avatar 允许在所有启用此功能的版本之间共享 Avatar。一旦关联,该版本将受益于共享 Avatar。",
"info": "对 Avatar 的添加和删除也将被共享",
"keep-models": {
"label": "保留 Avatar",
"title": "保留 Avatar 将会把当前版本的所有 Avatar复制到共享 Avatar文件夹。否则,该版本的 Avatar将不会被保留,它们将丢失。"
},
"valid-btn": "关联 Avatar "
},
"saber": {
"title": "关联光剑",
"desc": "关联光剑允许在所有启用此功能的版本之间共享光剑。一旦关联,该版本将受益于共享光剑。",
"info": "对光剑的添加和删除也将被共享",
"keep-models": {
"label": "保留光剑",
"title": "保留光剑将会把当前版本的所有光剑复制到共享光剑文件夹。否则,该版本的光剑将不会被保留,它们将丢失。"
},
"valid-btn": "关联光剑"
},
"platform": {
"title": "关联平台",
"desc": "关联平台允许在所有启用此功能的版本之间共享平台。一旦关联,该版本将受益于共享平台。",
"info": "对平台的添加和删除也将被共享",
"keep-models": {
"label": "保留平台",
"title": "保留平台将会把当前版本的所有平台复制到共享平台文件夹。否则,该版本的平台将不会被保留,它们将丢失。"
},
"valid-btn": "关联平台"
},
"bloq": {
"title": "关联方块",
"desc": "关联方块允许在所有启用此功能的版本之间共享方块。一旦关联,该版本将受益于共享方块。",
"info": "对方块的添加和删除也将被共享",
"keep-models": {
"label": "保留方块",
"title": "保留方块将会把当前版本的所有方块复制到共享方块文件夹。否则,该版本的方块将不会被保留,它们将丢失。"
},
"valid-btn": "关联方块"
}
},
"unlink-models": {
"avatar": {
"title": "取消关联 Avatar",
"desc": "请注意,取消关联 Avatar 将禁用该版本的共享 Avatar 使用,直到重新启用。",
"keep-models": {
"label": "保留 Avatar",
"title": "保留 Avatar 将会在取消关联后把共享文件夹的所有 Avatar 复制到当前版本。如果此项被禁用,Avatar 将不会丢失。"
},
"valid-btn": "取消关联 Avatar"
},
"saber": {
"title": "取消关联光剑",
"desc": "请注意,取消关联光剑将禁用该版本的共享光剑使用,直到重新启用。",
"keep-models": {
"label": "保留光剑",
"title": "保留光剑将会在取消关联后把共享文件夹的所有光剑复制到当前版本。如果此项被禁用,光剑将不会丢失。"
},
"valid-btn": "取消关联光剑"
},
"platform": {
"title": "取消关联平台",
"desc": "请注意,取消关联平台将禁用该版本的共享平台使用,直到重新启用。",
"keep-models": {
"label": "保留平台",
"title": "保留平台将会在取消关联后把共享文件夹的所有平台复制到当前版本。如果此项被禁用,平台将不会丢失。"
},
"valid-btn": "取消关联平台"
},
"bloq": {
"title": "取消关联方块",
"desc": "请注意,取消关联方块将禁用该版本的共享方块使用,直到重新启用。",
"keep-models": {
"label": "保留方块",
"title": "保留方块将会在取消关联后把共享文件夹的所有方块复制到当前版本。如果此项被禁用,方块将不会丢失。"
},
"valid-btn": "取消关联方块"
}
}
},
"notifications": {
"prevent-for-mods": {
"title": "需要的 Mod",
"desc": "确保你已经安装了在 BeatSaber 中使用模型所需的 Mod",
"go-to-mods": "前往 Mod 页",
"not-remind": "不再提醒我"
},
"prevent-for-models-breaks": {
"title": "已损坏的模型",
"desc": "自从Beat Saber引擎更新以来,所有自定义模型的MOD都已损坏,需要更新。它们还没有被更新。"
},
"export-success": {
"title": "导出成功 🎉"
}
}
},
"beat-saver": {
"maps-sorts": {
"Latest": "最新",
"Relevance": "相关",
"Rating": "评分",
"Curated": "Curated"
}
},
"auto-update": {
"checking": "检查更新中",
"downloading": "下载更新中"
},
"bs-shortcut-launch": {
"beat-saber-launching": "启动 Beat Saber",
"launching": "启动中",
"open-bsmanager": "打开 BSManager",
"status-text": {
"init": "正在初始化...",
"success": {
"BS_LAUNCHING": "Beat Saber 启动中...",
"STEAM_LAUNCHING": "Steam 启动中...",
"STEAM_LAUNCHED": "Steam 成功启动!",
"UNABLE_TO_LAUNCH_STEAM": "无法启动 Steam, 强制启动 Beat Saber ..."
}
}
},
"dateformat": {
"dayNames": ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
"monthNames": ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月", "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
"timeNames": ["上午", "下午", "上午", "下午", "上午", "下午", "上午", "下午"]
}
}
-26
View File
@@ -1,26 +0,0 @@
<job id="test">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
CheckZeroArgs("type A as first arg!!")
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
'On Error Resume Next
Dim key: key = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
Dim value: value = "AppData"
ParseHiveAndSubKey key, constHive, strSubKey
GetExpandedStringValue constHive, strSubKey, value, exResult
WriteLine "GetExpandedStringValue: " & exResult
GetStringValue constHive, strSubKey, value, nResult
WriteLine "GetStringValue: " & nResult
set ws = createobject("Wscript.shell")
WriteLine "regread: " & ws.regread(key & "\AppData")
</script>
</job>
@@ -1,75 +0,0 @@
' Notes: wanted to implement this using a class but:
' 1. No matter what I did I could not assign the result of GetObject to a private member
' 2. It looks as if all methods were treated as subs from the outside world which is not good since
' some of these need to return a value
'
Set private_oReg = GetObject("winmgmts:\root\default:StdRegProv")
Function SetStringValue(constHive, strSubKey, strValueName, strValue)
SetStringValue = private_oReg.SetStringValue(constHive, strSubKey, strValueName, strValue)
End Function
Sub GetStringValue(constHive, strKey, strValueName, strValue)
private_oReg.GetStringValue constHive, strKey, strValueName, strValue
End Sub
Function SetExpandedStringValue(constHive, strSubKey, strValueName, strValue)
SetExpandedStringValue = private_oReg.SetExpandedStringValue(constHive, strSubKey, strValueName, strValue)
End Function
Sub GetExpandedStringValue(constHive, strKey, strValueName, strValue)
private_oReg.GetExpandedStringValue constHive, strKey, strValueName, strValue
End Sub
Function SetMultiStringValue(constHive, strSubKey, strValueName, arrValue)
SetMultiStringValue = private_oReg.SetMultiStringValue(constHive, strSubKey, strValueName, arrValue)
End Function
Sub GetMultiStringValue(constHive, strKey, strValueName, arrStrValue)
private_oReg.GetMultiStringValue constHive, strKey, strValueName, arrStrValue
End Sub
Function SetDWORDValue(constHive, strSubKey, strValueName, arrValue)
SetDWORDValue = private_oReg.SetDWORDValue(constHive, strSubKey, strValueName, arrValue)
End Function
Sub GetDWORDValue(constHive, strKey, strValueName, intDWordValue)
private_oReg.GetDWORDValue constHive, strKey, strValueName, intDWordValue
End Sub
Function SetQWORDValue(constHive, strSubKey, strValueName, strQWordValue)
SetQWORDValue = private_oReg.SetQWORDValue(constHive, strSubKey, strValueName, strQWordValue)
End Function
Sub GetQWORDValue(constHive, strKey, strValueName, intQWordValue)
private_oReg.GetQWORDValue constHive, strKey, strValueName, intQWordValue
End Sub
Function SetBinaryValue(constHive, strSubKey, strValueName, arrValue)
SetBinaryValue = private_oReg.SetBinaryValue(constHive, strSubKey, strValueName, arrValue)
End Function
Sub GetBinaryValue(constHive, strKey, strValueName, arrBinaryValue)
private_oReg.GetBinaryValue constHive, strKey, strValueName, arrBinaryValue
End Sub
Function EnumKey(constHive, strSubKey, arrKeyNames)
EnumKey = private_oReg.EnumKey(constHive, strSubKey, arrKeyNames)
End Function
Function EnumValues(constHive, strSubKey, arrValueNames, arrValueTypes)
EnumValues = private_oReg.EnumValues(constHive, strSubKey, arrValueNames, arrValueTypes)
End Function
Function CreateKey(constHive, strSubKey)
CreateKey = private_oReg.CreateKey(constHive, strSubKey)
End Function
Function DeleteKey(constHive, strSubKey)
DeleteKey = private_oReg.DeleteKey(constHive, strSubKey)
End Function
Function DeleteValue(constHive, strSubKey, strValue)
DeleteValue = private_oReg.DeleteValue(constHive, strSubKey, strValue)
End Function
@@ -1,358 +0,0 @@
' Notes: wanted to implement this using a class but:
' 1. No matter what I did I could not assign the result of GetObject to a private member
' 2. It looks as if all methods were treated as subs from the outside world which is not good since
' some of these need to return a value
' should be removed when migration is complete
Set private_oReg = GetObject("winmgmts:\root\default:StdRegProv")
Set private_oCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
private_oCtx.Add "__ProviderArchitecture", CInt(OSArchitecture)
Set private_oLocator = CreateObject("Wbemscripting.SWbemLocator")
Set private_oServices = private_oLocator.ConnectServer(".", "root\default","","",,,,private_oCtx)
Set private_oRegSpecific = private_oServices.Get("StdRegProv")
Function CheckAccess(hDefKey,sSubKeyName,uRequired, bGranted )
Set Inparams = private_oRegSpecific.Methods_("CheckAccess").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.uRequired = uRequired
set Outparams = private_oRegSpecific.ExecMethod_("CheckAccess", Inparams,,private_oCtx)
bGranted = Outparams.bGranted
CheckAccess = 0
End Function
Function CreateKey(hDefKey,sSubKeyName)
Set Inparams = private_oRegSpecific.Methods_("CreateKey").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
set Outparams = private_oRegSpecific.ExecMethod_("CreateKey", Inparams,,private_oCtx)
CreateKey = 0
End Function
Function DeleteKey(hDefKey,sSubKeyName)
Set Inparams = private_oRegSpecific.Methods_("DeleteKey").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
set Outparams = private_oRegSpecific.ExecMethod_("DeleteKey", Inparams,,private_oCtx)
DeleteKey = 0
End Function
Function DeleteValue(hDefKey,sSubKeyName,sValueName)
Set Inparams = private_oRegSpecific.Methods_("DeleteValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
set Outparams = private_oRegSpecific.ExecMethod_("DeleteValue", Inparams,,private_oCtx)
DeleteValue = 0
End Function
Function EnumKey(hDefKey,sSubKeyName, sNames )
Set Inparams = private_oRegSpecific.Methods_("EnumKey").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
set Outparams = private_oRegSpecific.ExecMethod_("EnumKey", Inparams,,private_oCtx)
sNames = Outparams.sNames
EnumKey = 0
End Function
Function EnumValues(hDefKey,sSubKeyName, sNames,Types )
Set Inparams = private_oRegSpecific.Methods_("EnumValues").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
set Outparams = private_oRegSpecific.ExecMethod_("EnumValues", Inparams,,private_oCtx)
sNames = Outparams.sNames
Types = Outparams.Types
EnumValues = 0
End Function
Function GetBinaryValue(hDefKey,sSubKeyName,sValueName, uValue )
Set Inparams = private_oRegSpecific.Methods_("GetBinaryValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
set Outparams = private_oRegSpecific.ExecMethod_("GetBinaryValue", Inparams,,private_oCtx)
uValue = Outparams.uValue
GetBinaryValue = 0
End Function
Function GetDWORDValue(hDefKey,sSubKeyName,sValueName, uValue )
Set Inparams = private_oRegSpecific.Methods_("GetDWORDValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
set Outparams = private_oRegSpecific.ExecMethod_("GetDWORDValue", Inparams,,private_oCtx)
uValue = Outparams.uValue
GetDWORDValue = 0
End Function
Function GetExpandedStringValue(hDefKey,sSubKeyName,sValueName, sValue )
Set Inparams = private_oRegSpecific.Methods_("GetExpandedStringValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
set Outparams = private_oRegSpecific.ExecMethod_("GetExpandedStringValue", Inparams,,private_oCtx)
sValue = Outparams.sValue
GetExpandedStringValue = 0
End Function
Function GetMultiStringValue(hDefKey,sSubKeyName,sValueName, sValue )
Set Inparams = private_oRegSpecific.Methods_("GetMultiStringValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
set Outparams = private_oRegSpecific.ExecMethod_("GetMultiStringValue", Inparams,,private_oCtx)
sValue = Outparams.sValue
GetMultiStringValue = 0
End Function
Function GetQWORDValue(hDefKey,sSubKeyName,sValueName, uValue )
Set Inparams = private_oRegSpecific.Methods_("GetQWORDValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
set Outparams = private_oRegSpecific.ExecMethod_("GetQWORDValue", Inparams,,private_oCtx)
uValue = Outparams.uValue
GetQWORDValue = 0
End Function
Function GetSecurityDescriptor(hDefKey,sSubKeyName, Descriptor )
Set Inparams = private_oRegSpecific.Methods_("GetSecurityDescriptor").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
set Outparams = private_oRegSpecific.ExecMethod_("GetSecurityDescriptor", Inparams,,private_oCtx)
Descriptor = Outparams.Descriptor
GetSecurityDescriptor = 0
End Function
Function GetStringValue(hDefKey,sSubKeyName,sValueName, sValue )
Set Inparams = private_oRegSpecific.Methods_("GetStringValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
set Outparams = private_oRegSpecific.ExecMethod_("GetStringValue", Inparams,,private_oCtx)
sValue = Outparams.sValue
GetStringValue = 0
End Function
Function SetBinaryValue(hDefKey,sSubKeyName,sValueName,uValue)
Set Inparams = private_oRegSpecific.Methods_("SetBinaryValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
Inparams.uValue = uValue
set Outparams = private_oRegSpecific.ExecMethod_("SetBinaryValue", Inparams,,private_oCtx)
SetBinaryValue = 0
End Function
Function SetDWORDValue(hDefKey,sSubKeyName,sValueName,uValue)
Set Inparams = private_oRegSpecific.Methods_("SetDWORDValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
Inparams.uValue = uValue
set Outparams = private_oRegSpecific.ExecMethod_("SetDWORDValue", Inparams,,private_oCtx)
SetDWORDValue = 0
End Function
Function SetExpandedStringValue(hDefKey,sSubKeyName,sValueName,sValue)
Set Inparams = private_oRegSpecific.Methods_("SetExpandedStringValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
Inparams.sValue = sValue
set Outparams = private_oRegSpecific.ExecMethod_("SetExpandedStringValue", Inparams,,private_oCtx)
SetExpandedStringValue = 0
End Function
Function SetMultiStringValue(hDefKey,sSubKeyName,sValueName,sValue)
Set Inparams = private_oRegSpecific.Methods_("SetMultiStringValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
Inparams.sValue = sValue
set Outparams = private_oRegSpecific.ExecMethod_("SetMultiStringValue", Inparams,,private_oCtx)
SetMultiStringValue = 0
End Function
Function SetQWORDValue(hDefKey,sSubKeyName,sValueName,uValue)
Set Inparams = private_oRegSpecific.Methods_("SetQWORDValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
Inparams.uValue = uValue
set Outparams = private_oRegSpecific.ExecMethod_("SetQWORDValue", Inparams,,private_oCtx)
SetQWORDValue = 0
End Function
Function SetSecurityDescriptor(hDefKey,sSubKeyName,Descriptor)
Set Inparams = private_oRegSpecific.Methods_("SetSecurityDescriptor").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.Descriptor = Descriptor
set Outparams = private_oRegSpecific.ExecMethod_("SetSecurityDescriptor", Inparams,,private_oCtx)
SetSecurityDescriptor = 0
End Function
Function SetStringValue(hDefKey,sSubKeyName,sValueName,sValue)
Set Inparams = private_oRegSpecific.Methods_("SetStringValue").Inparameters
Inparams.hDefKey = hDefKey
Inparams.sSubKeyName = sSubKeyName
Inparams.sValueName = sValueName
Inparams.sValue = sValue
set Outparams = private_oRegSpecific.ExecMethod_("SetStringValue", Inparams,,private_oCtx)
SetStringValue = 0
End Function
@@ -1,7 +0,0 @@
<job id="JsonSafeStreamTest">
<script language="VBScript" src="util.vbs" />
<script language="VBScript">
str = """" & vbcrlf & "测试\"
Write("{ ""a"": """ & JsonSafe(str) & """}" & vbcrlf)
</script>
</job>
@@ -1,32 +0,0 @@
<job id="createKeyStream">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
CheckZeroArgs("usage: cscript regCreateKey.wsf architecture")
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
Do While Not stdin.AtEndOfLine
strLine = stdin.ReadLine()
strLine = unescape(trim(strLine))
If IsNull(strLine) or strLine = "" Then
WScript.Quit 25127
End If
ParseHiveAndSubKey strLine, constHive, strSubKey
if IsNull(constHive) Then
WriteLineErr "unsupported hive " & strLine
WScript.Quit 25122
End If
Result = CreateKey(constHive, strSubKey)
If Not Result = 0 Then
WScript.Quit Result
End If
Loop
</script>
</job>
@@ -1,29 +0,0 @@
<job id="deleteKey">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
CheckZeroArgs("usage: cscript regDeleteKey.wsf architecture")
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
Do While Not stdin.AtEndOfLine
strLine = stdin.ReadLine()
strLine = unescape(trim(strLine))
ParseHiveAndSubKey strLine, constHive, strSubKey
if IsNull(constHive) Then
WriteLineErr "unsupported hive " & strLine
WScript.Quit 25122
End If
Result = DeleteKey(constHive, strSubKey)
If Not Result = 0 Then
WScript.Quit Result
End If
Loop
</script>
</job>
@@ -1,29 +0,0 @@
<job id="deleteValue">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
CheckZeroArgs("usage: cscript regDeleteValue.wsf architecture")
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
Do While Not stdin.AtEndOfLine
strLine = stdin.ReadLine()
strLine = unescape(trim(strLine))
ParseHiveAndSubKeyAndValue strLine, constHive, strSubKey, strValue
if IsNull(constHive) Then
WriteLineErr "unsupported hive " & strLine
WScript.Quit 25122
End If
Result = DeleteValue(constHive, strSubKey, strValue)
If Not Result = 0 Then
WScript.Quit Result
End If
Loop
</script>
</job>
@@ -1,49 +0,0 @@
'
' Lists the sub keys and values of a given registry key
'
' cscript regList.wsg HKLM\Software
'
' Will Yield:
'
' {
' "hklm\software": {
' "keys": [ .. array of sub keys .. ],
' "values": {
' "moo": {
' "type": "REG_SZ",
' "value": "bar"
' }
' }
' }
' }
<job id="list">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
CheckZeroArgs("usage: cscript regList.wsf architecture regpath1 [regpath2] ... [regpathN]")
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
Write "{"
On Error Resume Next
For v = 1 To args.Count - 1
If (v > 1) Then
Write ","
End If
Dim key: key = trim(args(v))
Write """" & JsonSafe(key) & """: "
ParseHiveAndSubKey key, constHive, strSubKey
If IsNull(constHive) Then
WriteLineErr "unsupported hive " & args(v)
WScript.Quit 25122
End If
ListChildrenAsJson constHive, strSubKey
Next
Write "}"
</script>
</job>
@@ -1,46 +0,0 @@
'
' Lists the sub keys and values of a given registry key, this script is slightly different
' than regList because it reads stdin for the keys to list
'
' echo HKLM\Software | cscript regListStream.wsf A
'
' Will Yield:
'
' {
' "hklm\software": {
' "keys": [ .. array of sub keys .. ],
' "values": {
' "moo": {
' "type": "REG_SZ",
' "value": "bar"
' }
' }
' }
' }
<job id="listStream">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
CheckZeroArgs("usage: echo KEY | cscript regListStream.wsf architecture")
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
Do While Not stdin.AtEndOfLine
strLine = stdin.ReadLine()
strLine = unescape(trim(strLine))
ParseHiveAndSubKey strLine, constHive, strSubKey
if IsNull(constHive) Then
WriteLineErr "unsupported hive " & strLine
WScript.Quit 25122
End If
Write "{ ""key"" : """ & JsonSafe(strLine) & """, ""data"": "
ListChildrenAsJson constHive, strSubKey
Write "}" & vbcrlf
Loop
</script>
</job>
@@ -1,56 +0,0 @@
<job id="putValue">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
usage = "usage: cscript regPutValue.wsf architecture" & vbNewLine _
& "types: REG_SZ, REG_EXPAND_SZ, REG_BINARY, REG_DWORD, REG_MULTI_SZ, REG_QWORD"
CheckZeroArgs(usage)
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
ReadCount = 0
Dim lineArgs(3)
Do While Not stdin.AtEndOfLine
strLine = stdin.ReadLine()
strLine = unescape(trim(strLine))
If IsNull(strLine) or strLine = "" Then
WScript.Quit 25127
End If
lineArgs(ReadCount) = strLine
ReadCount = ReadCount + 1
If ReadCount = 4 Then
ParseHiveAndSubKey lineArgs(0), constHive, strSubKey
if IsNull(constHive) Then
WriteLineErr "unsupported hive " & lineArgs(0)
WScript.Quit 25122
End If
strValueName = lineArgs(1)
strValue = lineArgs(2)
strType = lineArgs(3)
Result = PutValue(constHive, strSubKey, strValueName, strValue, strType)
If Not Result = 0 Then
WriteLineErr "error while putting value: " & result
WScript.Quit Result
End If
ReadCount = 0
Erase lineArgs
End If
Loop
If ReadCount <> 0 Then
WScript.Quit 25123
End If
</script>
</job>
-358
View File
@@ -1,358 +0,0 @@
' TODO: consider incorporating a json writer of some sort instead of adhoc solution like the following
' e.g: http://demon.tw/my-work/vbs-json.html
const HKEY_CLASSES_ROOT = &H80000000
const HKEY_CURRENT_USER = &H80000001
const HKEY_LOCAL_MACHINE = &H80000002
const HKEY_USERS = &H80000003
const HKEY_CURRENT_CONFIG = &H80000005
Sub LoadRegistryImplementationByOSArchitecture()
If IsNull(OSArchitecture) Then
WriteLineErr "missing OSArchitecture global. did not call util.DetermineOSArchitecture? or Forgot to load util.vbs?"
WScript.Quit 25125
End If
If OSArchitecture = "A" Then
Include "ArchitectureAgnosticRegistry.vbs"
Else
Include "ArchitectureSpecificRegistry.vbs"
End If
End Sub
Function PutValue(constHive, strSubKey, strValueName, strValue, strType)
Select Case UCase(strType)
Case "REG_SZ"
PutValue = SetStringValue(constHive, strSubKey, strValueName, strValue)
Case "REG_EXPAND_SZ"
PutValue = SetExpandedStringValue(constHive, strSubKey, strValueName, strValue)
Case "REG_BINARY"
PutValue = SetBinaryValue(constHive, strSubKey, strValueName, ToBinaryValue(strValue))
Case "REG_NONE"
PutValue = SetBinaryValue(constHive, strSubKey, strValueName, ToBinaryValue(strValue))
' TODO: need to check that indeed int is the right type here
Case "REG_DWORD"
PutValue = SetDWORDValue(constHive, strSubKey, strValueName, CDbl(strValue))
Case "REG_MULTI_SZ"
PutValue = SetMultiStringValue(constHive, strSubKey, strValueName, Split(strValue, ","))
Case "REG_QWORD"
PutValue = SetQWORDValue(constHive, strSubKey, strValueName, strValue)
Case "REG_DEFAULT"
PutValue = SetStringValue(constHive, strSubKey, "", strValue)
Case Else
PutValue = SetStringValue(constHive, strSubKey, strValueName, strValue)
End Select
End Function
' render the child of a sub path strSubKey in hive constHive
' as json.
Sub ListChildrenAsJson(constHive, strSubKey)
' start outputting json to stdout
Write "{"
Dim e1: e1 = EnumKey (constHive, strSubKey, arrKeyNames)
If e1 <> 0 Then
Write """exists"": false,"
Dim arrValueNames: arrValueNames = null
Else
Write """exists"": true,"
Dim e2: e2 = EnumValues (constHive, strSubKey, arrValueNames, arrValueTypes)
If e2 <> 0 Then
WScript.Quit e2
End If
End If
Write """keys"": ["
If Not IsNull(arrKeyNames) Then
For x = 0 To UBound(arrKeyNames)
If (x > 0) Then
Write ","
End If
Write """" & JsonSafe(arrKeyNames(x)) & """"
Next
End If
Write "],"
' TODO: some duplicity of code between the two paths of this condition, this needs to be address at some point
Write """values"":{"
If Not IsNull(arrValueNames) Then
For y = 0 To UBound(arrValueNames)
If y > 0 Then
Write ","
End If
strValueName = arrValueNames(y)
intValueType = arrValueTypes(y)
' assign the value to varValue
GetValueByType constHive, strSubKey, strValueName, intValueType, varValue
WriteValue strValueName, intValueType, varValue
Next
Else
' fix for keys with only default values in them
' see http://stackoverflow.com/questions/8840343/how-to-read-the-default-value-from-registry-in-vbscript
GetStringValue constHive, strSubKey, "", strDefaultValue
If IsNull(strDefaultValue) = false and strDefaultValue <> "" Then
' write the default value with REG_SZ
WriteValue "", 1, strDefaultValue
End If
End If
Write "}}"
End Sub
Sub WriteValue (strValueName, intValueType, varValue)
Write """"
Write JsonSafe(strValueName)
Write """:{"
Write """type"": """
Write RenderType(intValueType)
Write ""","
Write """value"":"
Write RenderValueByType(intValueType, varValue)
Write "}"
End Sub
' give a raw HKLM\something\somewhere
' output the hive constant and the subkey, in this case:
' HKEY_LOCAL_MACHINE will be assigned to outConstHive
' and something\somewhere will be assigned to outStrSubKey
Sub ParseHiveAndSubKey(strRawKey, outConstHive, outStrSubKey)
' split into two parts to deduce the hive and the sub key
arrSplitted = Split(strRawKey, "\", 2, 1)
If UBound(arrSplitted) > 0 Then
strHive = arrSplitted(0)
outStrSubKey = arrSplitted(1)
Else
strHive = strRawKey
outStrSubKey = ""
End If
outConstHive = StringToHiveConst(UCase(strHive))
End Sub
Function ArrayRemoveAt(arr, pos)
Dim i
If IsArray(arr) Then
If pos >= 0 And pos <= UBound(arr) Then
For i = pos To UBound(arr) - 1
arr(i) = arr(i + 1)
Next
ReDim Preserve arr(UBound(arr) - 1)
End If
End If
End Function
Sub ParseHiveAndSubKeyAndValue(strRawKey, outConstHive, outStrSubKey, outStrValue)
' split into two parts to deduce the hive and the sub key
arrSplitted = Split(strRawKey, "\", -1, 1)
If UBound(arrSplitted) > 0 Then
strHive = arrSplitted(0)
outStrValue = arrSplitted(UBound(arrSplitted))
test = ArrayRemoveAt(arrSplitted, UBound(arrSplitted))
test = ArrayRemoveAt(arrSplitted, 0)
outStrSubKey = Join(arrSplitted, "\")
Else
strHive = strRawKey
outStrSubKey = ""
End If
outConstHive = StringToHiveConst(UCase(strHive))
End Sub
Function StringToHiveConst(strHive)
Select Case strHive
Case "HKCR"
StringToHiveConst = HKEY_CLASSES_ROOT
Case "HKCU"
StringToHiveConst = HKEY_CURRENT_USER
Case "HKLM"
StringToHiveConst = HKEY_LOCAL_MACHINE
Case "HKU"
StringToHiveConst = HKEY_USERS
Case "HKCC"
StringToHiveConst = HKEY_CURRENT_CONFIG
Case Else
StringToHiveConst = Null
End Select
End Function
' TODO: this entire "by type" should be transformed into OOP style
' where each type will have a class with render(), getValue() etc...
' convert a value type number into a string label
Function RenderType(intType)
RenderType = "REG_UNKNOWN"
Select Case intType
Case 0
RenderType = "REG_NONE"
Case 1
RenderType = "REG_SZ"
Case 2
RenderType = "REG_EXPAND_SZ"
Case 3
RenderType = "REG_BINARY"
Case 4
RenderType = "REG_DWORD"
Case 7
RenderType = "REG_MULTI_SZ"
Case 11
RenderType = "REG_QWORD"
Case Else
' TODO: should report / throw an error here
WriteErr("invalid Registry Value Type " & intType)
End Select
End Function
' render by value type:
' string will return as a string with double quotes, e.g "value"
' multi string values which return as an array ot strings "["1", "2"]" (double quotes included ofc)
' numeric values like DWORD and QWORD just return as the number e.g. 1
' byte arrays such as reg_binary return as an array of ints, e.g [1,2,3]
Function RenderValueByType(intType, varValue)
Select Case intType
' REG_NONE
Case 0
RenderValueByType = "0"
' REG_SZ
Case 1
RenderValueByType = """" & JsonSafe(varValue) & """"
' REG_EXPAND_SZ
Case 2
RenderValueByType = """" & JsonSafe(varValue) & """"
' REG_BINARY
Case 3
RenderValueByType = RenderByteArray(varValue)
' REG_DWORD
Case 4
RenderValueByType= varValue
' REG_MULYI_SZ'
Case 7
RenderValueByType = RenderStringArray(varValue)
' REG_QWORD
Case 11
RenderValueByType = varValue
Case Else
' TODO: should report / throw an error here
WriteErr("invalid Registry Value Type " & intType)
End Select
End Function
' get the value of a registry based on its value type and assign it to out parameter outVarValue
Sub GetValueByType(constHive, strKey, strValueName, intType, outVarValue)
Select Case intType
' REG_NONE
Case 0
GetStringValue constHive, strKey, strValueName, "0"
Exit Sub
' REG_SZ
Case 1
GetStringValue constHive, strKey, strValueName, outVarValue
Exit Sub
' REG_EXPAND_SZ
Case 2
GetExpandedStringValue constHive, strKey, strValueName, outVarValue
Exit Sub
' REG_BINARY
Case 3
GetBinaryValue constHive, strKey, strValueName, outVarValue
Exit Sub
' REG_DWORD
Case 4
GetDWORDValue constHive, strKey, strValueName, outVarValue
' #21 - VBS does not support UInt32. This is the workaround
If outVarValue < 0 Then outVarValue = 4294967296 + outVarValue
Exit Sub
' REG_MULYI_SZ'
Case 7
GetMultiStringValue constHive, strKey, strValueName, outVarValue
Exit Sub
' REG_QWORD
Case 11
GetQWORDValue constHive, strKey, strValueName, outVarValue
Exit Sub
Case Else
' TODO: should report / throw an error here
WriteErr("invalid Registry Value Type " & intType)
End Select
End Sub
' render a byte array as a json array of numbers
Function RenderByteArray(arr)
RenderByteArray = "[]"
If Not IsNull(arr) Then
RenderByteArray = "[" & Join(arr, ",") & "]"
End If
End Function
' render a string array as json string array
Function RenderStringArray(arr)
Result = "["
If Not IsNull(arr) Then
For t = 0 To UBound(arr)
If (t > 0) Then
Result = Result & ","
End If
Result = Result & """" & JsonSafe(arr(t)) & """"
Next
End If
Result = Result & "]"
RenderStringArray = Result
End Function
Function ToBinaryValue(strValue)
arrValue = Split(strValue, ",")
If IsNull(arrValue) Then
ToBinaryValue = Array()
Exit Function
End If
For i = 0 To UBound(arrValue)
arrValue(i) = CInt(arrValue(i))
Next
ToBinaryValue = arrValue
End Function
-162
View File
@@ -1,162 +0,0 @@
Set stdout = WScript.StdOut
Set stderr = WScript.StdErr
Set stdin = WScript.StdIn
Set args = WScript.Arguments
Set fs = CreateObject("scripting.filesystemobject")
Dim OSArchitecture
Sub WriteErr(message)
stderr.Write message
End Sub
Sub WriteLineErr(message)
stderr.WriteLine message
End Sub
Sub Write(message)
stdout.Write message
End Sub
Sub WriteLine(message)
stdout.WriteLine message
End Sub
Function IndexOf(varNeedle, arrHaystack)
IndexOf = -1
If Not IsArray(arrHaystack) Then
Exit Function
End If
For xyz = 0 To UBound(arrHaystack)
If arrHaystack(xyz) = varNeedle Then
IndexOf = xyz
Exit Function
End If
Next
End Function
Sub CheckZeroArgs(message)
' bail if args are missing
If args.Count = 0 Then
WriteLineErr message
WScript.Quit 25121
End If
End Sub
Dim ALLOWED_OS_ARCHITECTURE_VALUES: ALLOWED_OS_ARCHITECTURE_VALUES = Array("S", "A", "32", "64")
'
' determine the architecture of the operating system, that will be used. there are 4 possibilities:
' A - means agnostic
' S - means that we want to use a specific architecture, but auto detect Item
' 32 - explicitly use 32 bit architecture
' 64 - explicitly use 64 bit architecture
'
Sub DetermineOSArchitecture()
strArchitecture = args(0)
If IsNull(strArchitecture) Then
WriteLineErr "missing architecture argument"
WScript.Quit 25124
End If
strArchitecture = UCase(strArchitecture)
If IndexOf(strArchitecture, ALLOWED_OS_ARCHITECTURE_VALUES) = -1 Then
WriteLineErr "invalid architecture argument"
WScript.Quit 25124
End If
If (strArchitecture = "S") Then
OSArchitecture = GetOSArchitecture()
If OSArchitecture = -1 Then
WriteLineErr "invalid os architecture detected " & OSArchitecture
WScript.Quit 25126
End If
Else
OSArchitecture = strArchitecture
End If
End Sub
Sub Include(sPath)
' TODO this is fragile, but should work for "modules" nested relatively to script root
include_ScriptPath = Left(WScript.ScriptFullName, InStr(WScript.ScriptFullName, WScript.ScriptName) - 2)
sPath = include_ScriptPath & "\" & sPath
include_code = fs.OpenTextFile(sPath).ReadAll
ExecuteGlobal include_code
End Sub
Function GetOSArchitecture()
Dim ObjWMI, ColSettings, ObjProcessor
Dim StrComputer, ObjNetwork
Set ObjWMI = GetObject("winmgmts:\Root\CIMV2")
Set ColSettings = ObjWMI.ExecQuery ("SELECT DataWidth, AddressWidth, Architecture FROM Win32_Processor")
' TODO: I make two assumptions here:
' 1. Eveyone will have CPU0 device
' 2. There is only one cpu defined in the wmi database (and if not, then they are all of the same architecture)
Set ObjProcessor = ColSettings.Item("Win32_Processor.DeviceID=""CPU0""")
If ObjProcessor.Architecture = 0 AND ObjProcessor.AddressWidth = 32 Then
GetOSArchitecture = 32
ElseIf (ObjProcessor.Architecture = 6 OR ObjProcessor.Architecture = 9) AND ObjProcessor.DataWidth = 64 AND ObjProcessor.AddressWidth = 32 Then
GetOSArchitecture = 32
ElseIf (ObjProcessor.Architecture = 6 OR ObjProcessor.Architecture = 9) AND ObjProcessor.DataWidth = 64 AND ObjProcessor.AddressWidth = 64 Then
GetOSArchitecture = 64
Else
GetOSArchitecture = -1
End If
End Function
Function JsonSafe(inStrText)
If inStrText = "" Then
JsonSafe = ""
Exit Function
End If
Dim outStrText: outStrText = inStrText
outStrText = Replace(outStrText, "\", "\\")
outStrText = Replace(outStrText, vbcrlf, "\\r\\n")
outStrText = Replace(outStrText, vblf, "\\n")
outStrText = Replace(outStrText, vbcr, "\\r")
outStrText = Replace(outStrText, """", "\""")
outStrText = JsonU(outStrText)
JsonSafe = outStrText
End Function
'TODO: need to change this function's name to something more appropriate
Function JsonU(astr)
If isNull(astr) Then
JsonU = ""
Exit Function
End If
Dim c
Dim utftext: utftext = ""
For n = 1 To Len(astr)
c = CLng(AscW(Mid(astr, n, 1)))
If c < 0 Then
c = &H10000 + c
End If
If c < &H80 Then
utftext = utftext & Mid(astr, n, 1)
ElseIf c < &H100 Then
utftext = utftext & "\u00" & Hex(c)
ElseIf c < &H1000 Then
utftext = utftext & "\u0" & Hex(c)
Else
utftext = utftext & "\u" & Hex(c)
End If
Next
JsonU = utftext
End Function
@@ -1,52 +0,0 @@
'
' Lists the values of a given registry path, this script takes its input from stdin
'
' cscript regListStream.wsf A "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\\AppData"
'
' Will Yield:
'
' {
' "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\\AppData": "value here"
' }
<job id="regRead">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
CheckZeroArgs("usage: cscript wsRegRead.wsf architecture path1...pathN")
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
set ws = createobject("Wscript.shell")
Write "["
On Error Resume Next
For v = 1 To args.Count - 1
If (v > 1) Then
Write ","
End If
Dim key: key = trim(args(v))
' not really needed except for validation
ParseHiveAndSubKeyAndValue key, constHive, strSubKey, strValue
if IsNull(constHive) Then
WriteLineErr "unsupported hive " & args(v)
WScript.Quit 25122
End If
Write "{ ""path"" : """ & JsonSafe(key) & """, "
Dim result: result = ws.RegRead(args(v))
Dim exists: exists = "true"
If Err.Number <> 0 Then
exists = "false"
End if
Write """exists"": " & exists & ", "
Write """value"": """ & JsonSafe(result) & """}" & vbcrlf
Next
Write "]"
</script>
</job>
@@ -1,47 +0,0 @@
'
' Lists the values of a given registry path, this script takes its input from stdin
'
' echo HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\\AppData | cscript regListStream.wsf A
'
' Will Yield:
'
' {
' "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders\\AppData": "value here"
' }
<job id="regRead">
<script language="VBScript" src="util.vbs" />
<script language="VBScript" src="regUtil.vbs" />
<script language="VBScript">
CheckZeroArgs("usage: echo KEY | cscript wsRegRead.wsf architecture")
DetermineOSArchitecture()
LoadRegistryImplementationByOSArchitecture()
set ws = createobject("Wscript.shell")
Do While Not stdin.AtEndOfLine
strLine = stdin.ReadLine()
strLine = unescape(trim(strLine))
' not really needed except for validation
ParseHiveAndSubKeyAndValue strLine, constHive, strSubKey, strValue
if IsNull(constHive) Then
WriteLineErr "unsupported hive " & strLine
WScript.Quit 25122
End If
Write "{ ""path"" : """ & JsonSafe(strLine) & """, "
Dim result: result = ws.RegRead(strLine)
Dim exists: exists = "true"
If Err.Number <> 0 Then
exists = "false"
End if
Write """exists"": " & exists & ", "
Write """value"": """ & JsonSafe(result) & """}" & vbcrlf
Loop
</script>
</job>
+185 -287
View File
@@ -13,15 +13,16 @@
"@tippyjs/react": "^4.2.6",
"archiver": "^6.0.1",
"color": "^4.2.3",
"crypto-js": "^4.2.0",
"dateformat": "^5.0.3",
"dot-prop": "^8.0.2",
"electron-debug": "^3.2.0",
"electron-log": "^4.4.8",
"electron-store": "^8.1.0",
"electron-updater": "^6.1.5",
"electron-updater": "^6.1.7",
"fast-deep-equal": "^3.1.3",
"framer-motion": "^10.16.4",
"fs-extra": "^11.1.1",
"framer-motion": "^10.16.16",
"fs-extra": "^11.2.0",
"history": "^5.3.0",
"jszip": "^3.10.1",
"md5-file": "^5.0.0",
@@ -39,7 +40,6 @@
"react-virtualized-auto-sizer": "^1.0.12",
"react-window": "^1.8.8",
"recursive-readdir": "^2.2.3",
"regedit": "^5.1.2",
"rfdc": "^1.3.0",
"rxjs": "^7.8.0",
"sanitize-filename": "^1.6.3",
@@ -61,6 +61,7 @@
"@testing-library/react": "^13.3.0",
"@types/archiver": "^5.3.1",
"@types/color": "^3.0.3",
"@types/crypto-js": "^4.2.1",
"@types/dateformat": "^5.0.0",
"@types/jest": "^27.5.2",
"@types/node": "17.0.23",
@@ -89,8 +90,8 @@
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.1.0",
"detect-port": "^1.3.0",
"electron": "^27.0.0",
"electron-builder": "^24.6.3",
"electron": "^27.1.3",
"electron-builder": "^24.9.1",
"electron-devtools-installer": "^3.2.0",
"electron-notarize": "^1.2.1",
"electronmon": "^2.0.2",
@@ -798,12 +799,11 @@
}
},
"node_modules/@electron/asar": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.4.tgz",
"integrity": "sha512-lykfY3TJRRWFeTxccEKdf1I6BLl2Plw81H0bbp4Fc5iEc67foDCa5pjJQULVgo0wF+Dli75f3xVcdb/67FFZ/g==",
"version": "3.2.8",
"resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.8.tgz",
"integrity": "sha512-cmskk5M06ewHMZAplSiF4AlME3IrnnZhKnWbtwKVLRkdJkKyUVjMLhDIiPIx/+6zQWVlKX/LtmK9xDme7540Sg==",
"dev": true,
"dependencies": {
"chromium-pickle-js": "^0.2.0",
"commander": "^5.0.0",
"glob": "^7.1.6",
"minimatch": "^3.0.4"
@@ -914,13 +914,14 @@
}
},
"node_modules/@electron/notarize": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-1.2.4.tgz",
"integrity": "sha512-W5GQhJEosFNafewnS28d3bpQ37/s91CDWqxVchHfmv2dQSTWpOzNlUVQwYzC1ay5bChRV/A9BTL68yj0Pa+TSg==",
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-2.1.0.tgz",
"integrity": "sha512-Q02xem1D0sg4v437xHgmBLxI2iz/fc0D4K7fiVWHa/AnW8o7D751xyKNXgziA6HrTOme9ul1JfWN5ark8WH1xA==",
"dev": true,
"dependencies": {
"debug": "^4.1.1",
"fs-extra": "^9.0.1"
"fs-extra": "^9.0.1",
"promise-retry": "^2.0.1"
},
"engines": {
"node": ">= 10.0.0"
@@ -942,9 +943,9 @@
}
},
"node_modules/@electron/osx-sign": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.4.tgz",
"integrity": "sha512-xfhdEcIOfAZg7scZ9RQPya1G1lWo8/zMCwUXAulq0SfY7ONIW+b9qGyKdMyuMctNYwllrIS+vmxfijSfjeh97g==",
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.5.tgz",
"integrity": "sha512-k9ZzUQtamSoweGQDV2jILiRIHUu7lYlJ3c6IEmjv1hC17rclE+eb9U+f6UFlOOETo0JzY1HNlXy4YOlCvl+Lww==",
"dev": true,
"dependencies": {
"compare-version": "^0.1.2",
@@ -1030,9 +1031,9 @@
}
},
"node_modules/@electron/universal": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.3.4.tgz",
"integrity": "sha512-BdhBgm2ZBnYyYRLRgOjM5VHkyFItsbggJ0MHycOjKWdFGYwK97ZFXH54dTvUWEfha81vfvwr5On6XBjt99uDcg==",
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.4.1.tgz",
"integrity": "sha512-lE/U3UNw1YHuowNbTmKNs9UlS3En3cPgwM5MI+agIgr/B1hSze9NdOP0qn7boZaI9Lph8IDv3/24g9IxnJP7aQ==",
"dev": true,
"dependencies": {
"@electron/asar": "^3.2.1",
@@ -2525,6 +2526,12 @@
"@types/node": "*"
}
},
"node_modules/@types/crypto-js": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/@types/crypto-js/-/crypto-js-4.2.1.tgz",
"integrity": "sha512-FSPGd9+OcSok3RsM0UZ/9fcvMOXJ1ENE/ZbLfOPlBWj7BgXtEAM8VYfTtT760GiLbQIMoVozwVuisjvsVwqYWw==",
"dev": true
},
"node_modules/@types/dateformat": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@types/dateformat/-/dateformat-5.0.0.tgz",
@@ -2532,9 +2539,9 @@
"dev": true
},
"node_modules/@types/debug": {
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz",
"integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==",
"version": "4.1.12",
"resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",
"integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",
"dev": true,
"dependencies": {
"@types/ms": "*"
@@ -2712,9 +2719,9 @@
"dev": true
},
"node_modules/@types/ms": {
"version": "0.7.31",
"resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz",
"integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==",
"version": "0.7.34",
"resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz",
"integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==",
"dev": true
},
"node_modules/@types/node": {
@@ -2760,9 +2767,9 @@
"dev": true
},
"node_modules/@types/plist": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@types/plist/-/plist-3.0.2.tgz",
"integrity": "sha512-ULqvZNGMv0zRFvqn8/4LSPtnmN4MfhlPNtJCTpKuIIxGVGZ2rYWzFXrvEBoh9CVyqSE7D6YFRJ1hydLHI6kbWw==",
"version": "3.0.5",
"resolved": "https://registry.npmjs.org/@types/plist/-/plist-3.0.5.tgz",
"integrity": "sha512-E6OCaRmAe4WDmWNsL/9RMqdkkzDCY1etutkflWk4c+AcjDU07Pcz1fQwTX0TQz+Pxqn9i4L1TU3UFpjnrcDgxA==",
"dev": true,
"optional": true,
"dependencies": {
@@ -2975,9 +2982,9 @@
}
},
"node_modules/@types/verror": {
"version": "1.10.6",
"resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.6.tgz",
"integrity": "sha512-NNm+gdePAX1VGvPcGZCDKQZKYSiAWigKhKaz5KF94hG6f2s8de9Ow5+7AbXoeKxL8gavZfk4UquSAygOF2duEQ==",
"version": "1.10.9",
"resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.9.tgz",
"integrity": "sha512-MLx9Z+9lGzwEuW16ubGeNkpBDE84RpB/NyGgg6z2BTpWzKkGU451cAY3UkUzZEp72RHF585oJ3V8JVNqIplcAQ==",
"dev": true,
"optional": true
},
@@ -3530,9 +3537,9 @@
"dev": true
},
"node_modules/7zip-bin": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.1.1.tgz",
"integrity": "sha512-sAP4LldeWNz0lNzmTird3uWfFDWWTeg6V/MsmyyLR9X1idwKBWIgt/ZvinqQldJm3LecKEs1emkbquO6PCiLVQ==",
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.2.0.tgz",
"integrity": "sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A==",
"dev": true
},
"node_modules/abab": {
@@ -3838,26 +3845,26 @@
"dev": true
},
"node_modules/app-builder-lib": {
"version": "24.6.3",
"resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.6.3.tgz",
"integrity": "sha512-++0Zp7vcCHfXMBGVj7luFxpqvMPk5mcWeTuw7OK0xNAaNtYQTTN0d9YfWRsb1MvviTOOhyHeULWz1CaixrdrDg==",
"version": "24.9.1",
"resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.9.1.tgz",
"integrity": "sha512-Q1nYxZcio4r+W72cnIRVYofEAyjBd3mG47o+zms8HlD51zWtA/YxJb01Jei5F+jkWhge/PTQK+uldsPh6d0/4g==",
"dev": true,
"dependencies": {
"@develar/schema-utils": "~2.6.5",
"@electron/notarize": "^1.2.3",
"@electron/osx-sign": "^1.0.4",
"@electron/universal": "1.3.4",
"@electron/notarize": "2.1.0",
"@electron/osx-sign": "1.0.5",
"@electron/universal": "1.4.1",
"@malept/flatpak-bundler": "^0.4.0",
"@types/fs-extra": "9.0.13",
"7zip-bin": "~5.1.1",
"7zip-bin": "~5.2.0",
"async-exit-hook": "^2.0.1",
"bluebird-lst": "^1.0.9",
"builder-util": "24.5.0",
"builder-util-runtime": "9.2.1",
"builder-util": "24.8.1",
"builder-util-runtime": "9.2.3",
"chromium-pickle-js": "^0.2.0",
"debug": "^4.3.4",
"ejs": "^3.1.8",
"electron-publish": "24.5.0",
"electron-publish": "24.8.1",
"form-data": "^4.0.0",
"fs-extra": "^10.1.0",
"hosted-git-info": "^4.1.0",
@@ -4720,16 +4727,16 @@
"dev": true
},
"node_modules/builder-util": {
"version": "24.5.0",
"resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.5.0.tgz",
"integrity": "sha512-STnBmZN/M5vGcv01u/K8l+H+kplTaq4PAIn3yeuufUKSpcdro0DhJWxPI81k5XcNfC//bjM3+n9nr8F9uV4uAQ==",
"version": "24.8.1",
"resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.8.1.tgz",
"integrity": "sha512-ibmQ4BnnqCnJTNrdmdNlnhF48kfqhNzSeqFMXHLIl+o9/yhn6QfOaVrloZ9YUu3m0k3rexvlT5wcki6LWpjTZw==",
"dev": true,
"dependencies": {
"@types/debug": "^4.1.6",
"7zip-bin": "~5.1.1",
"7zip-bin": "~5.2.0",
"app-builder-bin": "4.0.0",
"bluebird-lst": "^1.0.9",
"builder-util-runtime": "9.2.1",
"builder-util-runtime": "9.2.3",
"chalk": "^4.1.2",
"cross-spawn": "^7.0.3",
"debug": "^4.3.4",
@@ -4744,9 +4751,9 @@
}
},
"node_modules/builder-util-runtime": {
"version": "9.2.1",
"resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz",
"integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==",
"version": "9.2.3",
"resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz",
"integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==",
"dependencies": {
"debug": "^4.3.4",
"sax": "^1.2.4"
@@ -5515,19 +5522,6 @@
"typescript": "^4.0.2"
}
},
"node_modules/config-file-ts/node_modules/typescript": {
"version": "4.9.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
"integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=4.2.0"
}
},
"node_modules/confusing-browser-globals": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz",
@@ -5725,6 +5719,11 @@
"node": ">= 8"
}
},
"node_modules/crypto-js": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
},
"node_modules/css-color-names": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",
@@ -6473,14 +6472,14 @@
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="
},
"node_modules/dmg-builder": {
"version": "24.6.3",
"resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.6.3.tgz",
"integrity": "sha512-O7KNT7OKqtV54fMYUpdlyTOCP5DoPuRMLqMTgxxV2PO8Hj/so6zOl5o8GTs8pdDkeAhJzCFOUNB3BDhgXbUbJg==",
"version": "24.9.1",
"resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.9.1.tgz",
"integrity": "sha512-huC+O6hvHd24Ubj3cy2GMiGLe2xGFKN3klqVMLAdcbB6SWMd1yPSdZvV8W1O01ICzCCRlZDHiv4VrNUgnPUfbQ==",
"dev": true,
"dependencies": {
"app-builder-lib": "24.6.3",
"builder-util": "24.5.0",
"builder-util-runtime": "9.2.1",
"app-builder-lib": "24.9.1",
"builder-util": "24.8.1",
"builder-util-runtime": "9.2.3",
"fs-extra": "^10.1.0",
"iconv-lite": "^0.6.2",
"js-yaml": "^4.1.0"
@@ -6751,9 +6750,9 @@
}
},
"node_modules/electron": {
"version": "27.0.0",
"resolved": "https://registry.npmjs.org/electron/-/electron-27.0.0.tgz",
"integrity": "sha512-mr3Zoy82l8XKK/TgguE5FeNeHZ9KHXIGIpUMjbjZWIREfAv+X2Q3vdX6RG0Pmi1K23AFAxANXQezIHBA2Eypwg==",
"version": "27.1.3",
"resolved": "https://registry.npmjs.org/electron/-/electron-27.1.3.tgz",
"integrity": "sha512-7eD8VMhhlL5J531OOawn00eMthUkX1e3qN5Nqd7eMK8bg5HxQBrn8bdPlvUEnCano9KhrVwaDnGeuzWoDOGpjQ==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
@@ -6769,16 +6768,16 @@
}
},
"node_modules/electron-builder": {
"version": "24.6.3",
"resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.6.3.tgz",
"integrity": "sha512-O6PqhRXwfxCNTXI4BlhELSeYYO6/tqlxRuy+4+xKBokQvwDDjDgZMMoSgAmanVSCuzjE7MZldI9XYrKFk+EQDw==",
"version": "24.9.1",
"resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.9.1.tgz",
"integrity": "sha512-v7BuakDuY6sKMUYM8mfQGrwyjBpZ/ObaqnenU0H+igEL10nc6ht049rsCw2HghRBdEwJxGIBuzs3jbEhNaMDmg==",
"dev": true,
"dependencies": {
"app-builder-lib": "24.6.3",
"builder-util": "24.5.0",
"builder-util-runtime": "9.2.1",
"app-builder-lib": "24.9.1",
"builder-util": "24.8.1",
"builder-util-runtime": "9.2.3",
"chalk": "^4.1.2",
"dmg-builder": "24.6.3",
"dmg-builder": "24.9.1",
"fs-extra": "^10.1.0",
"is-ci": "^3.0.0",
"lazy-val": "^1.0.5",
@@ -6888,14 +6887,14 @@
}
},
"node_modules/electron-publish": {
"version": "24.5.0",
"resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.5.0.tgz",
"integrity": "sha512-zwo70suH15L15B4ZWNDoEg27HIYoPsGJUF7xevLJLSI7JUPC8l2yLBdLGwqueJ5XkDL7ucYyRZzxJVR8ElV9BA==",
"version": "24.8.1",
"resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.8.1.tgz",
"integrity": "sha512-IFNXkdxMVzUdweoLJNXSupXkqnvgbrn3J4vognuOY06LaS/m0xvfFYIf+o1CM8if6DuWYWoQFKPcWZt/FUjZPw==",
"dev": true,
"dependencies": {
"@types/fs-extra": "^9.0.11",
"builder-util": "24.5.0",
"builder-util-runtime": "9.2.1",
"builder-util": "24.8.1",
"builder-util-runtime": "9.2.3",
"chalk": "^4.1.2",
"fs-extra": "^10.1.0",
"lazy-val": "^1.0.5",
@@ -6935,11 +6934,11 @@
"dev": true
},
"node_modules/electron-updater": {
"version": "6.1.5",
"resolved": "https://registry.npmjs.org/electron-updater/-/electron-updater-6.1.5.tgz",
"integrity": "sha512-RFoncoSbAWYN3CVOFFrEUB5O2V81REAnA4IXQ8enGTSbUjjv+z54TYp23y/3e63oiV3W8grhblJmn9oyH/LnVg==",
"version": "6.1.7",
"resolved": "https://registry.npmjs.org/electron-updater/-/electron-updater-6.1.7.tgz",
"integrity": "sha512-SNOhYizjkm4ET+Y8ilJyUzcVsFJDtINzVN1TyHnZeMidZEG3YoBebMyXc/J6WSiXdUaOjC7ngekN6rNp6ardHA==",
"dependencies": {
"builder-util-runtime": "9.2.1",
"builder-util-runtime": "9.2.3",
"fs-extra": "^10.1.0",
"js-yaml": "^4.1.0",
"lazy-val": "^1.0.5",
@@ -9147,9 +9146,9 @@
}
},
"node_modules/framer-motion": {
"version": "10.16.4",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.16.4.tgz",
"integrity": "sha512-p9V9nGomS3m6/CALXqv6nFGMuFOxbWsmaOrdmhyQimMIlLl3LC7h7l86wge/Js/8cRu5ktutS/zlzgR7eBOtFA==",
"version": "10.16.16",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.16.16.tgz",
"integrity": "sha512-je6j91rd7NmUX7L1XHouwJ4v3R+SO4umso2LUcgOct3rHZ0PajZ80ETYZTajzEXEl9DlKyzjyt4AvGQ+lrebOw==",
"dependencies": {
"tslib": "^2.4.0"
},
@@ -9179,9 +9178,9 @@
}
},
"node_modules/fs-extra": {
"version": "11.1.1",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz",
"integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==",
"version": "11.2.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
"integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
"dependencies": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
@@ -10129,11 +10128,6 @@
}
]
},
"node_modules/if-async": {
"version": "3.7.4",
"resolved": "https://registry.npmjs.org/if-async/-/if-async-3.7.4.tgz",
"integrity": "sha512-BFEH2mZyeF6KZKaKLVPZ0wMjIiWOdjvZ7zbx8ENec0qfZhJwKFbX/4jKM5LTKyJEc/GOqUKiiJ2IFKT9yWrZqA=="
},
"node_modules/ignore": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
@@ -15840,17 +15834,6 @@
"integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
"dev": true
},
"node_modules/regedit": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/regedit/-/regedit-5.1.2.tgz",
"integrity": "sha512-pQpWqO/I40bMNoMO9kTQx3e5iK542kYcB/Z8X3Y7Hcri6ydc4KZ9ByUsEWFkBRMcwo+2irHuNK5s+pMGPr6VPw==",
"dependencies": {
"debug": "^4.1.0",
"if-async": "^3.7.4",
"stream-slicer": "0.0.6",
"through2": "^0.6.3"
}
},
"node_modules/regenerator-runtime": {
"version": "0.13.11",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
@@ -16968,11 +16951,6 @@
"node": ">= 0.8"
}
},
"node_modules/stream-slicer": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/stream-slicer/-/stream-slicer-0.0.6.tgz",
"integrity": "sha512-QsY0LbweYE5L+e+iBQgtkM5WUIf7+kCMA/m2VULv8rEEDDnlDPsPvOHH4nli6uaZOKQEt64u65h0l/eeZo7lCw=="
},
"node_modules/stream-to": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/stream-to/-/stream-to-0.2.2.tgz",
@@ -17587,36 +17565,6 @@
"integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
"dev": true
},
"node_modules/through2": {
"version": "0.6.5",
"resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
"integrity": "sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==",
"dependencies": {
"readable-stream": ">=1.0.33-1 <1.1.0-0",
"xtend": ">=4.0.0 <4.1.0-0"
}
},
"node_modules/through2/node_modules/isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ=="
},
"node_modules/through2/node_modules/readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==",
"dependencies": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x"
}
},
"node_modules/through2/node_modules/string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ=="
},
"node_modules/thunky": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",
@@ -19738,12 +19686,11 @@
"dev": true
},
"@electron/asar": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.4.tgz",
"integrity": "sha512-lykfY3TJRRWFeTxccEKdf1I6BLl2Plw81H0bbp4Fc5iEc67foDCa5pjJQULVgo0wF+Dli75f3xVcdb/67FFZ/g==",
"version": "3.2.8",
"resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.8.tgz",
"integrity": "sha512-cmskk5M06ewHMZAplSiF4AlME3IrnnZhKnWbtwKVLRkdJkKyUVjMLhDIiPIx/+6zQWVlKX/LtmK9xDme7540Sg==",
"dev": true,
"requires": {
"chromium-pickle-js": "^0.2.0",
"commander": "^5.0.0",
"glob": "^7.1.6",
"minimatch": "^3.0.4"
@@ -19831,13 +19778,14 @@
}
},
"@electron/notarize": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-1.2.4.tgz",
"integrity": "sha512-W5GQhJEosFNafewnS28d3bpQ37/s91CDWqxVchHfmv2dQSTWpOzNlUVQwYzC1ay5bChRV/A9BTL68yj0Pa+TSg==",
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-2.1.0.tgz",
"integrity": "sha512-Q02xem1D0sg4v437xHgmBLxI2iz/fc0D4K7fiVWHa/AnW8o7D751xyKNXgziA6HrTOme9ul1JfWN5ark8WH1xA==",
"dev": true,
"requires": {
"debug": "^4.1.1",
"fs-extra": "^9.0.1"
"fs-extra": "^9.0.1",
"promise-retry": "^2.0.1"
},
"dependencies": {
"fs-extra": {
@@ -19855,9 +19803,9 @@
}
},
"@electron/osx-sign": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.4.tgz",
"integrity": "sha512-xfhdEcIOfAZg7scZ9RQPya1G1lWo8/zMCwUXAulq0SfY7ONIW+b9qGyKdMyuMctNYwllrIS+vmxfijSfjeh97g==",
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.5.tgz",
"integrity": "sha512-k9ZzUQtamSoweGQDV2jILiRIHUu7lYlJ3c6IEmjv1hC17rclE+eb9U+f6UFlOOETo0JzY1HNlXy4YOlCvl+Lww==",
"dev": true,
"requires": {
"compare-version": "^0.1.2",
@@ -19922,9 +19870,9 @@
}
},
"@electron/universal": {
"version": "1.3.4",
"resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.3.4.tgz",
"integrity": "sha512-BdhBgm2ZBnYyYRLRgOjM5VHkyFItsbggJ0MHycOjKWdFGYwK97ZFXH54dTvUWEfha81vfvwr5On6XBjt99uDcg==",
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.4.1.tgz",
"integrity": "sha512-lE/U3UNw1YHuowNbTmKNs9UlS3En3cPgwM5MI+agIgr/B1hSze9NdOP0qn7boZaI9Lph8IDv3/24g9IxnJP7aQ==",
"dev": true,
"requires": {
"@electron/asar": "^3.2.1",
@@ -21127,6 +21075,12 @@
"@types/node": "*"
}
},
"@types/crypto-js": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/@types/crypto-js/-/crypto-js-4.2.1.tgz",
"integrity": "sha512-FSPGd9+OcSok3RsM0UZ/9fcvMOXJ1ENE/ZbLfOPlBWj7BgXtEAM8VYfTtT760GiLbQIMoVozwVuisjvsVwqYWw==",
"dev": true
},
"@types/dateformat": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@types/dateformat/-/dateformat-5.0.0.tgz",
@@ -21134,9 +21088,9 @@
"dev": true
},
"@types/debug": {
"version": "4.1.8",
"resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz",
"integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==",
"version": "4.1.12",
"resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",
"integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",
"dev": true,
"requires": {
"@types/ms": "*"
@@ -21316,9 +21270,9 @@
"dev": true
},
"@types/ms": {
"version": "0.7.31",
"resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz",
"integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==",
"version": "0.7.34",
"resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz",
"integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==",
"dev": true
},
"@types/node": {
@@ -21363,9 +21317,9 @@
"dev": true
},
"@types/plist": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@types/plist/-/plist-3.0.2.tgz",
"integrity": "sha512-ULqvZNGMv0zRFvqn8/4LSPtnmN4MfhlPNtJCTpKuIIxGVGZ2rYWzFXrvEBoh9CVyqSE7D6YFRJ1hydLHI6kbWw==",
"version": "3.0.5",
"resolved": "https://registry.npmjs.org/@types/plist/-/plist-3.0.5.tgz",
"integrity": "sha512-E6OCaRmAe4WDmWNsL/9RMqdkkzDCY1etutkflWk4c+AcjDU07Pcz1fQwTX0TQz+Pxqn9i4L1TU3UFpjnrcDgxA==",
"dev": true,
"optional": true,
"requires": {
@@ -21581,9 +21535,9 @@
}
},
"@types/verror": {
"version": "1.10.6",
"resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.6.tgz",
"integrity": "sha512-NNm+gdePAX1VGvPcGZCDKQZKYSiAWigKhKaz5KF94hG6f2s8de9Ow5+7AbXoeKxL8gavZfk4UquSAygOF2duEQ==",
"version": "1.10.9",
"resolved": "https://registry.npmjs.org/@types/verror/-/verror-1.10.9.tgz",
"integrity": "sha512-MLx9Z+9lGzwEuW16ubGeNkpBDE84RpB/NyGgg6z2BTpWzKkGU451cAY3UkUzZEp72RHF585oJ3V8JVNqIplcAQ==",
"dev": true,
"optional": true
},
@@ -21987,9 +21941,9 @@
"dev": true
},
"7zip-bin": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.1.1.tgz",
"integrity": "sha512-sAP4LldeWNz0lNzmTird3uWfFDWWTeg6V/MsmyyLR9X1idwKBWIgt/ZvinqQldJm3LecKEs1emkbquO6PCiLVQ==",
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.2.0.tgz",
"integrity": "sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A==",
"dev": true
},
"abab": {
@@ -22215,26 +22169,26 @@
"dev": true
},
"app-builder-lib": {
"version": "24.6.3",
"resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.6.3.tgz",
"integrity": "sha512-++0Zp7vcCHfXMBGVj7luFxpqvMPk5mcWeTuw7OK0xNAaNtYQTTN0d9YfWRsb1MvviTOOhyHeULWz1CaixrdrDg==",
"version": "24.9.1",
"resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-24.9.1.tgz",
"integrity": "sha512-Q1nYxZcio4r+W72cnIRVYofEAyjBd3mG47o+zms8HlD51zWtA/YxJb01Jei5F+jkWhge/PTQK+uldsPh6d0/4g==",
"dev": true,
"requires": {
"@develar/schema-utils": "~2.6.5",
"@electron/notarize": "^1.2.3",
"@electron/osx-sign": "^1.0.4",
"@electron/universal": "1.3.4",
"@electron/notarize": "2.1.0",
"@electron/osx-sign": "1.0.5",
"@electron/universal": "1.4.1",
"@malept/flatpak-bundler": "^0.4.0",
"@types/fs-extra": "9.0.13",
"7zip-bin": "~5.1.1",
"7zip-bin": "~5.2.0",
"async-exit-hook": "^2.0.1",
"bluebird-lst": "^1.0.9",
"builder-util": "24.5.0",
"builder-util-runtime": "9.2.1",
"builder-util": "24.8.1",
"builder-util-runtime": "9.2.3",
"chromium-pickle-js": "^0.2.0",
"debug": "^4.3.4",
"ejs": "^3.1.8",
"electron-publish": "24.5.0",
"electron-publish": "24.8.1",
"form-data": "^4.0.0",
"fs-extra": "^10.1.0",
"hosted-git-info": "^4.1.0",
@@ -22904,16 +22858,16 @@
"dev": true
},
"builder-util": {
"version": "24.5.0",
"resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.5.0.tgz",
"integrity": "sha512-STnBmZN/M5vGcv01u/K8l+H+kplTaq4PAIn3yeuufUKSpcdro0DhJWxPI81k5XcNfC//bjM3+n9nr8F9uV4uAQ==",
"version": "24.8.1",
"resolved": "https://registry.npmjs.org/builder-util/-/builder-util-24.8.1.tgz",
"integrity": "sha512-ibmQ4BnnqCnJTNrdmdNlnhF48kfqhNzSeqFMXHLIl+o9/yhn6QfOaVrloZ9YUu3m0k3rexvlT5wcki6LWpjTZw==",
"dev": true,
"requires": {
"@types/debug": "^4.1.6",
"7zip-bin": "~5.1.1",
"7zip-bin": "~5.2.0",
"app-builder-bin": "4.0.0",
"bluebird-lst": "^1.0.9",
"builder-util-runtime": "9.2.1",
"builder-util-runtime": "9.2.3",
"chalk": "^4.1.2",
"cross-spawn": "^7.0.3",
"debug": "^4.3.4",
@@ -22941,9 +22895,9 @@
}
},
"builder-util-runtime": {
"version": "9.2.1",
"resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.1.tgz",
"integrity": "sha512-2rLv/uQD2x+dJ0J3xtsmI12AlRyk7p45TEbE/6o/fbb633e/S3pPgm+ct+JHsoY7r39dKHnGEFk/AASRFdnXmA==",
"version": "9.2.3",
"resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.2.3.tgz",
"integrity": "sha512-FGhkqXdFFZ5dNC4C+yuQB9ak311rpGAw+/ASz8ZdxwODCv1GGMWgLDeofRkdi0F3VCHQEWy/aXcJQozx2nOPiw==",
"requires": {
"debug": "^4.3.4",
"sax": "^1.2.4"
@@ -23509,14 +23463,6 @@
"requires": {
"glob": "^7.1.6",
"typescript": "^4.0.2"
},
"dependencies": {
"typescript": {
"version": "4.9.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
"integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
"dev": true
}
}
},
"confusing-browser-globals": {
@@ -23658,6 +23604,11 @@
"which": "^2.0.1"
}
},
"crypto-js": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz",
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
},
"css-color-names": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",
@@ -24190,14 +24141,14 @@
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="
},
"dmg-builder": {
"version": "24.6.3",
"resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.6.3.tgz",
"integrity": "sha512-O7KNT7OKqtV54fMYUpdlyTOCP5DoPuRMLqMTgxxV2PO8Hj/so6zOl5o8GTs8pdDkeAhJzCFOUNB3BDhgXbUbJg==",
"version": "24.9.1",
"resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-24.9.1.tgz",
"integrity": "sha512-huC+O6hvHd24Ubj3cy2GMiGLe2xGFKN3klqVMLAdcbB6SWMd1yPSdZvV8W1O01ICzCCRlZDHiv4VrNUgnPUfbQ==",
"dev": true,
"requires": {
"app-builder-lib": "24.6.3",
"builder-util": "24.5.0",
"builder-util-runtime": "9.2.1",
"app-builder-lib": "24.9.1",
"builder-util": "24.8.1",
"builder-util-runtime": "9.2.3",
"dmg-license": "^1.0.11",
"fs-extra": "^10.1.0",
"iconv-lite": "^0.6.2",
@@ -24407,9 +24358,9 @@
}
},
"electron": {
"version": "27.0.0",
"resolved": "https://registry.npmjs.org/electron/-/electron-27.0.0.tgz",
"integrity": "sha512-mr3Zoy82l8XKK/TgguE5FeNeHZ9KHXIGIpUMjbjZWIREfAv+X2Q3vdX6RG0Pmi1K23AFAxANXQezIHBA2Eypwg==",
"version": "27.1.3",
"resolved": "https://registry.npmjs.org/electron/-/electron-27.1.3.tgz",
"integrity": "sha512-7eD8VMhhlL5J531OOawn00eMthUkX1e3qN5Nqd7eMK8bg5HxQBrn8bdPlvUEnCano9KhrVwaDnGeuzWoDOGpjQ==",
"dev": true,
"requires": {
"@electron/get": "^2.0.0",
@@ -24426,16 +24377,16 @@
}
},
"electron-builder": {
"version": "24.6.3",
"resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.6.3.tgz",
"integrity": "sha512-O6PqhRXwfxCNTXI4BlhELSeYYO6/tqlxRuy+4+xKBokQvwDDjDgZMMoSgAmanVSCuzjE7MZldI9XYrKFk+EQDw==",
"version": "24.9.1",
"resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-24.9.1.tgz",
"integrity": "sha512-v7BuakDuY6sKMUYM8mfQGrwyjBpZ/ObaqnenU0H+igEL10nc6ht049rsCw2HghRBdEwJxGIBuzs3jbEhNaMDmg==",
"dev": true,
"requires": {
"app-builder-lib": "24.6.3",
"builder-util": "24.5.0",
"builder-util-runtime": "9.2.1",
"app-builder-lib": "24.9.1",
"builder-util": "24.8.1",
"builder-util-runtime": "9.2.3",
"chalk": "^4.1.2",
"dmg-builder": "24.6.3",
"dmg-builder": "24.9.1",
"fs-extra": "^10.1.0",
"is-ci": "^3.0.0",
"lazy-val": "^1.0.5",
@@ -24529,14 +24480,14 @@
}
},
"electron-publish": {
"version": "24.5.0",
"resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.5.0.tgz",
"integrity": "sha512-zwo70suH15L15B4ZWNDoEg27HIYoPsGJUF7xevLJLSI7JUPC8l2yLBdLGwqueJ5XkDL7ucYyRZzxJVR8ElV9BA==",
"version": "24.8.1",
"resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-24.8.1.tgz",
"integrity": "sha512-IFNXkdxMVzUdweoLJNXSupXkqnvgbrn3J4vognuOY06LaS/m0xvfFYIf+o1CM8if6DuWYWoQFKPcWZt/FUjZPw==",
"dev": true,
"requires": {
"@types/fs-extra": "^9.0.11",
"builder-util": "24.5.0",
"builder-util-runtime": "9.2.1",
"builder-util": "24.8.1",
"builder-util-runtime": "9.2.3",
"chalk": "^4.1.2",
"fs-extra": "^10.1.0",
"lazy-val": "^1.0.5",
@@ -24572,11 +24523,11 @@
"dev": true
},
"electron-updater": {
"version": "6.1.5",
"resolved": "https://registry.npmjs.org/electron-updater/-/electron-updater-6.1.5.tgz",
"integrity": "sha512-RFoncoSbAWYN3CVOFFrEUB5O2V81REAnA4IXQ8enGTSbUjjv+z54TYp23y/3e63oiV3W8grhblJmn9oyH/LnVg==",
"version": "6.1.7",
"resolved": "https://registry.npmjs.org/electron-updater/-/electron-updater-6.1.7.tgz",
"integrity": "sha512-SNOhYizjkm4ET+Y8ilJyUzcVsFJDtINzVN1TyHnZeMidZEG3YoBebMyXc/J6WSiXdUaOjC7ngekN6rNp6ardHA==",
"requires": {
"builder-util-runtime": "9.2.1",
"builder-util-runtime": "9.2.3",
"fs-extra": "^10.1.0",
"js-yaml": "^4.1.0",
"lazy-val": "^1.0.5",
@@ -26190,9 +26141,9 @@
"dev": true
},
"framer-motion": {
"version": "10.16.4",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.16.4.tgz",
"integrity": "sha512-p9V9nGomS3m6/CALXqv6nFGMuFOxbWsmaOrdmhyQimMIlLl3LC7h7l86wge/Js/8cRu5ktutS/zlzgR7eBOtFA==",
"version": "10.16.16",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-10.16.16.tgz",
"integrity": "sha512-je6j91rd7NmUX7L1XHouwJ4v3R+SO4umso2LUcgOct3rHZ0PajZ80ETYZTajzEXEl9DlKyzjyt4AvGQ+lrebOw==",
"requires": {
"@emotion/is-prop-valid": "^0.8.2",
"tslib": "^2.4.0"
@@ -26205,9 +26156,9 @@
"dev": true
},
"fs-extra": {
"version": "11.1.1",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz",
"integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==",
"version": "11.2.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
"integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
@@ -26907,11 +26858,6 @@
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
"dev": true
},
"if-async": {
"version": "3.7.4",
"resolved": "https://registry.npmjs.org/if-async/-/if-async-3.7.4.tgz",
"integrity": "sha512-BFEH2mZyeF6KZKaKLVPZ0wMjIiWOdjvZ7zbx8ENec0qfZhJwKFbX/4jKM5LTKyJEc/GOqUKiiJ2IFKT9yWrZqA=="
},
"ignore": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
@@ -31235,17 +31181,6 @@
}
}
},
"regedit": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/regedit/-/regedit-5.1.2.tgz",
"integrity": "sha512-pQpWqO/I40bMNoMO9kTQx3e5iK542kYcB/Z8X3Y7Hcri6ydc4KZ9ByUsEWFkBRMcwo+2irHuNK5s+pMGPr6VPw==",
"requires": {
"debug": "^4.1.0",
"if-async": "^3.7.4",
"stream-slicer": "0.0.6",
"through2": "^0.6.3"
}
},
"regenerator-runtime": {
"version": "0.13.11",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
@@ -32107,11 +32042,6 @@
"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
"dev": true
},
"stream-slicer": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/stream-slicer/-/stream-slicer-0.0.6.tgz",
"integrity": "sha512-QsY0LbweYE5L+e+iBQgtkM5WUIf7+kCMA/m2VULv8rEEDDnlDPsPvOHH4nli6uaZOKQEt64u65h0l/eeZo7lCw=="
},
"stream-to": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/stream-to/-/stream-to-0.2.2.tgz",
@@ -32559,38 +32489,6 @@
"integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
"dev": true
},
"through2": {
"version": "0.6.5",
"resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
"integrity": "sha512-RkK/CCESdTKQZHdmKICijdKKsCRVHs5KsLZ6pACAmF/1GPUQhonHSXWNERctxEp7RmvjdNbZTL5z9V7nSCXKcg==",
"requires": {
"readable-stream": ">=1.0.33-1 <1.1.0-0",
"xtend": ">=4.0.0 <4.1.0-0"
},
"dependencies": {
"isarray": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ=="
},
"readable-stream": {
"version": "1.0.34",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==",
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "~0.10.x"
}
},
"string_decoder": {
"version": "0.10.31",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"integrity": "sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ=="
}
}
},
"thunky": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",
+7 -6
View File
@@ -172,6 +172,7 @@
"@types/use-double-click": "^1.0.1",
"@types/webpack-bundle-analyzer": "^4.4.2",
"@types/webpack-env": "^1.18.0",
"@types/crypto-js": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^5.34.0",
"@typescript-eslint/parser": "^5.34.0",
"autoprefixer": "^10.4.8",
@@ -183,8 +184,8 @@
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.1.0",
"detect-port": "^1.3.0",
"electron": "^27.0.0",
"electron-builder": "^24.6.3",
"electron": "^27.1.3",
"electron-builder": "^24.9.1",
"electron-devtools-installer": "^3.2.0",
"electron-notarize": "^1.2.1",
"electronmon": "^2.0.2",
@@ -238,15 +239,16 @@
"@tippyjs/react": "^4.2.6",
"archiver": "^6.0.1",
"color": "^4.2.3",
"crypto-js": "^4.2.0",
"dateformat": "^5.0.3",
"dot-prop": "^8.0.2",
"electron-debug": "^3.2.0",
"electron-log": "^4.4.8",
"electron-store": "^8.1.0",
"electron-updater": "^6.1.5",
"electron-updater": "^6.1.7",
"fast-deep-equal": "^3.1.3",
"framer-motion": "^10.16.4",
"fs-extra": "^11.1.1",
"framer-motion": "^10.16.16",
"fs-extra": "^11.2.0",
"history": "^5.3.0",
"jszip": "^3.10.1",
"md5-file": "^5.0.0",
@@ -264,7 +266,6 @@
"react-virtualized-auto-sizer": "^1.0.12",
"react-window": "^1.8.8",
"recursive-readdir": "^2.2.3",
"regedit": "^5.1.2",
"rfdc": "^1.3.0",
"rxjs": "^7.8.0",
"sanitize-filename": "^1.6.3",
+89 -2
View File
@@ -1,16 +1,17 @@
{
"name": "bs-manager",
"version": "1.3.1-alpha.2",
"version": "1.4.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "bs-manager",
"version": "1.3.1-alpha.2",
"version": "1.4.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"ps-list": "^7.2.0",
"regedit-rs": "^1.0.1",
"sharp": "^0.32.6"
}
},
@@ -375,6 +376,64 @@
"node": ">= 6"
}
},
"node_modules/regedit-rs": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/regedit-rs/-/regedit-rs-1.0.1.tgz",
"integrity": "sha512-wsvoGP5JDevIcx3q52aATW1c1dY86bQx7/tJ32gqV+L98OHRJykobKkjYqGzROtz9c2Pr+wGJZr0glFyc2dpvQ==",
"engines": {
"node": ">= 10"
},
"optionalDependencies": {
"regedit-rs-win32-arm64-msvc": "1.0.1",
"regedit-rs-win32-ia32-msvc": "1.0.1",
"regedit-rs-win32-x64-msvc": "1.0.1"
}
},
"node_modules/regedit-rs-win32-arm64-msvc": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/regedit-rs-win32-arm64-msvc/-/regedit-rs-win32-arm64-msvc-1.0.1.tgz",
"integrity": "sha512-QA46d/wiUHlW2h0ZlHKrtDhnwoxMpVle+EbFziEbLYC7dimtAiWCeXu4zNymaFClDimYSifQkWgza5GBmD8etg==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/regedit-rs-win32-ia32-msvc": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/regedit-rs-win32-ia32-msvc/-/regedit-rs-win32-ia32-msvc-1.0.1.tgz",
"integrity": "sha512-V2NisvicQqiozl0yMas9tjDYmBwHWf48M/dMJUWMQxxkJaDCNoHW8PljL59A/h8ew2NBFsJK5RYkYfxW1o+OyQ==",
"cpu": [
"ia32"
],
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/regedit-rs-win32-x64-msvc": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/regedit-rs-win32-x64-msvc/-/regedit-rs-win32-x64-msvc-1.0.1.tgz",
"integrity": "sha512-qhQawjYPzXGrz0xODJiviwrzw0eytGP9+quuQJUQAiLEw2P1tQ0LCyID3jOvNltLH+tqJChSV4JaQcPVleohZg==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
},
"node_modules/safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
@@ -818,6 +877,34 @@
"util-deprecate": "^1.0.1"
}
},
"regedit-rs": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/regedit-rs/-/regedit-rs-1.0.1.tgz",
"integrity": "sha512-wsvoGP5JDevIcx3q52aATW1c1dY86bQx7/tJ32gqV+L98OHRJykobKkjYqGzROtz9c2Pr+wGJZr0glFyc2dpvQ==",
"requires": {
"regedit-rs-win32-arm64-msvc": "1.0.1",
"regedit-rs-win32-ia32-msvc": "1.0.1",
"regedit-rs-win32-x64-msvc": "1.0.1"
}
},
"regedit-rs-win32-arm64-msvc": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/regedit-rs-win32-arm64-msvc/-/regedit-rs-win32-arm64-msvc-1.0.1.tgz",
"integrity": "sha512-QA46d/wiUHlW2h0ZlHKrtDhnwoxMpVle+EbFziEbLYC7dimtAiWCeXu4zNymaFClDimYSifQkWgza5GBmD8etg==",
"optional": true
},
"regedit-rs-win32-ia32-msvc": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/regedit-rs-win32-ia32-msvc/-/regedit-rs-win32-ia32-msvc-1.0.1.tgz",
"integrity": "sha512-V2NisvicQqiozl0yMas9tjDYmBwHWf48M/dMJUWMQxxkJaDCNoHW8PljL59A/h8ew2NBFsJK5RYkYfxW1o+OyQ==",
"optional": true
},
"regedit-rs-win32-x64-msvc": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/regedit-rs-win32-x64-msvc/-/regedit-rs-win32-x64-msvc-1.0.1.tgz",
"integrity": "sha512-qhQawjYPzXGrz0xODJiviwrzw0eytGP9+quuQJUQAiLEw2P1tQ0LCyID3jOvNltLH+tqJChSV4JaQcPVleohZg==",
"optional": true
},
"safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+2 -1
View File
@@ -1,6 +1,6 @@
{
"name": "bs-manager",
"version": "1.4.0-alpha.2",
"version": "1.4.3",
"description": "BSManager",
"main": "./dist/main/main.js",
"author": {
@@ -15,6 +15,7 @@
},
"dependencies": {
"ps-list": "^7.2.0",
"regedit-rs": "^1.0.1",
"sharp": "^0.32.6"
},
"license": "MIT"

Before

Width:  |  Height:  |  Size: 260 KiB

After

Width:  |  Height:  |  Size: 260 KiB

Before

Width:  |  Height:  |  Size: 188 KiB

After

Width:  |  Height:  |  Size: 188 KiB

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Before

Width:  |  Height:  |  Size: 965 KiB

After

Width:  |  Height:  |  Size: 965 KiB

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

+19 -9
View File
@@ -1,4 +1,4 @@
import { CopyOptions, copy, createReadStream, ensureDir, move, stat, symlink } from "fs-extra";
import { CopyOptions, copy, createReadStream, ensureDir, move, realpath, stat, symlink } from "fs-extra";
import { access, mkdir, rm, readdir, unlink, lstat, readlink } from "fs/promises";
import path from "path";
import { Observable, concatMap, from } from "rxjs";
@@ -165,16 +165,20 @@ export function hashFile(filePath: string, algorithm = "sha256"): Promise<string
}
export async function dirSize(dirPath: string): Promise<number>{
const files = await readdir(dirPath, { withFileTypes: true });
const paths = files.map(async file => {
const fullPath = path.join(dirPath, file.name);
const entries = await readdir(dirPath);
if (file.isDirectory()) return dirSize(fullPath);
const paths = entries.map(async entry => {
const fullPath = path.join(dirPath, entry);
const realPath = await realpath(fullPath);
const stat = await lstat(realPath);
if (file.isFile()) {
const { size } = await stat( fullPath );
return size;
if (stat.isDirectory()) {
return dirSize(fullPath);
}
if (stat.isFile()) {
return stat.size;
}
return 0;
@@ -185,9 +189,15 @@ export async function dirSize(dirPath: string): Promise<number>{
export function rxCopy(src: string, dest: string, option?: CopyOptions): Observable<Progression> {
return from(dirSize(src)).pipe(
const dirSizePromise = dirSize(src).catch(err => {
log.error("dirSizePromise", err);
return 0;
});
return from(dirSizePromise).pipe(
concatMap(totalSize => {
const progress: Progression = { current: 0, total: totalSize };
return new Observable<Progression>(sub => {
sub.next(progress);
copy(src, dest, {...option, filter: (src) => {
@@ -252,17 +252,24 @@ export class LocalMapsManagerService {
}
const zipUrl = map.versions.at(0).downloadURL;
const mapFolderName = sanitize(`${map.id}-${map.name}`);
const mapsFolder = await this.getMapsFolderPath(version);
const installedMap = await this.loadMapInfoFromPath(path.join(mapsFolder, mapFolderName)).catch(e => {
log.error("loadMapInfoFromPath", e);
return null;
});
if(map.versions.every(version => version.hash === installedMap?.hash)) {
return installedMap;
}
const { zip, zipPath } = await this.downloadMapZip(zipUrl);
if (!zip) {
throw `Cannot download ${zipUrl}`;
}
const mapFolderName = sanitize(`${map.id}-${map.name}`);
const mapPath = path.join(mapsFolder, mapFolderName);
await ensureFolderExist(mapPath);
@@ -159,7 +159,10 @@ export class LocalPlaylistsManagerService {
await this.installBPListFile(playlistPath, version);
const versionMapsFolder = await this.maps.getMapsFolderPath(version);
const realDestMapsFolder = await realpath(versionMapsFolder);
const realDestMapsFolder = await realpath(versionMapsFolder).catch(e => {
log.error(e);
return versionMapsFolder;
});
if(realSourceMapsFolder === realDestMapsFolder) { continue; }
+27 -27
View File
@@ -18,6 +18,8 @@ import readline from "readline";
import { Observable, Subject, catchError, finalize, from, map, switchMap, throwError } from "rxjs";
import { BsStore } from "../../shared/models/bs-store.enum";
import { CustomError } from "../../shared/models/exceptions/custom-error.class";
import crypto from "crypto";
export class BSLocalVersionService {
private static instance: BSLocalVersionService;
@@ -119,7 +121,14 @@ export class BSLocalVersionService {
folderVersion.ino = folderStats.ino;
}
folderVersion.metadata = await this.getAllVersionMetadata(folderVersion, { store: BsStore.STEAM });
let metadata = await this.getAllVersionMetadata(folderVersion);
// Will be removed in future version. It just to prepare future features
if(!metadata?.id){
metadata = await this.initVersionMetadata(folderVersion, metadata ?? { store: BsStore.STEAM });
}
folderVersion.metadata = metadata;
const customVersion = this.getCustomVersions().find(customVersion => {
return customVersion.BSVersion === folderVersion.BSVersion && customVersion.name === folderVersion.name;
@@ -130,36 +139,27 @@ export class BSLocalVersionService {
return folderVersion;
}
public getAllVersionMetadata(version: BSVersion, defaultMetadata?: BSVersionMetadata): Promise<BSVersionMetadata>{
private async writeVersionMetadata(version: BSVersion, metadata: BSVersionMetadata): Promise<void>{
const versionPath = await this.getVersionPath(version);
const metadataPath = path.join(versionPath, this.METADATA_FILE);
return writeFile(metadataPath, JSON.stringify(metadata));
}
public initVersionMetadata(version: BSVersion, metadata: Omit<BSVersionMetadata, "id">): Promise<BSVersionMetadata>{
const firstMetadata = { id: crypto.randomUUID(), ...metadata };
return this.writeVersionMetadata(version, firstMetadata).then(() => firstMetadata).catch(err => {
log.error("initVersionMetadata error", err);
return firstMetadata;
});
}
public getAllVersionMetadata(version: BSVersion): Promise<BSVersionMetadata>{
return (async () => {
const versionPath = await this.getVersionPath(version);
const contents = await readFile(path.join(versionPath, this.METADATA_FILE), "utf-8");
return JSON.parse(contents);
})().catch(e => {
log.warn("Not a critical error", e);
return {};
}).then(metadata => ({...defaultMetadata, ...metadata}));
}
public getVersionMetadata<K extends keyof BSVersionMetadata, T extends BSVersionMetadata[K]>(version: BSVersion, key: K, defaultValue?: T): Promise<T|undefined>{
return (async () => {
const metadata = await this.getAllVersionMetadata(version);
return metadata?.[key];
})().catch(e => {
log.warn("Not a critical error", e);
return null;
}).then(value => (value ?? defaultValue) as T);
}
public setVersionMetadata<K extends keyof BSVersionMetadata, T extends BSVersionMetadata[K]>(version: BSVersion, key: K, value: T): Promise<void>{
return (async () => {
const versionPath = await this.getVersionPath(version);
const metadataPath = path.join(versionPath, this.METADATA_FILE);
const metadata = await this.getAllVersionMetadata(version) ?? ({} as BSVersionMetadata);
metadata[key] = value;
await writeFile(metadataPath, JSON.stringify(metadata));
})().catch(e => {
log.error(e);
log.warn("Error getAllVersionMetadata", e);
});
}
@@ -378,7 +378,7 @@ export class BSLocalVersionService {
}),
finalize(async () => {
if(failed){ return; }
await this.setVersionMetadata(versionDest.version, "store", store);
await this.initVersionMetadata(versionDest.version, { store });
})
);
}
@@ -111,7 +111,7 @@ export class BsOculusDownloaderService {
version: {
...version,
...(path.basename(dest) !== version.BSVersion && { name: path.basename(dest) }),
metadata: { store: BsStore.OCULUS }
metadata: { store: BsStore.OCULUS, id: "" }
},
dest
};
@@ -129,6 +129,7 @@ export class BsOculusDownloaderService {
return tokenObs$.pipe(
switchMap(token => {
isOculusTokenValid(token, log.info); // Log token validity
if(!downloadInfo.isVerification){
return this.createDownloadVersion(downloadInfo.bsVersion).then(({version, dest}) => ({token, version, dest}))
}
@@ -140,7 +141,7 @@ export class BsOculusDownloaderService {
progress => ({...progress, data: version})
));
}),
finalize(() => downloadVersion && this.versions.setVersionMetadata(downloadVersion, "store", BsStore.OCULUS)),
finalize(() => downloadVersion && this.versions.initVersionMetadata(downloadVersion, { store: BsStore.OCULUS })),
finalize(() => this.oculusDownloader.stopDownload())
);
}
@@ -170,7 +171,7 @@ export class BsOculusDownloaderService {
map(progress => ({...progress, data: version})),
);
}),
finalize(() => downloadVersion && this.versions.setVersionMetadata(downloadVersion, "store", BsStore.OCULUS)),
finalize(() => downloadVersion && this.versions.initVersionMetadata(downloadVersion, { store: BsStore.OCULUS })),
finalize(() => this.oculusDownloader.stopDownload()),
);
}
@@ -67,7 +67,7 @@ export class BsSteamDownloaderService {
const downloadVersion: BSVersion = {
...downloadInfos.bsVersion,
...(path.basename(dest) !== downloadInfos.bsVersion.BSVersion && { name: path.basename(dest) }),
metadata: { store: BsStore.STEAM }
metadata: { store: BsStore.STEAM, id: "" }
};
const depotDownloaderOptions: DepotDownloaderArgsOptions = {
@@ -118,7 +118,7 @@ export class BsSteamDownloaderService {
}
return event;
}),
finalize(() => this.localVersionService.setVersionMetadata(version, "store", BsStore.STEAM))
finalize(() => this.localVersionService.initVersionMetadata(version, { store: BsStore.STEAM }))
).subscribe(sub);
}).catch(err => sub.error({
+2
View File
@@ -39,6 +39,7 @@ export class IpcService {
}
public send<T>(channel: string, window: BrowserWindow, response?: T | Error): void {
if(window.webContents?.isDestroyed()){ return; }
window.webContents?.send(channel, response);
}
@@ -53,6 +54,7 @@ export class IpcService {
complete: () => this.send(this.getCompleteChannel(channel), window)
})
window.webContents.once("destroyed", () => sub.unsubscribe());
window.webContents.ipc.once(this.getTearDownChannel(channel), () => sub.unsubscribe());
sub.add(() => {
+12 -24
View File
@@ -1,6 +1,6 @@
import { execOnOs } from "../../helpers/env.helpers";
import { list, createKey, putValue, deleteKey, RegSzValue } from "regedit-rs";
import path from "path";
import regedit from "regedit";
export class LivService {
@@ -23,8 +23,8 @@ export class LivService {
public async isLivInstalled(): Promise<boolean> {
return execOnOs({
win32: async () => {
const regRes = await regedit.promisified.list([this.livRegeditKey]).then(res => res[this.livRegeditKey]);
return regRes?.exists;
const regRes = await list(this.livRegeditKey).then(res => res[this.livRegeditKey]);
return regRes.exists;
},
}, true);
}
@@ -33,25 +33,13 @@ export class LivService {
return execOnOs({
win32: async () => {
const livExternalAppRegeditKey = path.join(this.livExternalAppsRegeditKey, entry.id);
await regedit.promisified.createKey([livExternalAppRegeditKey]);
await regedit.promisified.putValue({
await createKey(livExternalAppRegeditKey);
await putValue({
[livExternalAppRegeditKey]: {
"InstallPath": {
value: entry.installPath,
type: "REG_SZ"
},
"Executable": {
value: entry.executable,
type: "REG_SZ"
},
"Arguments": {
value: entry.arguments,
type: "REG_SZ"
},
"Name": {
value: entry.name,
type: "REG_SZ"
}
InstallPath: new RegSzValue(entry.installPath),
Executable: new RegSzValue(entry.executable),
Arguments: new RegSzValue(entry.arguments),
Name: new RegSzValue(entry.name)
}
});
}
@@ -62,7 +50,7 @@ export class LivService {
return execOnOs({
win32: async () => {
const shotcutsKeys = ids.map(id => path.join(this.livExternalAppsRegeditKey, id));
return regedit.promisified.deleteKey(shotcutsKeys);
return deleteKey(shotcutsKeys);
}
})
}
@@ -70,7 +58,7 @@ export class LivService {
public getLivShortcuts(): Promise<LivEntry[]> {
return execOnOs({
win32: async () => {
const regRes = await regedit.promisified.list([this.livExternalAppsRegeditKey]).then(res => res[this.livExternalAppsRegeditKey]);
const regRes = await list(this.livExternalAppsRegeditKey).then(res => res[this.livExternalAppsRegeditKey]);
if(!regRes.exists){
return [];
@@ -78,7 +66,7 @@ export class LivService {
const promises = regRes.keys.map(async key => {
const shortcutKey = path.join(this.livExternalAppsRegeditKey, key);
const entries = await regedit.promisified.list([shortcutKey]).then(res => res[shortcutKey]);
const entries = await list(shortcutKey).then(res => res[shortcutKey]);
if(!entries.exists){
return undefined;
+12 -13
View File
@@ -1,4 +1,4 @@
import regedit from "regedit";
import { list } from "regedit-rs";
import path from "path";
import { pathExist } from "../helpers/fs.helpers";
import log from "electron-log";
@@ -29,26 +29,25 @@ export class OculusService {
}
const oculusLibsRegKey = "HKCU\\SOFTWARE\\Oculus VR, LLC\\Oculus\\Libraries";
const libsRegData = await list(oculusLibsRegKey).then(data => data[oculusLibsRegKey]);
const libsRegData = (await regedit.promisified.list([oculusLibsRegKey]))["HKCU\\SOFTWARE\\Oculus VR, LLC\\Oculus\\Libraries"];
if (!libsRegData.exists || !libsRegData.keys) {
if (!libsRegData.keys?.length) {
log.info("Registry key \"HKCU\\SOFTWARE\\Oculus VR, LLC\\Oculus\\Libraries\" not found");
return null;
}
const defaultLibraryId = libsRegData.values.DefaultLibrary.value as string;
const libsPath: OculusLibrary[] = (
await Promise.all(
libsRegData.keys.map(async key => {
const originalPath = (await regedit.promisified.list([`${oculusLibsRegKey}\\${key}`]))[`${oculusLibsRegKey}\\${key}`];
if (!originalPath.exists || !libsRegData.values || !originalPath.values.OriginalPath) {
return null;
}
await Promise.all(libsRegData.keys.map(async key => {
const originalPath = await list([`${oculusLibsRegKey}\\${key}`]).then(res => res[`${oculusLibsRegKey}\\${key}`]);
if (!originalPath.values?.OriginalPath) {
return null;
}
return { id: key, path: originalPath.values.OriginalPath.value, isDefault: defaultLibraryId === key } as OculusLibrary
}, [])
)
return { id: key, path: originalPath.values.OriginalPath.value, isDefault: defaultLibraryId === key } as OculusLibrary
}, []))
).filter(Boolean);
this.oculusLibraries = libsPath;
+18 -28
View File
@@ -1,5 +1,4 @@
import { UtilsService } from "./utils.service";
import regedit from "regedit";
import { list, RegDwordValue } from "regedit-rs"
import path from "path";
import { parse } from "@node-steam/vdf";
import { readFile } from "fs/promises";
@@ -11,15 +10,9 @@ import { taskRunning } from "../helpers/os.helpers";
export class SteamService {
private static instance: SteamService;
private readonly utils: UtilsService = UtilsService.getInstance();
private steamPath: string = '';
private constructor(){
const vbsDirectory = path.join(this.utils.getAssetsScriptsPath(), "node-regedit", "vbs");
regedit.setExternalVBSLocation(vbsDirectory);
}
private constructor(){}
public static getInstance(){
if(!SteamService.instance){ SteamService.instance = new SteamService(); }
@@ -27,17 +20,19 @@ export class SteamService {
}
public async getActiveUser(): Promise<number>{
const res = await regedit.promisified.list(["HKCU\\Software\\Valve\\Steam\\ActiveProcess"]);
const keys = res?.["HKCU\\Software\\Valve\\Steam\\ActiveProcess"];
if(!keys?.exists){ throw "Key \"HKCU\\Software\\Valve\\Steam\\ActiveProcess\" not exist"; }
return (keys.values?.ActiveUser.value || undefined) as number;
const res = await list("HKCU\\Software\\Valve\\Steam\\ActiveProcess");
const key = res["HKCU\\Software\\Valve\\Steam\\ActiveProcess"];
if(!key.exists){ throw new Error("Key \"HKCU\\Software\\Valve\\Steam\\ActiveProcess\" not exist"); }
const registryValue = key.values.ActiveUser as RegDwordValue;
if(!registryValue){ throw new Error("Value \"ActiveUser\" not exist"); }
return registryValue.value;
}
public async steamRunning(): Promise<boolean>{
const steamProcessRunning = await taskRunning("steam");
if(process.platform === "linux") { return steamProcessRunning; }
return steamProcessRunning && !!(await this.getActiveUser());
const activeUser = await this.getActiveUser().catch(err => log.error(err));
return steamProcessRunning && !!activeUser;
}
public async getSteamPath(): Promise<string>{
@@ -48,24 +43,19 @@ export class SteamService {
case "linux":
this.steamPath = path.join(app.getPath('home'), '.steam', "steam");
return this.steamPath;
case "win32":
// eslint-disable-next-line no-case-declarations
const [win32Res, win64Res] = await Promise.all([
regedit.promisified.list(['HKLM\\SOFTWARE\\Valve\\Steam']),
regedit.promisified.list(['HKLM\\SOFTWARE\\WOW6432Node\\Valve\\Steam'])
]);
case "win32": {
const res = await list(['HKLM\\SOFTWARE\\Valve\\Steam', 'HKLM\\SOFTWARE\\WOW6432Node\\Valve\\Steam']);
const win64 = res['HKLM\\SOFTWARE\\Valve\\Steam'];
const win32 = res['HKLM\\SOFTWARE\\WOW6432Node\\Valve\\Steam'];
// eslint-disable-next-line no-case-declarations
const [win32, win64] = [win32Res["HKLM\\SOFTWARE\\Valve\\Steam"], win64Res["HKLM\\SOFTWARE\\WOW6432Node\\Valve\\Steam"]];
if(win64.exists && win64?.values?.InstallPath?.value){
if (win64.exists && win64?.values?.InstallPath?.value) {
this.steamPath = win64.values.InstallPath.value as string;
}
else if (win32.exists && win32?.values?.InstallPath?.value){
this.steamPath = win32.values.InstallPath.value as string;
} else if (win32.exists && win32?.values?.InstallPath?.value) {
this.steamPath = win32.values.InstallPath.value as string;
}
return this.steamPath;
}
default:
return null;
}
@@ -37,7 +37,7 @@ export const AvailableVersionItem = memo(function AvailableVersionItem({version,
<span className="text-sm text-gray-700 dark:text-gray-400">{formatedDate}</span>
</div>
{version.ReleaseURL && (
<a href={version.ReleaseURL} target="_blank" className="flex flex-row justify-between items-center rounded-full bg-black bg-opacity-30 text-white pb-px overflow-hidden hover:bg-opacity-50">
<a href={version.ReleaseURL} target="_blank" className="flex flex-row justify-between items-center rounded-full bg-black bg-opacity-30 text-white pb-px overflow-hidden hover:bg-opacity-50" tabIndex={-1}>
<SteamIcon className="w-[25px] h-[25px] transition-transform group-hover:rotate-[-360deg] duration-300" />
<span className="relative -left-px text-sm w-fit max-w-0 text-center overflow-hidden h-full whitespace-nowrap pb-[3px] transition-all group-hover:max-w-[200px] group-hover:px-1 duration-300">{t("pages.available-versions.steam-release")}</span>
</a>
@@ -19,9 +19,18 @@ export function AvailableVersionsSlide({ versions }: Props) {
context.setSelectedVersion(version);
}
const getVersions = () => {
const copy = [...(versions ?? [])];
const recommendedVersion = copy.find(v => v.recommended);
if(!recommendedVersion) { return copy; }
copy.splice(copy.indexOf(recommendedVersion), 1);
copy.unshift(recommendedVersion);
return copy;
}
return (
<ol className="w-full flex items-start justify-center gap-6 shrink-0 content-start flex-wrap p-4 overflow-x-hidden overflow-y-scroll scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-neutral-900">
{versions.map(version => (
<ol className="w-full flex items-start justify-center gap-6 shrink-0 content-start flex-wrap px-3.5 py-4 overflow-x-hidden overflow-y-scroll scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-neutral-900">
{getVersions().map(version => (
<AvailableVersionItem key={version.BSManifest} version={version} selected={equal(version, context.selectedVersion)} onClick={() => setSelectedVersion(version)}/>
))}
</ol>
@@ -84,7 +84,7 @@ export function FilterPanel({ className, ref, playlist = false, filter, onChange
};
const renderLabel = (text: string | number, isMax: boolean): JSX.Element => {
return <span className={`bg-inherit absolute top-[calc(100%+4px)] h-5 font-bold rounded-md shadow-center shadow-black px-1 flex items-center ${isMax ? "text-lg" : "text-sm"}`}>{text}</span>;
return <span className={`bg-inherit absolute top-[calc(100%+4px)] whitespace-nowrap h-5 font-bold rounded-md shadow-center shadow-black px-1 flex items-center ${isMax ? "text-lg" : "text-sm"}`}>{text}</span>;
};
const onNpssChange = ([min, max]: number[]) => {
@@ -153,7 +153,7 @@ export function MapsPlaylistsPanel({ version, isActive }: Props) {
<div className="h-full rounded-full bg-light-main-color-2 dark:bg-main-color-2 grow p-[6px]">
<input type="text" className="h-full w-full bg-light-main-color-1 dark:bg-main-color-1 rounded-full px-2" placeholder={t("pages.version-viewer.maps.search-bar.search-placeholder")} value={tabIndex === 0 ? mapSearch : playlistSearch} onChange={e => handleSearch(e.target.value)} tabIndex={-1} />
</div>
<BsmDropdownButton className="h-full relative z-[1] flex justify-center" buttonClassName="flex items-center justify-center h-full rounded-full px-2 py-1" icon="filter" text="pages.version-viewer.maps.search-bar.filters-btn" withBar={false}>
<BsmDropdownButton className="h-full relative z-[1] flex justify-center" buttonClassName="flex items-center justify-center h-full rounded-full px-2 py-1" icon="filter" text="pages.version-viewer.maps.search-bar.filters-btn" textClassName="whitespace-nowrap" withBar={false}>
<FilterPanel className="absolute top-[calc(100%+3px)] origin-top w-[500px] h-fit p-2 rounded-md shadow-md shadow-black" filter={mapFilter} onChange={setMapFilter} />
</BsmDropdownButton>
<BsmDropdownButton className="h-full flex aspect-square relative rounded-full z-[1] bg-light-main-color-1 dark:bg-main-color-3" buttonClassName="rounded-full h-full w-full p-[6px]" icon="three-dots" withBar={false} items={dropDownItems} menuTranslationY="6px" align="center" />
@@ -5,55 +5,207 @@ import BeatWaiting from "../../../../../../assets/images/apngs/beat-impatient.pn
import { useTranslation } from "renderer/hooks/use-translation.hook";
import { useState } from "react";
import { isOculusTokenValid } from "shared/helpers/oculus.helpers";
import crypto from "crypto-js";
import { BsmCheckbox } from "renderer/components/shared/bsm-checkbox.component";
import Tippy from "@tippyjs/react";
import { tryit } from "shared/helpers/error.helpers";
import { logRenderError } from "renderer";
import { useService } from "renderer/hooks/use-service.hook";
import { ConfigurationService } from "renderer/services/configuration.service";
const OCULUS_TOKEN_STORAGE_KEY = "meta-token";
export const EnterMetaTokenModal: ModalComponent<string> = ({resolver}) => {
const t = useTranslation();
const [token, setToken] = useState("");
const [showToken, setShowToken] = useState(false);
const config = useService(ConfigurationService);
const submit = () => {
const [passwordView, setPasswordView] = useState(() => !!config.get(OCULUS_TOKEN_STORAGE_KEY));
const submit = (token: string) => {
resolver({exitCode: ModalExitCode.COMPLETED, data: token});
}
const cancel = () => {
resolver({exitCode: ModalExitCode.CANCELED});
}
const isTokenValid = (() => {
return isOculusTokenValid(token, logRenderError);
})();
return (
<form className="flex flex-col w-80 gap-4">
<h1 className="text-3xl uppercase tracking-wide w-full text-center">{t("modals.enter-meta-token.title")}</h1>
<BsmImage className="h-20 w-20 mx-auto" image={BeatWaiting}/>
{passwordView ? (
<EnterPasswordView onValid={submit} onCancel={cancel} dontHaveToken={() => setPasswordView(() => false)}/>
) : (
<EnterOculusTokenView onValid={submit} onCancel={cancel} alreadyHaveToken={() => setPasswordView(() => true)}/>
)}
</form>
);
}
<p>{t("modals.enter-meta-token.body.need-token")}</p>
const EnterPasswordView = ({onValid, onCancel, dontHaveToken}: {onValid: (token: string) => void, onCancel: () => void, dontHaveToken: () => void}) => {
<a href="https://github.com/Zagrios/bs-manager/wiki/How-to-obtain-your-Oculus-Token" target="_blank" className="underline">{t("modals.enter-meta-token.body.how-obtain-token")}</a>
<div>
<div className="flex flex-row items-center justify-between">
<label className="font-bold cursor-pointer tracking-wide inline-block" htmlFor="meta_token">{t("modals.enter-meta-token.body.input-label")}</label>
{!isTokenValid && token.length > 0 && (
<span className="text-orange-700 dark:text-orange-400 text-xs whitespace-normal min-w-0">{t("modals.enter-meta-token.body.token-is-invalid")}</span>
)}
const t = useTranslation();
const config = useService(ConfigurationService);
const [password, setPassword] = useState("");
const getTokenFromStorage = () => {
const cryptedToken = config.get<string>(OCULUS_TOKEN_STORAGE_KEY);
if(!cryptedToken) return null;
const { result: token, error } = tryit(() => crypto.AES.decrypt(cryptedToken, password).toString(crypto.enc.Utf8));
if(error){
logRenderError(error, "Often indicate that the password is not the same as the one used to save the token. This error can occur when the use is writing the password.");
}
return token;
}
const isTokenValid = () => {
const token = getTokenFromStorage();
return isOculusTokenValid(token);
}
const valid = () => {
const token = getTokenFromStorage();
onValid(token);
}
return (
<>
<p>{t("modals.enter-meta-token.body.info-enter-password")}</p>
<div className="flex flex-col gap-2">
<div>
<PasswordInput onChange={v => setPassword(v.password)} value={password}/>
</div>
<div className="bg-light-main-color-1 dark:bg-main-color-1 rounded-md flex box-border h-9">
<input className="grow px-1 py-[2px] outline-none bg-transparent" onChange={e => setToken(e.target.value)} value={token} type={showToken ? "text" : "password"} name="meta_token" id="meta_token" placeholder="OCAStr43sdx2..." />
<BsmButton className="shrink-0 m-1 rounded-md p-0.5 !bg-light-main-color-3 dark:!bg-main-color-3" icon={showToken ? "eye-cross" : "eye"} withBar={false} onClick={() => setShowToken(prev => !prev)} />
<div>
<span className="underline italic text-sm float-right cursor-pointer" onClick={dontHaveToken}>{t("modals.enter-meta-token.body.enter-oculus-token")}</span>
</div>
</div>
<div className="flex flex-row gap-2">
<BsmButton className="rounded-md flex justify-center items-center transition-all h-9 w-full" typeColor="cancel" text="misc.cancel" withBar={false} onClick={cancel}/>
<BsmButton className="rounded-md flex justify-center items-center transition-all h-9 w-full" typeColor="primary" text="modals.enter-meta-token.valid-btn" withBar={false} onClick={submit} disabled={!isTokenValid}/>
<BsmButton className="rounded-md flex justify-center items-center transition-all h-9 w-full" typeColor="cancel" text="misc.cancel" withBar={false} onClick={onCancel}/>
<Tippy className="!bg-neutral-900" disabled={!password || isTokenValid()} arrow={false} content={t("modals.enter-meta-token.body.info-disabled-btn-password")} hideOnClick={false}>
<div className="w-full">
<BsmButton className="rounded-md flex justify-center items-center transition-all h-9 w-full" typeColor="primary" text="modals.enter-meta-token.valid-btn" withBar={false} onClick={valid} disabled={!isTokenValid()}/>
</div>
</Tippy>
</div>
</form>
</>
);
}
const EnterOculusTokenView = ({onValid, onCancel, alreadyHaveToken}: {onValid: (token: string) => void, onCancel: () => void, alreadyHaveToken: () => void}) => {
const t = useTranslation();
const config = useService(ConfigurationService);
const [token, setToken] = useState("");
const [showToken, setShowToken] = useState(false);
const [stay, setStay] = useState(false);
const [password, setPassword] = useState("");
const [passwordValid, setPasswordValid] = useState(false);
const storeToken = (token: string, password: string) => {
const cryptedToken = crypto.AES.encrypt(token, password).toString();
config.set(OCULUS_TOKEN_STORAGE_KEY, cryptedToken);
}
const valid = () => {
if(stay){
storeToken(token, password);
} else {
config.delete(OCULUS_TOKEN_STORAGE_KEY);
}
onValid(token);
}
const isCryptedTokenPresent = () => {
return !!config.get(OCULUS_TOKEN_STORAGE_KEY);
}
return (
<>
<p>{t("modals.enter-meta-token.body.info-enter-token")}</p>
<a href="https://github.com/Zagrios/bs-manager/wiki/How-to-obtain-your-Oculus-Token" target="_blank" className="underline">{t("modals.enter-meta-token.body.how-obtain-token")}</a>
<div className="flex flex-col gap-2">
<div>
<div className="flex flex-row items-center justify-between">
<label className="font-bold cursor-pointer tracking-wide inline-block" htmlFor="meta_token">{t("modals.enter-meta-token.body.oculus-token")}</label>
{!isOculusTokenValid(token) && token.length > 0 && (
<span className="text-orange-700 dark:text-orange-400 text-xs whitespace-normal min-w-0">{t("modals.enter-meta-token.body.token-is-invalid")}</span>
)}
</div>
<div className="bg-light-main-color-1 dark:bg-main-color-1 rounded-md flex box-border h-9">
<input className="grow px-1 py-[2px] outline-none bg-transparent" onChange={e => setToken(e.target.value)} value={token} type={showToken ? "text" : "password"} name="meta_token" id="meta_token" placeholder="FRLAStr43sdx2..." />
<BsmButton className="shrink-0 m-1 rounded-md p-0.5 !bg-light-main-color-3 dark:!bg-main-color-3" icon={showToken ? "eye-cross" : "eye"} withBar={false} onClick={() => setShowToken(prev => !prev)} />
</div>
</div>
<Tippy className="!bg-neutral-900" arrow={false} content={t("modals.enter-meta-token.body.save-token-info")}>
<div className="flex flex-row items-center gap-1 w-fit">
<BsmCheckbox className="h-6 w-6 relative z-[1]" onChange={setStay} checked={stay}/>
<span className="font-bold cursor-help">{t("modals.enter-meta-token.body.save-my-token")}</span>
</div>
</Tippy>
<div className="grid grid-rows-[0fr] transition-[grid-template-rows]" style={{gridTemplateRows: stay && "1fr"}}>
<div className="overflow-hidden">
<PasswordInput onChange={v => {setPassword(v.password); setPasswordValid(v.valid)}} value={password}/>
</div>
</div>
{isCryptedTokenPresent() && (
<div>
<span className="underline italic text-sm float-right cursor-pointer" onClick={alreadyHaveToken}>{t("modals.enter-meta-token.body.have-token-saved")}</span>
</div>
)}
</div>
<div className="flex flex-row gap-2">
<BsmButton className="rounded-md flex justify-center items-center transition-all h-9 w-full" typeColor="cancel" text="misc.cancel" withBar={false} onClick={onCancel}/>
<BsmButton className="rounded-md flex justify-center items-center transition-all h-9 w-full" typeColor="primary" text="modals.enter-meta-token.valid-btn" withBar={false} onClick={valid} disabled={!isOculusTokenValid(token) || (stay && !passwordValid)}/>
</div>
</>
);
}
const PasswordInput = ({onChange, value}: {onChange: (value : {password: string, valid: boolean}) => void, value: string}) => {
const t = useTranslation();
const [showPassword, setShowPassword] = useState(false);
const isPasswordValid = (password: string) => {
return password.length >= 8;
}
return (
<>
<div className="flex flex-row items-center justify-between">
<label className="font-bold cursor-pointer tracking-wide inline-block" htmlFor="password">{t("modals.enter-meta-token.body.password")}</label>
{!isPasswordValid(value) && value.length > 0 && (
<span className="text-orange-700 dark:text-orange-400 text-xs whitespace-normal min-w-0">{t("modals.enter-meta-token.body.password-too-short")}</span>
)}
</div>
<div className="bg-light-main-color-1 dark:bg-main-color-1 rounded-md flex box-border h-9">
<input className="grow px-1 py-[2px] outline-none bg-transparent" onChange={e => onChange({password: e.target.value, valid: isPasswordValid(e.target.value)})} value={value} type={showPassword ? "text" : "password"} name="password" id="password" placeholder={t("modals.enter-meta-token.body.password")} />
<BsmButton className="shrink-0 m-1 rounded-md p-0.5 !bg-light-main-color-3 dark:!bg-main-color-3" icon={showPassword ? "eye-cross" : "eye"} withBar={false} onClick={() => setShowPassword(prev => !prev)} />
</div>
</>
)
}
@@ -66,7 +66,7 @@ export function ModelsPanel({ version, isActive, goToMods }: { version?: BSVersi
if (config.get("not-remind-models-breaks")) {
return;
}
notification.notifyWarning({ title: "models.notifications.prevent-for-models-breaks.title", desc: "models.notifications.prevent-for-models-breaks.desc", actions: [{ id: "0", title: "models.notifications.prevent-for-mods.not-remind", cancel: true }], duration: 12_000 }).then(res => {
notification.notifyInfo({ title: "models.notifications.prevent-for-models-breaks.title", desc: "models.notifications.prevent-for-models-breaks.desc", actions: [{ id: "0", title: "models.notifications.prevent-for-mods.not-remind", cancel: true }], duration: 12_000 }).then(res => {
if (res === "0") {
config.set("not-remind-models-breaks", true);
}
@@ -38,7 +38,7 @@ export function NavBar() {
return (
<nav id="nav-bar" className="z-10 flex flex-col h-full max-h-full items-center p-1">
<BsManagerIcon className="relative aspect-square w-16 h-16 mb-3" />
<ol id="versions" className="w-fit max-w-[120px] relative left-[2px] grow overflow-y-hidden scrollbar-track-transparent scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-neutral-900 hover:overflow-y-scroll">
<ol id="versions" className="w-fit max-w-[150px] relative left-[2px] grow overflow-y-hidden scrollbar-track-transparent scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-neutral-900 hover:overflow-y-scroll">
<SharedNavBarItem />
<NavBarSpliter />
{listVersions().map(version => (
@@ -21,9 +21,10 @@ type Props = {
menuTranslationY?: string | number;
children?: JSX.Element;
text?: string;
textClassName?: string;
};
export const BsmDropdownButton = forwardRef(({ className, items, align, withBar = true, icon = "settings", buttonClassName, menuTranslationY, children, text }: Props, fowardRed) => {
export const BsmDropdownButton = forwardRef(({ className, items, align, withBar = true, icon = "settings", buttonClassName, menuTranslationY, children, text, textClassName }: Props, fowardRed) => {
const [expanded, setExpanded] = useState(false);
const t = useTranslation();
const ref = useRef(fowardRed);
@@ -63,7 +64,7 @@ export const BsmDropdownButton = forwardRef(({ className, items, align, withBar
return (
<div ref={ref as unknown as React.LegacyRef<HTMLDivElement>} className={className}>
<BsmButton onClick={() => setExpanded(!expanded)} className={buttonClassName ?? defaultButtonClassName} icon={icon} active={expanded} onClickOutside={handleClickOutside} withBar={withBar} text={text} />
<BsmButton onClick={() => setExpanded(!expanded)} className={buttonClassName ?? defaultButtonClassName} icon={icon} active={expanded} textClassName={textClassName} onClickOutside={handleClickOutside} withBar={withBar} text={text} />
<div className={`py-1 w-fit absolute cursor-pointer top-[calc(100%-4px)] rounded-md bg-inherit text-sm text-gray-800 dark:text-gray-200 shadow-md shadow-black transition-[scale] ease-in-out ${alignClass}`} style={{ scale: expanded ? "1" : "0", translate: `0 ${menuTranslationY}` }}>
{items?.map(
i =>
@@ -2,7 +2,15 @@ import { BsmImage } from "../shared/bsm-image.component";
import "./slideshow.component.css";
export function Slideshow(props: { className: string }) {
const slideshowImages = [require("../../../../assets/images/slideshow-images/image-1-blur.jpg"), require("../../../../assets/images/slideshow-images/image-2-blur.jpg"), require("../../../../assets/images/slideshow-images/image-3-blur.jpg"), require("../../../../assets/images/slideshow-images/image-4-blur.jpg"), require("../../../../assets/images/slideshow-images/image-5-blur.png"), require("../../../../assets/images/slideshow-images/image-6-blur.png"), require("../../../../assets/images/slideshow-images/image-7-blur.png")];
const slideshowImages = [
require("../../../../assets/images/slideshow-images/image-1-blur.jpg"),
require("../../../../assets/images/slideshow-images/image-2-blur.jpg"),
require("../../../../assets/images/slideshow-images/image-3-blur.jpg"),
require("../../../../assets/images/slideshow-images/image-4-blur.jpg"),
require("../../../../assets/images/slideshow-images/image-5-blur.jpg"),
require("../../../../assets/images/slideshow-images/image-6-blur.jpg"),
require("../../../../assets/images/slideshow-images/image-7-blur.jpg")
];
return (
<div className={`slide ${props.className}`}>
@@ -53,6 +53,9 @@ import { VolumeOffIcon } from "./icons/volume-off-icon.component";
import { VolumeDownIcon } from "./icons/volume-down-icon.component";
import { GermanIcon } from "./flags/german-icon.component";
import { RussianIcon } from "./flags/russian-icon.component";
import { ChineseIcon } from "./flags/chinese-icon.component";
import { ChineseTraditionalIcon } from "./flags/chineseTraditional-icon.component";
import { JapanIcon } from "./flags/japan-icon.component";
import { MSModelType } from "shared/models/models/model-saber.model";
import { ModelTypeAvatarIcon } from "./icons/model-type-avatar-icon.component";
import { ModelTypeSaberIcon } from "./icons/model-type-saber-icon.component";
@@ -63,7 +66,7 @@ import { EyeCrossIcon } from "./icons/eye-cross-icon.component";
import { ShortcutIcon } from "./icons/shortcut-icon.component";
import { BackupRestoreIcon } from "./icons/backup-restore-icon.component";
export type BsmIconType = BsvMapCharacteristic | MSModelType | ("settings" | "trash" | "favorite" | "folder" | "bsNote" | "check" | "three-dots" | "twitch" | "eye" | "play" | "checkCircleIcon" | "discord" | "info" | "eye-cross" | "terminal" | "desktop" | "oculus" | "add" | "cross" | "task" | "github" | "close" | "thumbUpFill" | "timerFill" | "pause" | "twitter" | "sync" | "chevron-top" | "copy" | "steam" | "edit" | "export" | "patreon" | "search" | "bsMapDifficulty" | "link" | "unlink" | "download" | "filter" | "mee6" | "volume-up" | "volume-off" | "volume-down" | "shortcut" | "backup-restore" | "fr-FR-flag" | "es-ES-flag" | "en-US-flag" | "en-EN-flag" | "de-DE-flag" | "ru-RU-flag");
export type BsmIconType = BsvMapCharacteristic | MSModelType | ("settings" | "trash" | "favorite" | "folder" | "bsNote" | "check" | "three-dots" | "twitch" | "eye" | "play" | "checkCircleIcon" | "discord" | "info" | "eye-cross" | "terminal" | "desktop" | "oculus" | "add" | "cross" | "task" | "github" | "close" | "thumbUpFill" | "timerFill" | "pause" | "twitter" | "sync" | "chevron-top" | "copy" | "steam" | "edit" | "export" | "patreon" | "search" | "bsMapDifficulty" | "link" | "unlink" | "download" | "filter" | "mee6" | "volume-up" | "volume-off" | "volume-down" | "shortcut" | "backup-restore" | "fr-FR-flag" | "es-ES-flag" | "en-US-flag" | "en-EN-flag" | "de-DE-flag" | "ru-RU-flag" | "zh-CN-flag" | "zh-TW-flag" | "ja-JP-flag");
export const BsmIcon = memo(({ className, icon, style }: { className?: string; icon: BsmIconType; style?: CSSProperties }) => {
// TODO : Very ugly very messy, need to find a better way to do this
@@ -117,6 +120,15 @@ export const BsmIcon = memo(({ className, icon, style }: { className?: string; i
if (icon === "ru-RU-flag") {
return <RussianIcon className={className} style={style} />;
}
if (icon === "zh-CN-flag") {
return <ChineseIcon className={className} style={style} />;
}
if (icon === "zh-TW-flag") {
return <ChineseTraditionalIcon className={className} style={style} />;
}
if (icon === "ja-JP-flag") {
return <JapanIcon className={className} style={style} />;
}
if (icon === "task") {
return <TaskIcon className={className} style={style} />;
}
@@ -0,0 +1,21 @@
import { CSSProperties } from "react";
export function ChineseIcon(props: { className?: string; style?: CSSProperties }) {
return (
<svg width="71px" height="48px" viewBox="0 0 71 48" version="1.1" xmlns="http://www.w3.org/2000/svg" className={props.className} style={props.style}>
<defs />
<g id="Flags" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd" transform="translate(-70.000000, -498.000000)">
<g transform="translate(70.000000, 70.000000)" fillRule="nonzero" id="China">
<g transform="translate(0.000000, 428.000000)">
<rect id="Rounded_Rectangle_7_copy-5" fill="#ED5565" x="0.28" y="0.98" width="70" height="47" rx="6.36" />
<path d="M12.23,26.34 C11.41,26.93 10.93,26.6 11.16,25.61 L12.05,21.93 C12.2430284,20.8254147 11.8671738,19.6978512 11.05,18.93 L8.36,16.6 C7.59,15.94 7.79,15.37 8.8,15.34 L12.57,15.23 C13.6782653,15.1750168 14.6410409,14.4499636 15,13.4 L16.18,9.4 C16.47,8.4 16.98,8.4 17.32,9.4 L18.74,13.4 C19.1553515,14.4093082 20.1106424,15.0927684 21.2,15.16 L25.04,15.16 C26.04,15.16 26.25,15.73 25.49,16.39 L22.56,18.95 C21.7650096,19.7288598 21.4350484,20.866657 21.69,21.95 L22.62,25.19 C22.9,26.19 22.43,26.53 21.57,26 L18.42,24 C17.4584774,23.4711751 16.2849442,23.5095258 15.36,24.1 L12.23,26.34 Z" id="Shape_2_copy_9" fill="#F6D660"/>
<path d="M29.37,10.78 C29.09,10.98 28.93,10.87 29.01,10.52 L29.31,9.24 C29.3656763,8.87495864 29.2472583,8.50490228 28.99,8.24 L28.08,7.43 C27.82,7.2 27.89,7 28.23,6.99 L29.5,6.99 C29.8717689,6.9586152 30.1877729,6.70581199 30.3,6.35 L30.7,4.95 C30.8,4.61 30.97,4.61 31.09,4.95 L31.57,6.33 C31.7126147,6.67114428 32.031835,6.90575195 32.4,6.94 L33.7,6.94 C34.04,6.94 34.11,7.14 33.85,7.37 L32.85,8.26 C32.5912527,8.52348971 32.4790218,8.89759264 32.55,9.26 L32.87,10.39 C32.97,10.73 32.81,10.86 32.52,10.67 L31.46,10 C31.1505989,9.82136721 30.7694011,9.82136721 30.46,10 L29.37,10.78 Z" id="Shape_2_copy_10" fill="#F6D660"/>
<path d="M29.37,30.53 C29.09,30.73 28.93,30.62 29.01,30.27 L29.31,28.99 C29.3656763,28.6249586 29.2472583,28.2549023 28.99,27.99 L28.08,27.18 C27.82,26.95 27.89,26.75 28.23,26.74 L29.5,26.74 C29.8691682,26.7101752 30.1844554,26.4618866 30.3,26.11 L30.7,24.71 C30.8,24.37 30.97,24.37 31.09,24.71 L31.57,26.09 C31.7126147,26.4311443 32.031835,26.6657519 32.4,26.7 L33.7,26.7 C34.04,26.7 34.11,26.9 33.85,27.13 L32.85,28.02 C32.5912527,28.2834897 32.4790218,28.6575926 32.55,29.02 L32.87,30.15 C32.97,30.49 32.81,30.62 32.52,30.43 L31.47,29.76 C31.1605989,29.5813672 30.7794011,29.5813672 30.47,29.76 L29.37,30.53 Z" id="Shape_2_copy_11" fill="#F6D660"/>
<path d="M36.3,25.23 C36.02,25.43 35.86,25.32 35.94,24.98 L36.24,23.7 C36.2956763,23.3349586 36.1772583,22.9649023 35.92,22.7 L35.01,21.89 C34.75,21.66 34.82,21.46 35.16,21.45 L36.43,21.45 C36.7991682,21.4201752 37.1144554,21.1718866 37.23,20.82 L37.63,19.42 C37.73,19.08 37.9,19.08 38.02,19.42 L38.5,20.8 C38.6426147,21.1411443 38.961835,21.3757519 39.33,21.41 L40.63,21.41 C40.97,21.41 41.04,21.61 40.78,21.84 L39.78,22.73 C39.5248508,22.9954093 39.4164332,23.369263 39.49,23.73 L39.81,24.86 C39.91,25.2 39.74,25.33 39.46,25.14 L38.41,24.47 C38.1005989,24.2913672 37.7194011,24.2913672 37.41,24.47 L36.3,25.23 Z" id="Shape_2_copy_12" fill="#F6D660"/>
<path d="M36.3,16.09 C36.02,16.29 35.86,16.18 35.94,15.83 L36.24,14.55 C36.2956763,14.1849586 36.1772583,13.8149023 35.92,13.55 L35,12.7 C34.74,12.47 34.81,12.27 35.15,12.26 L36.42,12.26 C36.7891682,12.2301752 37.1044554,11.9818866 37.22,11.63 L37.62,10.23 C37.72,9.89 37.89,9.89 38.01,10.23 L38.49,11.61 C38.6326147,11.9511443 38.951835,12.1857519 39.32,12.22 L40.62,12.22 C40.96,12.22 41.03,12.42 40.77,12.65 L39.77,13.54 C39.5163739,13.8062871 39.4081897,14.1793363 39.48,14.54 L39.8,15.67 C39.9,16.01 39.73,16.14 39.45,15.95 L38.4,15.28 C38.0905989,15.1013672 37.7094011,15.1013672 37.4,15.28 L36.3,16.09 Z" id="Shape_2_copy_13" fill="#F6D660"/>
</g>
</g>
</g>
</svg>
);
}
@@ -0,0 +1,18 @@
import { CSSProperties } from "react";
export function ChineseTraditionalIcon(props: { className?: string; style?: CSSProperties }) {
return (
<svg width="71px" height="48px" viewBox="0 0 71 48" fill="none" xmlns="http://www.w3.org/2000/svg" className={props.className} style={props.style}>
<defs />
<g id="Flags">
<path d="M65.6826 47.9999H5.31737C2.38058 47.9999 0 45.5435 0 42.5132V5.48699C0 2.45673 2.38058 0.00012207 5.31737 0.00012207H65.6826C68.6193 0.00012207 71 2.45658 71 5.48699V42.5132C71 45.5435 68.6194 47.9999 65.6826 47.9999Z" fill="#FF4B55"/>
<path d="M1.2242 24H34.2759C34.952 24 35.5001 23.4346 35.5001 22.7368V1.26322C35.5001 0.565643 34.952 0 34.2759 0H5.31737C2.38058 0.000143092 0 2.45661 0 5.48701V22.7371C0 23.4346 0.54817 24 1.2242 24Z" fill="#41479B"/>
<path d="M13.3685 12.0001C13.3685 10.7521 13.8585 9.62222 14.6509 8.80416L10.9797 7.72052C10.7666 7.65771 10.6139 7.93073 10.7731 8.0897L13.5203 10.8306L9.81306 11.7871C9.59812 11.8424 9.59812 12.1578 9.81306 12.2133L13.5203 13.1698L10.7731 15.9107C10.6138 16.0697 10.7666 16.3427 10.9797 16.2799L14.6509 15.1962C13.8585 14.378 13.3685 13.2482 13.3685 12.0001Z" fill="#F5F5F5"/>
<path d="M14.6525 8.80222C15.4453 7.98459 16.5403 7.4789 17.7498 7.4789C18.9593 7.4789 20.0542 7.98459 20.847 8.80222L21.8972 5.014C21.958 4.79407 21.6935 4.63652 21.5394 4.80079L18.8831 7.63545L17.9562 3.81002C17.9026 3.58823 17.597 3.58823 17.5431 3.81002L16.6163 7.63545L13.96 4.80079C13.8059 4.63638 13.5412 4.79407 13.6022 5.014L14.6525 8.80222Z" fill="#F5F5F5"/>
<path d="M20.8473 15.1981C20.0545 16.0157 18.9596 16.5214 17.7501 16.5214C16.5406 16.5214 15.4456 16.0157 14.6528 15.1981L13.6027 18.9865C13.5418 19.2064 13.8064 19.364 13.9605 19.1997L16.6167 16.365L17.5436 20.1905C17.5973 20.4123 17.9029 20.4123 17.9567 20.1905L18.8836 16.365L21.5398 19.1997C21.6939 19.3641 21.9585 19.2064 21.8976 18.9865L20.8473 15.1981Z" fill="#F5F5F5"/>
<path d="M25.6871 11.7868L21.9799 10.8304L24.7269 8.08946C24.8863 7.93048 24.7335 7.65746 24.5203 7.72028L20.8491 8.80392C21.6415 9.62212 22.1316 10.7518 22.1316 11.9999C22.1316 13.2479 21.6415 14.3778 20.8491 15.1958L24.5203 16.2795C24.7335 16.3423 24.8861 16.0693 24.7269 15.9103L21.9799 13.1694L25.6871 12.2129C25.9022 12.1579 25.9022 11.8426 25.6871 11.7868Z" fill="#F5F5F5"/>
<path d="M17.7502 15.6007C19.6771 15.6007 21.2392 13.9888 21.2392 12.0005C21.2392 10.0121 19.6771 8.40027 17.7502 8.40027C15.8233 8.40027 14.2612 10.0121 14.2612 12.0005C14.2612 13.9888 15.8233 15.6007 17.7502 15.6007Z" fill="#F5F5F5"/>
</g>
</svg>
);
}
@@ -0,0 +1,22 @@
import { CSSProperties } from "react";
export function JapanIcon(props: { className?: string; style?: CSSProperties }) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width="71px" height="48px" viewBox="0 0 71 48" version="1.1" className={props.className} style={props.style}>
<defs />
<g id="Flags" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd" transform="translate(-239,-805)">
<g transform="translate(70,70)" fillRule="nonzero" id="Russian">
<g transform="translate(169,735)">
<g id="Bolivia-9">
<path d="M 0.5 7 L 0.5 41 L 70.5 41 L 70.5 7 C 70.5 3.3 67.5 0.4 63.9 0.4 L 7.2 0.4 C 5.4 0.4 3.7 1.1 2.5 2.3 C 1.2 3.5 0.5 5.2 0.5 7 Z" id="Shape" fill="#ffffff" /> <polygon id="Shape" fill="#fff" points="0.5,33.0 70.5,33.0 70.5,15.0 0.5,15.0" />
<path d="M 0.5 40.8 C 0.5 44.4 3.5 47.4 7.2 47.4 L 63.9 47.4 C 67.5 47.4 70.5 44.4 70.5 40.8 L 70.5 31.8 L 0.5 31.8 L 0.5 40.8 Z" id="Shape" fill="#ffffff" />
<circle cx="35.5" cy="24" r="15" fill="#ec5565" />
</g>
</g>
</g>
</g>
</svg>
);
}
export default JapanIcon;
@@ -65,10 +65,10 @@ export function ModsGrid({ modsMap, installed, modsSelected, onModChange, moreIn
<span className="z-10 sticky flex items-center justify-end top-0 bg-inherit border-b-2 border-main-color-1">
<BsmButton className="rounded-full h-6 w-6 p-[2px]" withBar={false} icon="search" onClick={handleToogleFilter} />
</span>
<span className="z-10 sticky top-0 flex items-center bg-inherit border-main-color-1 border-b-2 h-8 px-1">{filterEnabled ? <motion.input autoFocus className="bg-main-color-1 rounded-md h-6 px-2" initial={{ width: 0 }} animate={{ width: "250px" }} transition={{ ease: "easeInOut", duration: 0.15 }} onChange={e => handleInput(e.target.value)} /> : <span className="w-full text-center">{t("pages.version-viewer.mods.mods-grid.header-bar.name")}</span>}</span>
<span className="z-10 sticky flex items-center justify-center top-0 bg-inherit border-b-2 border-main-color-1 h-8 px-2">{t("pages.version-viewer.mods.mods-grid.header-bar.installed")}</span>
<span className="z-10 sticky flex items-center justify-center top-0 bg-inherit border-b-2 border-main-color-1 h-8 px-2">{t("pages.version-viewer.mods.mods-grid.header-bar.latest")}</span>
<span className="z-10 sticky flex items-center justify-center top-0 bg-inherit border-b-2 border-main-color-1 h-8">{t("pages.version-viewer.mods.mods-grid.header-bar.description")}</span>
<span className="z-10 sticky top-0 flex items-center bg-inherit border-main-color-1 border-b-2 h-8 px-1 whitespace-nowrap">{filterEnabled ? <motion.input autoFocus className="bg-main-color-1 rounded-md h-6 px-2" initial={{ width: 0 }} animate={{ width: "250px" }} transition={{ ease: "easeInOut", duration: 0.15 }} onChange={e => handleInput(e.target.value)} /> : <span className="w-full text-center">{t("pages.version-viewer.mods.mods-grid.header-bar.name")}</span>}</span>
<span className="z-10 sticky flex items-center justify-center top-0 bg-inherit border-b-2 border-main-color-1 h-8 px-2 whitespace-nowrap">{t("pages.version-viewer.mods.mods-grid.header-bar.installed")}</span>
<span className="z-10 sticky flex items-center justify-center top-0 bg-inherit border-b-2 border-main-color-1 h-8 px-2 whitespace-nowrap">{t("pages.version-viewer.mods.mods-grid.header-bar.latest")}</span>
<span className="z-10 sticky flex items-center justify-center top-0 bg-inherit border-b-2 border-main-color-1 h-8 whitespace-nowrap">{t("pages.version-viewer.mods.mods-grid.header-bar.description")}</span>
<span className="z-10 sticky top-0 bg-inherit border-b-2 border-main-color-1 h-8 flex justify-start items-center py-1 pl-[3px] min-w-[50px]">
<BsmDropdownButton className="h-full aspect-square relative rounded-full bg-light-main-color-1 dark:bg-main-color-3" withBar={false} icon="three-dots" buttonClassName="!rounded-full !p-[2px] !bg-light-main-color-2 dark:!bg-main-color-2 hover:!bg-light-main-color-1 dark:hover:!bg-main-color-3" menuTranslationY="5px" items={[{ text: "pages.version-viewer.mods.mods-grid.header-bar.dropdown.uninstall-all", icon: "trash", onClick: handleUninstallAll }]} />
</span>
@@ -3,7 +3,7 @@ export const defaultConfiguration: { [key in DefaultConfigKey]: any } = {
"second-color": "#ff4444",
theme: "os",
language: window.navigator.language.length <= 2 ? `${window.navigator.language}-${window.navigator.language.toLocaleUpperCase()}` : window.navigator.language,
supported_languages: ["en-US", "en-EN", "fr-FR", "es-ES", "de-DE", "ru-RU"],
supported_languages: ["en-US", "en-EN", "fr-FR", "es-ES", "de-DE", "ru-RU", "zh-CN", "zh-TW", "ja-JP"],
default_mods: ["SongCore", "WhyIsThereNoLeaderboard", "BeatSaverDownloader", "BeatSaverVoting", "PlaylistManager"],
"default-shared-folders": [
window.electron.path.join("Beat Saber_Data", "CustomLevels"),
@@ -80,6 +80,7 @@ export function SettingsPage() {
const themeSelected = useObservable(themeService.theme$, "os");
const languageSelected = useObservable(i18nService.currentLanguage$, i18nService.getFallbackLanguage());
const downloadStore = useObservable(bsDownloader.defaultStore$);
const [installationFolder, setInstallationFolder] = useState(null);
const [showSupporters, setShowSupporters] = useState(false);
const [mapDeepLinksEnabled, setMapDeepLinksEnabled] = useState(false);
@@ -236,7 +237,7 @@ export function SettingsPage() {
<SettingRadioArray items={[
{ id: 1, text: "Steam", value: BsStore.STEAM, icon: <SteamIcon className="h-6 w-6 float-left"/> },
{ id: 2, text: "Oculus Store (PC)", value: BsStore.OCULUS, icon: <OculusIcon className="h-6 w-6 float-left bg-white text-black rounded-full p-0.5"/>},
{ id: 0, text: t("pages.settings.steam-and-oculus.download-platform.always-ask"), value: undefined, },
{ id: 0, text: t("pages.settings.steam-and-oculus.download-platform.always-ask"), value: null, },
]} selectedItemValue={downloadStore} onItemSelected={handleChangeBsStore}/>
</SettingContainer>
@@ -28,7 +28,7 @@ export class BsDownloaderService extends AbstractBsDownloaderService {
private readonly oculusDownloader: OculusDownloaderService;
private readonly versionManager: BSVersionManagerService;
private readonly SELECTED_STORE_TO_DOWNLOAD_KET = "selectedStoreToDownload";
private readonly SELECTED_STORE_TO_DOWNLOAD_KEY = "selectedStoreToDownload";
private constructor(){
super();
@@ -55,11 +55,11 @@ export class BsDownloaderService extends AbstractBsDownloaderService {
this._isVerifying$.next(false);
}
public get defaultStore(): BsStore | undefined { return this.config.get<BsStore>(this.SELECTED_STORE_TO_DOWNLOAD_KET); }
public get defaultStore$(): Observable<BsStore | undefined> { return this.config.watch(this.SELECTED_STORE_TO_DOWNLOAD_KET); }
public get defaultStore(): BsStore | undefined { return this.config.get<BsStore>(this.SELECTED_STORE_TO_DOWNLOAD_KEY); }
public get defaultStore$(): Observable<BsStore | undefined> { return this.config.watch(this.SELECTED_STORE_TO_DOWNLOAD_KEY); }
public setDefaultStore(store: BsStore|undefined): void {
this.config.set(this.SELECTED_STORE_TO_DOWNLOAD_KET, store);
this.config.set(this.SELECTED_STORE_TO_DOWNLOAD_KEY, store);
}
public async chooseStoreToDownloadFrom(): Promise<BsStore | undefined> {
@@ -6,7 +6,6 @@ import { ProgressBarService } from "../progress-bar.service";
import { CustomError } from "shared/models/exceptions/custom-error.class";
import { NotificationService } from "../notification.service";
import { ModalExitCode, ModalService } from "../modale.service";
import { LoginToMetaModal, MetaAuthMethod } from "renderer/components/modal/modal-types/bs-downgrade/login-to-meta-modal.component";
import { DownloaderServiceInterface } from "./bs-store-downloader.interface";
import { AbstractBsDownloaderService } from "./abstract-bs-downloader.service";
import { DownloadInfo } from "main/services/bs-version-download/bs-steam-downloader.service";
@@ -69,14 +68,6 @@ export class OculusDownloaderService extends AbstractBsDownloaderService impleme
);
}
private tryAutoDownload(downloadInfo: DownloadInfo): Observable<Progression<BSVersion>>{
const ignoreCode = [MetaAuthErrorCodes.NO_META_AUTH_TOKEN, OculusDownloaderErrorCodes.DOWNLOAD_CANCELLED];
return this.handleDownload(
this.ipc.sendV2<Progression<BSVersion>>("bs-oculus-auto-download", { args: downloadInfo }),
ignoreCode
);
}
private startDownloadBsVersion(downloadInfo: DownloadInfo): Observable<Progression<BSVersion>>{
const ignoreCode = [MetaAuthErrorCodes.META_LOGIN_WINDOW_CLOSED_BY_USER, OculusDownloaderErrorCodes.DOWNLOAD_CANCELLED];
return this.handleDownload(
@@ -87,38 +78,10 @@ export class OculusDownloaderService extends AbstractBsDownloaderService impleme
private async doDownloadBsVersion(bsVersion: BSVersion, isVerification: boolean): Promise<BSVersion> {
let autoDownloadFailed = false;
const autoDownloadFailed = false;
return (async () => {
const autoDownload = await lastValueFrom(this.tryAutoDownload({ bsVersion, isVerification })).then(() => true).catch((err: CustomError) => {
const doNotRestartCodes: string[] = [
OculusDownloaderErrorCodes.ALREADY_DOWNLOADING,
OculusDownloaderErrorCodes.SOME_FILES_FAILED_TO_DOWNLOAD,
OculusDownloaderErrorCodes.VERIFY_INTEGRITY_FAILED,
OculusDownloaderErrorCodes.DOWNLOAD_CANCELLED
];
autoDownloadFailed = true;
if(doNotRestartCodes.includes(err?.code)){
return true;
}
return false;
});
if(autoDownload){ return autoDownload; }
const {exitCode, data} = await this.modals.openModal(LoginToMetaModal)
if(exitCode !== ModalExitCode.COMPLETED){
return false
}
if(data.method === MetaAuthMethod.META){
return lastValueFrom(this.startDownloadBsVersion({ bsVersion, isVerification, stay: data.stay })).then(() => true);
}
const tokenRes = await this.modals.openModal(EnterMetaTokenModal);
if(tokenRes.exitCode !== ModalExitCode.COMPLETED){
@@ -129,8 +92,6 @@ export class OculusDownloaderService extends AbstractBsDownloaderService impleme
})().then(res => {
console.log("aaa", res);
if(autoDownloadFailed || !res){
return bsVersion;
}
@@ -58,7 +58,7 @@ export class SteamDownloaderService extends AbstractBsDownloaderService implemen
duration: 11_000,
title: "notifications.bs-download.steam-download.errors.titles.dotnet-required",
desc: "notifications.bs-download.steam-download.errors.msg.dotnet-required",
actions: [{ id: "0", title: "notifications.bs-download..errors.actions.download-dotnet" }],
actions: [{ id: "0", title: "notifications.bs-download.steam-download.errors.actions.download-dotnet" }],
});
if (choice === "0") {
@@ -30,10 +30,14 @@ export class ConfigurationService {
public get<Type>(key: string | DefaultConfigKey): Type {
const rawValue = (window.sessionStorage.getItem(key) ?? window.localStorage.getItem(key));
const tryParse = tryit<Type>(() => JSON.parse(rawValue));
if (!tryParse.result) {
return defaultConfiguration[key as DefaultConfigKey];
const res = (tryParse.error ? rawValue : tryParse.result) as Type;
if(!res && Object.keys(defaultConfiguration).includes(key)){
return defaultConfiguration[key as DefaultConfigKey] as Type;
}
return (tryParse.result ?? rawValue) as Type;
return res;
}
public set(key: string, value: unknown, persistant = true) {
+16 -2
View File
@@ -33,9 +33,9 @@ export class I18nService {
filter(l => !!l),
distinctUntilChanged()
)
.subscribe(lang => {
.subscribe(async lang => {
this.cache.clear();
this.dictionary = require(`../../../assets/jsons/translations/${lang.split("-")[0]}.json`);
this.dictionary = this.importLang([lang, lang.split("-")[0]], "en");
i18n.dayNames = getProperty(this.dictionary, "dateformat.dayNames");
i18n.monthNames = getProperty(this.dictionary, "dateformat.monthNames");
@@ -43,6 +43,20 @@ export class I18nService {
});
}
private importLang(lang: string[], fallback: string): Record<string, string> {
for (const l of lang) {
try {
return require(`../../../assets/jsons/translations/${l.toLowerCase()}.json`);
}
catch (e) {
continue;
}
}
return require(`../../../assets/jsons/translations/${fallback.toLowerCase()}.json`);
}
public getSupportedLanguages(): string[] {
return this.configService.get("supported_languages" as DefaultConfigKey);
}
+1
View File
@@ -21,6 +21,7 @@ export interface BSVersion extends PartialBSVersion {
}
export interface BSVersionMetadata {
id: string;
store: BsStore;
}
+9 -5
View File
@@ -1,6 +1,6 @@
export function isOculusTokenValid(token: string, logger?: (...args: unknown[]) => void): boolean{
// Code taken from "https://github.com/ComputerElite/QuestAppVersionSwitcher" (TokenTools.cs)
// Part of code taken from "https://github.com/ComputerElite/QuestAppVersionSwitcher" (TokenTools.cs)
logger?.("Checking if Oculus user token is valid");
@@ -12,12 +12,16 @@ export function isOculusTokenValid(token: string, logger?: (...args: unknown[])
logger?.("Token contains %. Token most likely comes from an uri and won't work");
return false;
}
if(!token.startsWith("OC")){
logger?.("Token does not start with OC.");
if(!token.startsWith("FRL")){
logger?.("Tokens must start with 'FRL'.");
return false;
}
if(token.includes("|")){
logger?.("Token contains | which usually indicates an application token which is not valid for user tokens");
logger?.("Token contains '|' which usually indicates an application token which is not valid for user tokens");
return false;
}
if(token.includes(":")){
logger?.("Token contains ':' wich can indicate that the user have copied the 'access_token' field with the token");
return false;
}
if(token.match(/OC\d{15}/)){
@@ -25,7 +29,7 @@ export function isOculusTokenValid(token: string, logger?: (...args: unknown[])
return false;
}
logger?.("Oculus user token is valid");
logger?.("Oculus user token is valid.", `token lenght : ${token.length}`);
return true;