Compare commits

..

23 Commits

Author SHA1 Message Date
Shidorien 7b5192d377 add alpha version toggle in settings and update auto-updater configuration 2025-02-08 21:34:27 +01:00
MathieuG-P 3793edfea1 Merge pull request #767 from HighError/add-ua-locale
[Translate] Add Ukrainian translation
2025-02-08 16:48:22 +01:00
MathieuG-P 750c372a26 Merge branch 'master' into add-ua-locale 2025-02-08 16:39:10 +01:00
Zagrios 7600ead380 fix map translations + update ukraine flag 2025-02-08 16:38:41 +01:00
MathieuG-P a98c5a14a3 Merge pull request #792 from Zagrios/feature/update-docs
Update CONTRIBUTING.md
2025-02-08 16:18:18 +01:00
MathieuG-P d839204492 Merge pull request #789 from silentrald/bugfix/null-folder-version
[bugfix] fixed issue with null folderVersion
2025-02-08 16:15:23 +01:00
Iluhadesu 913ef5c281 Update bs-versions.json according to the late announcement 2025-02-08 14:26:40 +00:00
Iluhadesu 04f1b00a0b Add 1.40.2 to bs-version.json 2025-02-07 22:17:15 +00:00
GaetanGrd 1f5904d135 Update CONTRIBUTING.md 2025-02-07 17:33:22 +01:00
GaetanGrd 3f8b3a0594 Update CONTRIBUTING.md 2025-02-07 17:22:58 +01:00
GaetanGrd 3e1c595cd7 Update CONTRIBUTING.md 2025-02-07 17:16:31 +01:00
GaetanGrd c83b630e1a Update CONTRIBUTING.md 2025-02-07 17:15:55 +01:00
silentrald 7aae6ae6bc [bugfix] fixed issue with null folderVersion 2025-02-06 12:49:18 +08:00
HighError 55ff418f4a renamed icon name 2025-02-05 17:26:34 +02:00
HighError 00a87d06b2 Merge branch 'master' into add-ua-locale 2025-02-05 17:19:13 +02:00
MathieuG-P c10c3713c5 Update build.yaml 2025-02-04 00:47:43 +01:00
HighError 7ba873fb67 Merge branch 'master' into add-ua-locale 2025-01-31 19:55:45 +02:00
HighError 5e0b044b36 Merge branch 'master' into add-ua-locale 2025-01-30 21:15:37 +02:00
HighError 2262f1d2ce renamed list to playlist 2025-01-30 16:47:50 +02:00
HighError a2a0c4e00e fixed some mistypes 2025-01-30 16:25:28 +02:00
HighError abacf5f628 Fixed rounded flag 2025-01-30 16:15:14 +02:00
HighError dd70df19d0 Added all strings 2025-01-30 15:58:03 +02:00
HighError f4fb6cfafd Added some strings and icon 2025-01-30 15:14:05 +02:00
23 changed files with 1600 additions and 398 deletions
+5
View File
@@ -25,6 +25,11 @@ jobs:
node-version: 22.11.0
cache: "npm"
# Update package lists
- name: update apt-get
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update
# Install and setup rpm/Flatpak for Ubuntu
- name: Install rpm/flatpak packages (Ubuntu only)
if: matrix.os == 'ubuntu-latest'
+93 -18
View File
@@ -1,33 +1,108 @@
## Contributing
# Contributing to BSManager
[code-of-conduct]: CODE_OF_CONDUCT.md
[fork]: https://github.com/Zagrios/bs-manager/fork
[pr]: https://github.com/Zagrios/bs-manager/compare
[style]: https://github.com/basarat/typescript-book/blob/master/docs/styleguide/styleguide.md
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Hello! Were delighted that youre interested in contributing to **BSManager**. Your help is essential to maintaining and improving this project.
Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project you agree to abide by its terms.
> [!NOTE]
> This project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating, you agree to abide by its terms.
## Issues and PRs
---
If you have suggestions for how this project could be improved, or want to report a bug, open an issue! We'd love all and any contributions. If you have questions, too, we'd love to hear them.
## Opening Issues
We'd also love PRs. If you're thinking of a large PR, we advise opening up an issue first to talk about it, though! Look at the links below if you're not sure how to open a PR.
- **Reporting Bugs**
If you find a bug or any unexpected behavior, feel free to open an issue. Be sure to include steps to reproduce it, relevant logs, versions, and any other pertinent details.
- **Suggesting Enhancements**
Have an idea for improving BSManager? We welcome all suggestions—open an issue to discuss your proposal.
## Submitting a pull request
> [!TIP]
> Before opening a new issue, please check if theres already an existing one for the same topic to avoid duplicates.
1. [Fork][fork] and clone the repository.
1. Install the correct NodeJS version (highly recommend installing [Volta](https://volta.sh/) for that).
1. Configure and install the dependencies: `npm install`.
1. Create a new branch following naming convention: `git checkout -b (feature|bugfix|hotfix|chore)/(short-description)(/issue-id)`.
1. Make your change, test, and make sure BSManager work fine.
1. Push to your fork and [submit a pull request][pr].
1. Pat your self on the back and wait for your pull request to be reviewed and merged.
---
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
## Submitting Pull Requests
- Follow the [style guide][style] which is using standard.
- Keep your changes as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
### Before You Begin
Work in Progress pull requests are also welcome to get feedback early on, or if there is something blocked you.
1. **[Fork the repository][fork]** and **clone** your fork locally.
2. **Install the required Node.js version** (we recommend using [Volta](https://volta.sh/) to manage Node versions).
3. **Install project dependencies**:
```bash
npm install
```
### Create a Dedicated Branch
Use a clear naming convention for your branch:
```bash
git checkout -b (feature|bugfix|hotfix|chore)/(short-description)(/issue-id)
```
> [!NOTE]
> Exemple : `git checkout -b feature/update-docs/42`
### Develop and Test
> [!TIP]
> - Follow the [style guide][style] which is using standard.
> - Keep your changes as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Make the necessary changes on your new branch.
- Test your changes manually to ensure everything is working correctly.
- Verify that your updates do not introduce regressions or break existing functionality.
### Open a Pull Request
1. **Push** your branch to your fork.
2. Visit the main **BSManager** repository and click “Compare & pull request” or use [this link][pr].
3. Provide a **clear description** of your changes (the context, what problem it solves, etc.).
4. **Submit** your pull request. A maintainer will review it and may ask for adjustments or clarifications.
---
## Useful Commands
### Development
```bash
npm start
```
> Runs the application in development mode.
### Packaging
```bash
npm run package
```
> Packages the application using Electron Builder.
```bash
npm run build && electron-builder --config electron-builder.config.js --publish never --x64 --linux <deb/rpm/pacman>
```
> Package for Linux distros (deb, rpm, pacman)
```bash
npm run publish
```
> Publishes the application (primarily for Windows).
```bash
npm run publish:flatpak
```
> Build a Flatpak package
## Need Help?
If you have any questions or need further assistance, feel free to **open an issue** or reach out via our [discord](https://discord.gg/uSqbHVpKdV). We appreciate any and all contributions you make to BSManager!
Thank you for your interest in making BSManager better!
+9
View File
@@ -822,5 +822,14 @@
"ReleaseImg": "https://clan.fastly.steamstatic.com/images/32055887/5cc1ca353151ed31da2764716cdcbe89442aeeeb.png",
"ReleaseDate": "1738144954",
"year": "2025"
},
{
"BSVersion": "1.40.2",
"BSManifest": "5496832903170665287",
"OculusBinaryId": "8626990240734012",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/510697606000673692",
"ReleaseImg": "https://clan.fastly.steamstatic.com/images/32055887/04ad25256ffc2686f4ea19830e70df6b2752f728.png",
"ReleaseDate": "1738951837",
"year": "2025"
}
]
+9 -7
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "Englisch, Vereinigtes Königreich",
"en-US": "Englisch, USA",
@@ -258,7 +259,8 @@
"zh-CN": "Vereinfachtes Chinesisch",
"zh-TW": "Traditionelles Chinesisch",
"ja-JP": "Japanisch",
"ko-KR": "Koreanisch"
"ko-KR": "Koreanisch",
"uk-UA": "Ukrainisch"
}
}
},
@@ -946,7 +948,7 @@
"maps": {
"map-filter-panel": {
"duration": "Länge",
"nps" : "Noten pro Sekunde",
"nps": "Noten pro Sekunde",
"njs": "Notensprunggeschwindigkeit",
"tags": "Stichwörter",
"specificities": "Allgemein",
@@ -1027,11 +1029,11 @@
"by": "Von {songAutor}",
"mapped-by": "Gemapped von",
"delete": "Löschen",
"preview" : "Kartenvorschau",
"bsr-code" : "BSR Code",
"download" : "Karte herunterladen",
"downloading" :"Karte wird heruntergeladen",
"cancel-download" : "Download abbrechen",
"preview": "Kartenvorschau",
"bsr-code": "BSR Code",
"download": "Karte herunterladen",
"downloading": "Karte wird heruntergeladen",
"cancel-download": "Download abbrechen",
"hightlight-difficulty": "Schwierigkeit hervorheben"
}
},
+8 -55
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "English, United Kingdom",
"en-US": "English, USA",
@@ -258,7 +259,8 @@
"zh-CN": "Chinese (Simplified)",
"zh-TW": "Chinese (Traditional)",
"ja-JP": "Japanese",
"ko-KR": "Korean"
"ko-KR": "Korean",
"uk-UA": "Ukrainian"
}
}
},
@@ -825,7 +827,7 @@
"desc-plural": "{nb} duplicate maps have been found. Are you sure you want to delete them?"
}
},
"link-contents":{
"link-contents": {
"title": "Link {contentType}",
"p-1": "Linking {contentType} allows sharing {contentType} between all versions with this feature enabled. Once linked, this version will benefit from shared {contentType}.",
"p-2": "In order to enjoy the linking feature, all your {itemsHtml} will be moved to the {sharedHtml} folder. After that, a symbolic link pointing to the shared {contentType} folder will replace your original {contentType} folder.",
@@ -834,7 +836,7 @@
"i-need-help": "I need help",
"valid-btn": "Link {contentType}"
},
"unlink-contents":{
"unlink-contents": {
"title": "Unlink {contentType}",
"p-1": "Be careful, unlinking {contentType} will disable the use of shared {contentType} for this version, until it is reenabled.",
"p-2": "In order to unlink your maps, the symbolic link pointing to the {sharedHtml} will be removed. After that, all maps in the shared folder will be copied to the {itemsHtml} folder of your Beat Saber version.",
@@ -1270,57 +1272,8 @@
}
},
"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"
]
"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"]
}
}
+6 -53
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "Inglés, Reino Unido",
"en-US": "Inglés, Estados Unidos",
@@ -258,7 +259,8 @@
"zh-CN": "Chino simplificado",
"zh-TW": "Chino tradicional",
"ja-JP": "Japonés",
"ko-KR": "Coreano"
"ko-KR": "Coreano",
"uk-UA": "Ucraniano"
}
}
},
@@ -1270,57 +1272,8 @@
}
},
"dateformat": {
"dayNames": [
"Dom",
"Lun",
"Mar",
"Mié",
"Jue",
"Vie",
"Sáb",
"Domingo",
"Lunes",
"Martes",
"Miércoles",
"Jueves",
"Viernes",
"Sábado"
],
"monthNames": [
"Ene",
"Feb",
"Mar",
"Abr",
"May",
"Jun",
"Jul",
"Ago",
"Sep",
"Oct",
"Nov",
"Dic",
"Enero",
"Febrero",
"Marzo",
"Abril",
"Mayo",
"Junio",
"Julio",
"Agosto",
"Septiembre",
"Octubre",
"Noviembre",
"Diciembre"
],
"timeNames": [
"a",
"p",
"am",
"pm",
"A",
"P",
"AM",
"PM"
]
"dayNames": ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"],
"monthNames": ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic", "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
"timeNames": ["a", "p", "am", "pm", "A", "P", "AM", "PM"]
}
}
+17 -17
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "Anglais, Royaume-Uni",
"en-US": "Anglais, États-Unis",
@@ -258,7 +259,8 @@
"zh-CN": "Chinois simplifié",
"zh-TW": "Chinois traditionnel",
"ja-JP": "Japonais",
"ko-KR": "Coréen"
"ko-KR": "Coréen",
"uk-UA": "Ukrainien"
}
}
},
@@ -664,7 +666,6 @@
"title": "L'ajout du dossier partagé a échoué",
"msg": "Vous ne pouvez pas ajouter \"{folder}\" aux dossiers partagés."
}
},
"create-launch-shortcut": {
"success": {
@@ -947,7 +948,7 @@
"maps": {
"map-filter-panel": {
"duration": "Durée",
"nps" : "Notes Par Seconde",
"nps": "Notes Par Seconde",
"njs": "Vitesse de saut des notes",
"tags": "tags",
"specificities": "général",
@@ -1028,12 +1029,12 @@
"by": "Par {songAutor}",
"mapped-by": "mappée par",
"delete": "Supprimer",
"preview" : "Aperçu de la carte",
"bsr-code" : "Code BSR",
"download" : "Télécharger la carte",
"downloading" :"Téléchargement de la carte",
"cancel-download" : "Annuler le téléchargement",
"hightlight-difficulty" : "Surligner la difficulté"
"preview": "Aperçu de la carte",
"bsr-code": "Code BSR",
"download": "Télécharger la carte",
"downloading": "Téléchargement de la carte",
"cancel-download": "Annuler le téléchargement",
"hightlight-difficulty": "Surligner la difficulté"
}
},
"models": {
@@ -1210,15 +1211,15 @@
"no-playlists-found": "Aucune playlists trouvées",
"error-occur-while-loading-playlists": "Une erreur est survenue lors du chargement des playlists",
"error-occur-while-loading-playlist": "Une erreur est survenue lors du chargement de la playlist",
"loading-maps":"Chargement des maps...",
"no-maps-found-for-playlist":"Aucune map trouvée pour cette playlist",
"playlist-contain-no-maps":"La playlist ne contient aucune map",
"no-map-installed-for-playlist":"Aucune map installée pour cette playlist",
"playlist-is-waiting-to-download":"La playlist est en attente de téléchargment",
"loading-maps": "Chargement des maps...",
"no-maps-found-for-playlist": "Aucune map trouvée pour cette playlist",
"playlist-contain-no-maps": "La playlist ne contient aucune map",
"no-map-installed-for-playlist": "Aucune map installée pour cette playlist",
"playlist-is-waiting-to-download": "La playlist est en attente de téléchargment",
"download-maps": "Télécharger les maps",
"download-missing-maps": "Télécharger les maps manquantes",
"playlist-is-downloading":"La playlist est en cours de téléchargement",
"some-playlist-maps-are-missing":"Certaines maps de cette playlist sont manquantes",
"playlist-is-downloading": "La playlist est en cours de téléchargement",
"some-playlist-maps-are-missing": "Certaines maps de cette playlist sont manquantes",
"create-a-playlist": "Créer une playlist",
"synchronize-playlists": "Synchroniser les playlists",
"export-playlists": "Exporter les playlists",
@@ -1269,7 +1270,6 @@
"CANNOT_PARSE_PLAYLIST": "Les playlists ne sont pas lisibles",
"unknown": "Aucune playlist n'a pu être importée"
}
},
"dateformat": {
"dayNames": ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"],
+63 -110
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "Inglese, Regno Unito",
"en-US": "Inglese, Stati Uniti d'America",
@@ -258,7 +259,8 @@
"zh-CN": "Cinese (Semplificato)",
"zh-TW": "Cinese (Tradizionale)",
"ja-JP": "Giapponese",
"ko-KR": "Coreano"
"ko-KR": "Coreano",
"uk-UA": "Ucraino"
}
}
},
@@ -825,7 +827,7 @@
"desc-plural": "Sono state trovate {nb} mappe duplicate. Sei sicuro di volerle eliminare?"
}
},
"link-contents":{
"link-contents": {
"title": "Collega {contentType}",
"p-1": "Collegare {contentType} consente di condividere {contentType} tra tutte le versioni con questa funzione attiva. Quando collegate, questa versione avrà il beneficio della condivisione di {contentType}.",
"p-2": "Per usufruire della funzione di collegamento, tutti i tuoi {itemsHtml} saranno spostati nella cartella {sharedHtml}. Successivamente, un collegamento simbolico che punta alla cartella condivisa {contentType} sostituirà la tua cartella originale {contentType}.",
@@ -834,7 +836,7 @@
"i-need-help": "Mi serve aiuto",
"valid-btn": "Collega {contentType}"
},
"unlink-contents":{
"unlink-contents": {
"title": "Scollega {contentType}",
"p-1": "Attenzione, scollegare {contentType} disabiliterà l'uso di {contentType} condivisi per questa versione, fino a quando non verrà riabilitato.",
"p-2": "Per scollegare le tue mappe, il collegamento simbolico che punta alla {sharedHtml} verrà rimosso. Dopodiché, tutte le mappe nella cartella condivisa verranno copiate nella cartella {itemsHtml} della tua versione di Beat Saber.",
@@ -883,65 +885,65 @@
"connect-to-meta": {
"title": "Connettiti a Meta",
"body": {
"token-needed": "Il tuo token di connessione Meta è necessario per scaricare Beat Saber.",
"need-cookie-enabled": "Accedendo a Meta, si aprirà una finestra di login e potrai quindi avviare il processo di login. Assicurati di accettare i cookie, altrimenti potremmo non essere in grado di recuperare il tuo token per avviare il download.",
"enter-token-manually": "Inserisci manualmente il mio token di login",
"enter-token-manually-tooltip": "Questo ti permetterà di inserire il tuo token di accesso senza passare per il login di Meta."
"token-needed": "Il tuo token di connessione Meta è necessario per scaricare Beat Saber.",
"need-cookie-enabled": "Accedendo a Meta, si aprirà una finestra di login e potrai quindi avviare il processo di login. Assicurati di accettare i cookie, altrimenti potremmo non essere in grado di recuperare il tuo token per avviare il download.",
"enter-token-manually": "Inserisci manualmente il mio token di login",
"enter-token-manually-tooltip": "Questo ti permetterà di inserire il tuo token di accesso senza passare per il login di Meta."
},
"stay": "Ricordami",
"connect-to-meta": "Connettiti a Meta"
},
"stay": "Ricordami",
"connect-to-meta": "Connettiti a Meta"
},
"enable-oculus-sideloaded-apps": {
"title": "Abilita Sideloading",
"info-1": "Per avviare Beat Saber, è necessario abilitare la possibilità di eseguire app sideloaded. BSManager richiederà i diritti di amministratore per abilitare automaticamente questa funzione.",
"info-2": "La funzione di sideloading consente di avviare giochi situati al di fuori della cartella della libreria Oculus.",
"info-3": "Dopo che il sideloading è stato attivato, la funzione rimarrà attiva e non ti verrà più chiesto di abilitarla.",
"i-want-to-do-it-myself": "Voglio farlo da solo",
"understood": "Ho capito"
},
"enter-meta-token": {
"title": "Token Oculus",
"body": {
"info-enter-token": "Per scaricare Beat Saber, è richiesto il tuo token di accesso Oculus.",
"how-obtain-token": "Come posso ottenere il mio token Oculus?",
"oculus-token": "Token Oculus",
"token-is-invalid": "Il token non è valido.",
"save-my-token": "Salva il mio token",
"have-token-saved": "Ho già un token salvato",
"save-token-info": "Questo salverà il tuo token per un uso più facile. Dovrai creare una password per criptare il tuo token a scopo di archiviazione. Se dimentichi la tua password, dovrai semplicemente fornire di nuovo il tuo token.",
"password": "Password",
"password-too-short": "Password troppo corta",
"info-enter-password": "Per scaricare Beat Saber, è richiesto il tuo token di accesso Oculus. Inserisci la password usata per salvare il tuo token Oculus.",
"info-disabled-btn-password": "Il token decriptato con la password fornita non è valido. Assicurati che la password sia la stessa usata per salvare il token.",
"enter-oculus-token": "Inserisci un token Oculus"
"title": "Abilita Sideloading",
"info-1": "Per avviare Beat Saber, è necessario abilitare la possibilità di eseguire app sideloaded. BSManager richiederà i diritti di amministratore per abilitare automaticamente questa funzione.",
"info-2": "La funzione di sideloading consente di avviare giochi situati al di fuori della cartella della libreria Oculus.",
"info-3": "Dopo che il sideloading è stato attivato, la funzione rimarrà attiva e non ti verrà più chiesto di abilitarla.",
"i-want-to-do-it-myself": "Voglio farlo da solo",
"understood": "Ho capito"
},
"valid-btn": "Valida"
},
"launch-as-admin": {
"title": "Permessi di Amministratore",
"body": {
"info": "Steam è stato rilevato come in esecuzione con permessi di amministratore. Per comunicare con Steam, Beat Saber deve essere avviato anche come amministratore. Altrimenti, Beat Saber potrebbe riscontrare problemi e chiudersi dopo l'avvio.",
"info-2": "Avviare Beat Saber in modalità amministratore darà anche diritti di amministratore alle mod installate. Pertanto, è consigliato riavviare Steam senza permessi di amministratore.",
"info-3": "Si sconsiglia di dare diritti di amministratore a Steam, poiché questo influisce sui giochi e le mod installate, presentando un rischio per la sicurezza."
"enter-meta-token": {
"title": "Token Oculus",
"body": {
"info-enter-token": "Per scaricare Beat Saber, è richiesto il tuo token di accesso Oculus.",
"how-obtain-token": "Come posso ottenere il mio token Oculus?",
"oculus-token": "Token Oculus",
"token-is-invalid": "Il token non è valido.",
"save-my-token": "Salva il mio token",
"have-token-saved": "Ho già un token salvato",
"save-token-info": "Questo salverà il tuo token per un uso più facile. Dovrai creare una password per criptare il tuo token a scopo di archiviazione. Se dimentichi la tua password, dovrai semplicemente fornire di nuovo il tuo token.",
"password": "Password",
"password-too-short": "Password troppo corta",
"info-enter-password": "Per scaricare Beat Saber, è richiesto il tuo token di accesso Oculus. Inserisci la password usata per salvare il tuo token Oculus.",
"info-disabled-btn-password": "Il token decriptato con la password fornita non è valido. Assicurati che la password sia la stessa usata per salvare il token.",
"enter-oculus-token": "Inserisci un token Oculus"
},
"valid-btn": "Valida"
},
"launch-as-admin": "Avvia come Amministratore",
"not-remind-me": "Non ricordarmelo"
},
"ask-install-path": {
"title": "Cartella di installazione",
"choose-folder-description": "Scegli la cartella che conterrà tutti i contenuti scaricati da BSManager. (versioni, mod, mappe, playlist, ecc.)",
"default": "Predefinito",
"default-tooltip": "Predefinito nella tua cartella home"
},
"choose-proton-folder": {
"title": "Cartella di Proton",
"proton-folder-description": "Su Linux, BSManager richiede Proton per funzionare. Scegli la cartella di installazione di Proton per continuare.",
"proton-folder-placeholder": "Cartella di installazione di Proton",
"where-is-proton-installed": "Dove è installato Proton?"
},
"bs-version-outdated": {
"body": "La versione {outdatedVersion} è obsoleta, e alcune mod o funzioni potrebbero non funzionare più come previsto. Per favore scarica l'ultima versione raccomandata ({recommendedVersion}) di Beat Saber per godere delle ultime funzioni e bugfix."
}
"launch-as-admin": {
"title": "Permessi di Amministratore",
"body": {
"info": "Steam è stato rilevato come in esecuzione con permessi di amministratore. Per comunicare con Steam, Beat Saber deve essere avviato anche come amministratore. Altrimenti, Beat Saber potrebbe riscontrare problemi e chiudersi dopo l'avvio.",
"info-2": "Avviare Beat Saber in modalità amministratore darà anche diritti di amministratore alle mod installate. Pertanto, è consigliato riavviare Steam senza permessi di amministratore.",
"info-3": "Si sconsiglia di dare diritti di amministratore a Steam, poiché questo influisce sui giochi e le mod installate, presentando un rischio per la sicurezza."
},
"launch-as-admin": "Avvia come Amministratore",
"not-remind-me": "Non ricordarmelo"
},
"ask-install-path": {
"title": "Cartella di installazione",
"choose-folder-description": "Scegli la cartella che conterrà tutti i contenuti scaricati da BSManager. (versioni, mod, mappe, playlist, ecc.)",
"default": "Predefinito",
"default-tooltip": "Predefinito nella tua cartella home"
},
"choose-proton-folder": {
"title": "Cartella di Proton",
"proton-folder-description": "Su Linux, BSManager richiede Proton per funzionare. Scegli la cartella di installazione di Proton per continuare.",
"proton-folder-placeholder": "Cartella di installazione di Proton",
"where-is-proton-installed": "Dove è installato Proton?"
},
"bs-version-outdated": {
"body": "La versione {outdatedVersion} è obsoleta, e alcune mod o funzioni potrebbero non funzionare più come previsto. Per favore scarica l'ultima versione raccomandata ({recommendedVersion}) di Beat Saber per godere delle ultime funzioni e bugfix."
}
},
"maps": {
"map-filter-panel": {
@@ -1271,57 +1273,8 @@
}
},
"dateformat": {
"dayNames": [
"Dom",
"Lun",
"Mar",
"Mer",
"Gio",
"Ven",
"Sab",
"Domenica",
"Lunedì",
"Martedì",
"Mercoledì",
"Giovedì",
"Venerdì",
"Sabato"
],
"monthNames": [
"Gen",
"Feb",
"Mar",
"Apr",
"Mag",
"Giu",
"Lug",
"Ago",
"Set",
"Ott",
"Nov",
"Dic",
"Gennaio",
"Febbraio",
"Marzo",
"Aprile",
"Maggio",
"Giugno",
"Luglio",
"Augosto",
"Settembre",
"Ottobre",
"Novembre",
"Dicembre"
],
"timeNames": [
"a",
"p",
"am",
"pm",
"A",
"P",
"AM",
"PM"
]
"dayNames": ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"],
"monthNames": ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic", "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Augosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
"timeNames": ["a", "p", "am", "pm", "A", "P", "AM", "PM"]
}
}
+9 -7
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "イギリス英語",
"en-US": "アメリカ英語",
@@ -258,7 +259,8 @@
"zh-CN": "簡体字中国",
"zh-TW": "繁体字中国",
"ja-JP": "日本語",
"ko-KR": "韓国語"
"ko-KR": "韓国語",
"uk-UA": "ウクライナ語"
}
}
},
@@ -946,7 +948,7 @@
"maps": {
"map-filter-panel": {
"duration": "尺",
"nps" : "秒間ノート数",
"nps": "秒間ノート数",
"njs": "ノートジャンプ速度",
"tags": "タグ",
"specificities": "一般",
@@ -1027,11 +1029,11 @@
"by": "By {songAutor}",
"mapped-by": "作成者 ",
"delete": "削除",
"preview" : "マッププレビュー",
"bsr-code" : "BSRコード",
"download" : "マップをダウンロード",
"downloading" :"マップをダウンロード中",
"cancel-download" : "ダウンロードをキャンセル",
"preview": "マッププレビュー",
"bsr-code": "BSRコード",
"download": "マップをダウンロード",
"downloading": "マップをダウンロード中",
"cancel-download": "ダウンロードをキャンセル",
"hightlight-difficulty": "難易度をハイライト"
}
},
+6 -54
View File
@@ -162,7 +162,6 @@
"dont-remind-me": "다시는 알리지 않기",
"update": "업데이트"
}
},
"drop-zone": {
"text": "모드를 가져오기",
@@ -247,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "영어(영국)",
"en-US": "영어(미국)",
@@ -259,7 +259,8 @@
"zh-CN": "중국어 (간체)",
"zh-TW": "중국어 (번체)",
"ja-JP": "일본어",
"ko-KR": "한국어"
"ko-KR": "한국어",
"uk-UA": "우크라이나어"
}
}
},
@@ -1265,57 +1266,8 @@
}
},
"dateformat": {
"dayNames": [
"일",
"월",
"화",
"수",
"목",
"금",
"토",
"일요일",
"월요일",
"화요일",
"수요일",
"목요일",
"금요일",
"토요일"
],
"monthNames": [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월",
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월"
],
"timeNames": [
"오전",
"오후",
"오전",
"오후",
"오전",
"오후",
"오전",
"오후"
]
"dayNames": ["일", "월", "화", "수", "목", "금", "토", "일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"],
"monthNames": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월", "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
"timeNames": ["오전", "오후", "오전", "오후", "오전", "오후", "오전", "오후"]
}
}
+8 -55
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "Inglês, Reino Unido",
"en-US": "Inglês, Estados Unidos",
@@ -258,7 +259,8 @@
"zh-CN": "Chinês (Simplificado)",
"zh-TW": "Chinês (Tradicional)",
"ja-JP": "Japonês",
"ko-KR": "Coreano"
"ko-KR": "Coreano",
"uk-UA": "Ucraniano"
}
}
},
@@ -825,7 +827,7 @@
"desc-plural": "{nb} mapas duplicados foram encontrados. Tem certeza de que deseja excluí-los?"
}
},
"link-contents":{
"link-contents": {
"title": "Vincular {contentType}",
"p-1": "Vincular {contentType} permite compartilhar {contentType} entre todas as suas versões que possuam essa função habilitada. Uma vez vinculados, essa versão irá se beneficiar dos {contentType} compartilhados.",
"p-2": "Para que possa aproveitar a função de vinculação, todos os seus {itemsHtml} serão movidos para a pasta {sharedHtml}. Depois disso, um link simbólico apontando para a pasta compartilhada {contentType} irá substituir sua pasta original {contentType}.",
@@ -834,7 +836,7 @@
"i-need-help": "Eu preciso de ajuda",
"valid-btn": "Link {contentType}"
},
"unlink-contents":{
"unlink-contents": {
"title": "Desvincular {contentType}",
"p-1": "Cuidado! Desvincular {contentType} irá desabilitar o compartilhamento de {contentType} para essa versão, até que seja habilitado novamente.",
"p-2": "Para que possa desvincular seus mapas, o link simbólico criado anteriomente para {sharedHtml} será removido. Depois disso, todos os mapas na pasta compartilhada serão copiados para a pasta {itemsHtml} da sua versão do Beat Saber.",
@@ -1270,57 +1272,8 @@
}
},
"dateformat": {
"dayNames": [
"Dom",
"Seg",
"Ter",
"Qua",
"Qui",
"Sex",
"Sab",
"Domingo",
"Segunda",
"Terça",
"Quarta",
"Quinta",
"Sexta",
"Sábado"
],
"monthNames": [
"Jan",
"Fev",
"Mar",
"Abr",
"Maio",
"Jun",
"Jul",
"Ago",
"Set",
"Out",
"Nov",
"Dez",
"Janeiro",
"Fevereiro",
"Março",
"Abril",
"Maio",
"Junho",
"Julho",
"Agosto",
"Setembro",
"Outubro",
"Novembro",
"Dezembro"
],
"timeNames": [
"a",
"p",
"am",
"pm",
"A",
"P",
"AM",
"PM"
]
"dayNames": ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab", "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"],
"monthNames": ["Jan", "Fev", "Mar", "Abr", "Maio", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez", "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
"timeNames": ["a", "p", "am", "pm", "A", "P", "AM", "PM"]
}
}
+9 -7
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "Английский, Великобритания",
"en-US": "Английский, США",
@@ -258,7 +259,8 @@
"zh-CN": "Китайский (упрощенный)",
"zh-TW": "Китайский (традиционный)",
"ja-JP": "Японский",
"ko-KR": "Корейский"
"ko-KR": "Корейский",
"uk-UA": "Украинский"
}
}
},
@@ -945,7 +947,7 @@
"maps": {
"map-filter-panel": {
"duration": "Длительность",
"nps" : "Нот в Секунду",
"nps": "Нот в Секунду",
"njs": "Скорость прыжка нот",
"tags": "тэги",
"specificities": "основное",
@@ -1026,11 +1028,11 @@
"by": "От {songAutor}",
"mapped-by": "автор карты ",
"delete": "Удалить",
"preview" : "Предпросмотр карты",
"bsr-code" : "Код BSR",
"download" : "Скачать карту",
"downloading" :"Загрузка карты",
"cancel-download" : "Отменить загрузку",
"preview": "Предпросмотр карты",
"bsr-code": "Код BSR",
"download": "Скачать карту",
"downloading": "Загрузка карты",
"cancel-download": "Отменить загрузку",
"hightlight-difficulty": "Выделить сложность"
}
},
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -246,6 +246,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "英式英語",
"en-US": "美式英語",
@@ -258,7 +259,8 @@
"zh-CN": "簡體中文",
"zh-TW": "正體中文",
"ja-JP": "日語",
"ko-KR": "韓語"
"ko-KR": "韓語",
"uk-UA": "烏克蘭"
}
}
},
+9 -7
View File
@@ -245,6 +245,7 @@
"zh-TW": "正體中文",
"ja-JP": "日本語",
"ko-KR": "한국어",
"uk-UA": "Українська",
"translated": {
"en-EN": "英式英语",
"en-US": "美式英语",
@@ -257,7 +258,8 @@
"zh-CN": "简体中文",
"zh-TW": "正体中文",
"ja-JP": "日语",
"ko-KR": "韩语"
"ko-KR": "韩语",
"uk-UA": "烏克蘭"
}
}
},
@@ -945,7 +947,7 @@
"maps": {
"map-filter-panel": {
"duration": "时长",
"nps" : "每秒音符数",
"nps": "每秒音符数",
"njs": "音符跳跃速度",
"tags": "标签",
"specificities": "general",
@@ -1026,11 +1028,11 @@
"by": "By {songAutor}",
"mapped-by": "mapped by",
"delete": "删除",
"preview" : "预览地图",
"bsr-code" : "BSR代码",
"download" : "下载地图",
"downloading" :"正在下载地图",
"cancel-download" : "取消下载",
"preview": "预览地图",
"bsr-code": "BSR代码",
"download": "下载地图",
"downloading": "正在下载地图",
"cancel-download": "取消下载",
"hightlight-difficulty": "突出显示难度"
}
},
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "bs-manager",
"version": "1.5.0-alpha.9",
"version": "1.5.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bs-manager",
"version": "1.5.0-alpha.9",
"version": "1.5.0",
"hasInstallScript": true,
"license": "GPL-3.0-only",
"dependencies": {
@@ -1,4 +1,5 @@
import { autoUpdater, CancellationToken, ProgressInfo } from "electron-updater";
import { StaticConfigurationService } from "main/services/static-configuration.service";
import log from "electron-log";
import { gt } from "semver";
import { Progression } from "main/helpers/fs.helpers";
@@ -7,6 +8,8 @@ import { Observable } from "rxjs";
export class AutoUpdaterService {
private static instance: AutoUpdaterService;
private static readonly staticConfig = StaticConfigurationService.getInstance();
public static getInstance(): AutoUpdaterService {
if (!AutoUpdaterService.instance) {
AutoUpdaterService.instance = new AutoUpdaterService();
@@ -20,6 +23,10 @@ export class AutoUpdaterService {
}
public async isUpdateAvailable(): Promise<boolean> {
AutoUpdaterService.staticConfig.take("use-alpha", useAlpha => {
autoUpdater.allowPrerelease = useAlpha;
});
return autoUpdater.checkForUpdates()
.then(info => {
return !!info?.updateInfo && gt(
@@ -47,6 +54,7 @@ export class AutoUpdaterService {
autoUpdater.addListener("download-progress", progressListener);
autoUpdater.addListener("update-downloaded", downloadedListener);
const cancelToken = new CancellationToken();
autoUpdater.downloadUpdate(cancelToken)
@@ -106,10 +106,10 @@ export class BSLocalVersionService {
const versionFilePath = path.join(bsPath, 'Beat Saber_Data', 'globalgamemanagers');
const folderVersion = await this.getVersionFromGlobalGameManagerFile(versionFilePath);
folderVersion.path = bsPath;
if(!folderVersion){ return null; }
folderVersion.path = bsPath;
if(options?.steam || options?.oculus){
return {...folderVersion, ...options};
}
@@ -90,6 +90,7 @@ export interface StaticConfigKeyValues {
"use-symlinks": boolean;
"use-system-proxy": boolean;
"last-version-launched": BSVersion;
"use-alpha": boolean;
// Linux Specific static configs
"proton-folder": string;
@@ -12,7 +12,7 @@ import { FranceIcon } from "./flags/france-icon.component";
import { SpainIcon } from "./flags/spain-icon.component";
import { ItalyIcon } from "./flags/italy-icon.component";
import { UsaIcon } from "./flags/usa-icon.component";
import { UkIcon } from "./flags/uk-icon.component";
import { UkraineIcon } from "./flags/ukraine-icon.component";
import { TaskIcon } from "./icons/task-icon.component";
import { CopyIcon } from "./icons/copy-icon.component";
import { SteamIcon } from "./icons/steam-icon.component";
@@ -70,10 +70,11 @@ import { AddFileIcon } from "./icons/add-file-icon.component";
import { CancelIcon } from "./icons/cancel-icon.component";
import { WarningIcon } from "./icons/warning-icon.component";
import { ArrowUpwardIcon } from "./icons/arrow-upward-icon.component";
import { UkIcon } from "./flags/uk-icon.component";
export type BsmIconType = SongDetailDiffCharactertistic | ("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" | "web-site" | "clean" | "browse" | "add-file" | "arrow-upward" | "cancel" | "warning" | "fr-FR-flag" | "es-ES-flag" | "it-IT-flag" | "en-US-flag" | "en-EN-flag" | "de-DE-flag" | "ru-RU-flag" | "zh-CN-flag" | "zh-TW-flag" | "ja-JP-flag" | "ko-KR-flag" | "pt-BR-flag" | "null" );
export type BsmIconType = SongDetailDiffCharactertistic | ("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" | "web-site" | "clean" | "browse" | "add-file" | "arrow-upward" | "cancel" | "warning" | "fr-FR-flag" | "es-ES-flag" | "it-IT-flag" | "en-US-flag" | "en-EN-flag" | "de-DE-flag" | "ru-RU-flag" | "zh-CN-flag" | "zh-TW-flag" | "ja-JP-flag" | "ko-KR-flag" | "pt-BR-flag" | "uk-UA-flag"| "null" );
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
@@ -146,6 +147,9 @@ export const BsmIcon = memo(({ className, icon, style }: { className?: string; i
if (icon === "pt-BR-flag"){
return <BrazilIcon className={className} style={style} />;
}
if (icon === "uk-UA-flag"){
return <UkraineIcon className={className} style={style} />;
}
if (icon === "task") {
return <TaskIcon className={className} style={style} />;
@@ -0,0 +1,14 @@
import { createSvgIcon } from "../svg-icon.type";
// Uploaded from: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools
export const UkraineIcon = createSvgIcon((props, ref) => {
return (
<svg ref={ref} {...props} width="71" height="48" viewBox="0 0 71 48" xmlns="http://www.w3.org/2000/svg">
<g fill="none">
<path d="M64.27 47.7H7a6.36 6.36 0 0 1-6.36-6.36V23.7h70v17.64a6.36 6.36 0 0 1-6.37 6.36" fill="#F6D660"/>
<path d="M.63 7.06A6.36 6.36 0 0 1 7 .7h57.27a6.36 6.36 0 0 1 6.36 6.36V23.7h-70z" fill="#4A89DC"/>
</g>
</svg>
);
})
@@ -25,7 +25,7 @@ export const defaultConfiguration: {
"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", "it-IT", "de-DE", "ru-RU", "zh-CN", "zh-TW", "ja-JP", "ko-KR", "pt-BR"],
supported_languages: ["en-US", "en-EN", "fr-FR", "es-ES", "it-IT", "de-DE", "ru-RU", "zh-CN", "zh-TW", "ja-JP", "ko-KR", "pt-BR", "uk-UA"],
default_mods: ["SongCore", "WhyIsThereNoLeaderboard", "BeatSaverDownloader", "BeatSaverVoting", "PlaylistManager"],
"default-shared-folders": [
window.electron.path.join("Beat Saber_Data", "CustomLevels"),
@@ -545,11 +545,13 @@ function AdvancedSettings() {
const [hardwareAccelerationEnabled, setHardwareAccelerationEnabled] = useState(true);
const [useSymlink, setUseSymlink] = useState(false);
const [useSystemProxy, setUseSystemProxy] = useState(false);
const [useAlpha, setUseAlpha] = useState(false);
useEffect(() => {
staticConfig.get("disable-hadware-acceleration").then(disabled =>setHardwareAccelerationEnabled(() => disabled !== true));
staticConfig.get("use-symlinks").then(useSymlinks => setUseSymlink(() => useSymlinks));
staticConfig.get("use-system-proxy").then(useSystemProxy => setUseSystemProxy(() => useSystemProxy));
staticConfig.get("use-alpha").then(useAlpha => setUseAlpha(() => useAlpha));
}, []);
const onChangeHardwareAcceleration = async (newHardwareAccelerationEnabled: boolean) => {
@@ -630,6 +632,36 @@ function AdvancedSettings() {
setUseSystemProxy(() => newUseSystemProxy);
}
const onChangeUseAlpha = async (newUseAlpha: boolean) => {
if (window.electron.platform !== "win32" || newUseAlpha === useAlpha) {
return;
}
const res = await modal.openModal(BasicModal, { data: {
title: "pages.settings.advanced.use-alpha.modal.title",
body: "pages.settings.advanced.use-alpha.modal.body",
image: BeatConflict,
buttons: [
{ id: "cancel", text: "misc.cancel", type: "cancel" },
{ id: "confirm", text: "pages.settings.advanced.use-alpha.modal.confirm-btn", type: "error", onClick: () => true}
]
}});
if(res.exitCode !== ModalExitCode.COMPLETED || res.data !== "confirm"){ return; }
const { error } = await tryit(() => staticConfig.set("use-alpha", newUseAlpha));
if(error){
notification.notifyError({ title: "notifications.types.error", desc: "pages.settings.advanced.use-alpha.error-notification.message" });
return;
}
setUseAlpha(() => newUseAlpha);
await lastValueFrom(ipc.sendV2("restart-app"));
}
const advancedItems: Item[] = [{
checked: hardwareAccelerationEnabled,
text: t.text("pages.settings.advanced.hardware-acceleration.title"),
@@ -649,6 +681,12 @@ function AdvancedSettings() {
desc: t.text("pages.settings.advanced.use-system-proxy.description"),
onChange: onChangeUseSystemProxy
});
advancedItems.push({
checked: useAlpha,
text: t.text("pages.settings.advanced.use-alpha.title"),
desc: t.text("pages.settings.advanced.use-alpha.description"),
onChange: onChangeUseAlpha
});
}
return <SettingContainer title="pages.settings.advanced.title" description="pages.settings.advanced.description">