Compare commits

..

874 Commits

Author SHA1 Message Date
MathieuG-P d61f59c714 bumb to 1.3.1 2023-10-02 13:36:22 +02:00
MathieuG-P 64e3652b60 Merge pull request #330 from Zagrios/bugfix/steam-vr-restored-before-beatsaber-was-launched
[bugfix] increase timout for restoring SteamVR after launching Beat Saber
2023-10-02 13:35:46 +02:00
MathieuG-P 6f018e6a32 [bugfix] increase timout for restoring SteamVR after launching Beat Saber 2023-10-02 13:30:23 +02:00
MathieuG-P da3b2b13a8 Merge pull request #328 from Zagrios/bugfix/replace-resvg-that-need-dll-by-sharp
[bugfix] Remove resvg lib that need DLL by Sharp that doesnt
2023-09-25 12:52:40 +02:00
MathieuG-P 381daa80a4 [bufix] install node-abi 2023-09-25 12:34:05 +02:00
MathieuG-P bdfe8ce535 [bugfix] Remove resvg lib that need DLL by Sharp that doesnt 2023-09-25 11:55:34 +02:00
MathieuG-P 7f71d3006c bumb to 1.3.1-alpha.2 2023-09-25 08:12:50 +02:00
MathieuG-P 120470de5e Merge pull request #326 from Zagrios/bugfix/bsm-was-using-the-parent-of-bs-content-folder
[bugfix] fix of using the parent of installation folder when it was set in the config
2023-09-23 16:14:27 +02:00
MathieuG-P 8efe5be63f [bugfix] fix of using the parent of installation folder when it was set in the config 2023-09-23 16:09:24 +02:00
MathieuG-P 7378b234eb Merge pull request #325 from Insprill/fix/liv-linux
Skip Liv initialization on Linux
2023-09-21 17:17:37 +02:00
Pierce Thompson d256f2989f Pass noError instead of using a dummy impl 2023-09-21 10:59:13 -04:00
Pierce Thompson 85d43639af Skip Liv initialization on Linux 2023-09-20 22:47:59 -04:00
MathieuG-P f849b0d570 Merge pull request #323 from Zagrios/bugfix/steam-and-oculus-are-not-at-the-top
[bugfix] Steam and Oculus are not at the top of the versions list
2023-09-20 17:38:37 +02:00
MathieuG-P 34936f6666 [bugfix] Steam and Oculus are not at the top of the versions list 2023-09-20 17:32:45 +02:00
MathieuG-P d8a4889298 Merge pull request #321 from Zagrios/bugfix/add-no-yeet-args-prevent-mods-to-be-yeeted
[bugfix] Add no-yeet agrs to prevent mods to be yeeted
2023-09-18 15:29:35 +02:00
MathieuG-P 21c7f9d225 [bugfix] Add no-yeet agrs to prevent mods to be moved when UserData folder is linked 2023-09-18 15:24:53 +02:00
MathieuG-P 1048ca6b9b remove code sign verification 2023-09-18 15:14:09 +02:00
MathieuG-P b2b7002a8e Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-09-18 14:37:43 +02:00
MathieuG-P 1776f5f769 [chore] update code sign sha 2023-09-18 14:37:40 +02:00
MathieuG-P f17c8a27cc for code sign verification 2023-09-15 17:05:43 +02:00
MathieuG-P 1b8e009a62 bumb to 1.3.1-alpha.1 2023-09-15 16:58:50 +02:00
MathieuG-P 3a44779ade Merge pull request #320 from Zagrios/feature/liv-shortcuts
[feature] Liv shortcuts
2023-09-15 09:51:13 +02:00
MathieuG-P c407997dc2 [feature] remove code smells 2023-09-15 09:44:55 +02:00
MathieuG-P d61c1a519f [feature] remove unused function, and add logs 2023-09-15 09:39:08 +02:00
MathieuG-P 46eb8d065b [feature] Start LIV service on startup 2023-09-14 22:36:59 +02:00
MathieuG-P 9ee036527c [feature] LIV shortcut synchronise with installed BSM versions 2023-09-13 23:41:46 +02:00
MathieuG-P 825b35d164 [feature] create LIV service 2023-09-13 00:14:38 +02:00
MathieuG-P 9de0a4a821 [chore] update deps 2023-09-12 22:38:18 +02:00
MathieuG-P e01fe02c08 Merge pull request #319 from Zagrios/chore/change-default-contents-path
[chore] Change default contents path to avoid OneDrive issues
2023-09-11 22:08:17 +02:00
MathieuG-P 2e376b03fc [chore] fix sonarcloud bug 2023-09-11 21:53:58 +02:00
MathieuG-P 6bdf47678e [chore] Change default contents path to avoid OneDrive issues 2023-09-11 21:49:43 +02:00
Iluhadesu c9bcdc8da6 Add v1.31.1 to bs_versions.json 2023-09-04 13:34:54 +02:00
MathieuG-P 7d21ba5bca add patreon 2023-09-03 17:14:58 +02:00
MathieuG-P 7fb19f46d0 Merge pull request #314 from Zagrios/bugfix/steamvr-not-retored-after-fpfc-mode/313
[bugfix-313] Restore SteamVR shortly after launching BS and on disabl…
2023-08-28 16:45:18 +02:00
MathieuG-P 195bc1ad64 [bugfix-313] remove unused imports 2023-08-28 16:36:31 +02:00
MathieuG-P ccc133cf6d [bugfix-313] Restore SteamVR shortly after launching BS and on disabling FPFC Mode 2023-08-28 16:33:53 +02:00
MathieuG-P 549d4473ab Merge pull request #312 from Zagrios/feature/use-arcviewer/237
[feature-237] use ArcViewer
2023-08-28 00:36:09 +02:00
MathieuG-P 23d7f8ad64 [feature-237] remove unused import 2023-08-28 00:29:56 +02:00
MathieuG-P 3edb3f583b [feature-237] use ArcViewer 2023-08-28 00:25:43 +02:00
MathieuG-P 71a2a01aca [chore] update electron 2023-08-27 23:33:42 +02:00
MathieuG-P e3468fac0a Merge pull request #311 from Zagrios/bugfix/song-not-goes-in-custom-symlink/310
[bugfix] one click install contents not goes in custom symlinks
2023-08-27 20:54:13 +02:00
MathieuG-P 8d2075012b [bugfix] one click install contents not goes in custom symlinks 2023-08-27 20:39:21 +02:00
MathieuG-P f3ed2a8477 Merge pull request #309 from GabiRP/master
Better spanish translations
2023-08-17 13:07:42 +02:00
GabiRP 5355f84bc6 better spanish translations 2023-08-16 21:11:26 +02:00
MathieuG-P 6758e5937e Merge pull request #308 from Zagrios/chore/no-need-to-delete-cetrificateSha1-in-packagejson-to-test-a-build
[chore] no need to delete "certificateSha1" in package.json to run "npm run package" when don't have certificate
2023-08-14 19:04:18 +02:00
MathieuG-P de2d38bd45 [chore] no need to delete "certificateSha1" in package.json to run "npm run package" when don't have certificate 2023-08-14 19:00:54 +02:00
MathieuG-P 7b8c98e809 Merge pull request #307 from Zagrios/bugfix/installing-version-disappear-on-uninstall-another/304
[bugfix] On uninstalling a version, downloading version disappears
2023-08-14 16:21:05 +02:00
MathieuG-P bda7c6719a Merge pull request #303 from slinkstr/chore/registered-typo
typo: isDeepLinkRegistred -> isDeepLinkRegistered
2023-08-14 16:07:27 +02:00
MathieuG-P 254047e99e remove useless import 2023-08-14 16:03:42 +02:00
MathieuG-P 578f2ec335 [bugfix] On uninstalling a version, downloading version disappears 2023-08-14 16:00:05 +02:00
MathieuG-P 8cc5449818 Merge pull request #305 from Zagrios/chore/update-packages
Chore/update packages
2023-08-13 20:42:19 +02:00
MathieuG-P 323e666d5a [chore] update semver 2023-08-13 20:40:00 +02:00
MathieuG-P cbe6cb06c0 [chore] update framer-motion 2023-08-13 20:33:48 +02:00
MathieuG-P 3e36321ba5 [chore] update dot-prop 2023-08-13 20:30:27 +02:00
MathieuG-P c9677b1224 [chore] update electron 2023-08-13 20:26:58 +02:00
MathieuG-P e6387b45c5 Add patreon 2023-08-12 12:37:24 +02:00
slinky 8b4a5f15e7 typo: isDeepLinkRegistred -> isDeepLinkRegistered 2023-08-11 20:04:46 -07:00
MathieuG-P 4b741ead15 bumb to 1.3.0 2023-08-10 19:02:14 +02:00
MathieuG-P de03044ff9 remove diamond rank 2023-08-10 18:52:43 +02:00
MathieuG-P b3a3955f69 [hotfix] useless word in EN translation 2023-08-10 18:51:40 +02:00
MathieuG-P f5c83ee9ca bumb to 1.3.0-alpha.6 2023-08-10 01:31:42 +02:00
MathieuG-P e1546d0975 Merge pull request #301 from Zagrios/chore/add-logs-for-depotdownloader-events
[chore] add logs for depotdownloader events
2023-08-10 01:26:09 +02:00
MathieuG-P d69ecac496 [chore] add logs for depotdownloader events 2023-08-10 01:19:06 +02:00
MathieuG-P 8f1a2015bd Merge pull request #300 from Zagrios/bugfix/change-token-rejected-translation
[bugfix] change error message for TokenReject error from DepotDownloader
2023-08-10 00:40:22 +02:00
MathieuG-P 3e4afe5a07 [bugfix] change error message for TokenReject error from DepotDownloader 2023-08-10 00:34:44 +02:00
MathieuG-P 288c219417 Merge pull request #297 from Insprill/fix/depot-downloader-linux
Fix Depot Downloader not working on Linux
2023-08-09 23:50:45 +02:00
Pierce Thompson 31db079b08 Fix process command/args 2023-08-09 17:16:15 -04:00
MathieuG-P 5e1eff7143 Merge pull request #299 from Zagrios/bugfix/fix-focus-outside-element-with-tabs/298
[bugfix-298] fix focus outside element with tab key
2023-08-09 23:01:39 +02:00
MathieuG-P 301d2fdfc4 [bugfix-298] fix focus outside element with tab key 2023-08-09 22:46:10 +02:00
Pierce Thompson 9638c65407 Fix Depot Downloader not working on Linux 2023-08-08 23:51:38 -04:00
MathieuG-P efd69e4bb3 bumb to 1.3.0-alpha.5 2023-08-08 02:13:45 +02:00
MathieuG-P 90cb0d5038 Merge pull request #296 from Zagrios/bugfix/incorrect-text-colors-on-models-elemtnts-with-light-theme
[bugfix] Incorrect text colors on Models elements with light theme in download modal
2023-08-08 02:11:01 +02:00
MathieuG-P 73e8e0f15a Merge pull request #295 from Zagrios/bugfix/unable-download-bs-version-with-fresh-install
[bugfix] Ensure BSInstances exist before running depotdownloader
2023-08-08 02:07:10 +02:00
MathieuG-P b169b04637 [bugfix] Incorrect text colors on Models elements with light theme in download modal 2023-08-08 02:06:50 +02:00
MathieuG-P 6296a78cbc [bugfix] Ensure BSInstances exist before running depotdownloader 2023-08-08 01:51:07 +02:00
MathieuG-P 1305756cac add patreon 2023-08-07 19:07:48 +02:00
MathieuG-P 1f2601427b add patreon 2023-08-06 21:41:35 +02:00
MathieuG-P 1e7ec798e6 bumb to 1.3.0-alpha.4 2023-08-06 16:42:34 +02:00
MathieuG-P d56262b56d Merge pull request #294 from Zagrios/chore/update-electron-updater
[chore] update electron-builder & electron-updater
2023-08-06 16:30:27 +02:00
MathieuG-P 4a3528229e [chore] update electron-builder & electron-updater 2023-08-06 16:25:35 +02:00
MathieuG-P f61d44b14a Merge pull request #293 from Zagrios/feature/login-with-qr-code
[feature] login to Steam with QRCode + handle login approval from Steam app
2023-08-06 16:16:07 +02:00
MathieuG-P 1f99ce1ec1 [feature] remove code smells 2023-08-06 16:07:58 +02:00
MathieuG-P 0d75b56d19 [feature] Correct translation + adjust qr code color with loght theme 2023-08-06 15:39:12 +02:00
MathieuG-P 35aa1af377 add patreon 2023-08-06 15:00:39 +02:00
MathieuG-P 4ee4d0f565 [feature] use the fixed depot downloader 2023-08-06 03:19:59 +02:00
MathieuG-P 30275a920e Merge pull request #292 from Zagrios/bugfix/shared-folders-not-saved
[bugfix] Fix additionnal shared folders not saved
2023-08-05 04:25:14 +02:00
MathieuG-P e51e63af8e [bugfix] Fix additionnal shared folders not saved 2023-08-05 04:20:58 +02:00
MathieuG-P 1be3b7af31 [feature] Add notifications for BS download 2023-08-05 03:50:04 +02:00
MathieuG-P a92c65be53 [feature] Add waiting for Steam app approval modal 2023-08-03 03:52:13 +02:00
MathieuG-P 922aad7867 [feature] can now login to Steam with QRCode + ipc management optimization 2023-08-02 02:36:36 +02:00
MathieuG-P 82bca18f3f [bugfix] fix no dependency in useEffect 2023-08-02 02:33:19 +02:00
MathieuG-P d0aff9d27b [feature] properly handle link click from renderer 2023-08-02 02:31:41 +02:00
MathieuG-P b308d66c2c Add patreon 2023-07-29 21:06:36 +02:00
MathieuG-P 82675925ff bumb to 1.3.0-alpha.3 2023-07-23 18:54:19 +02:00
MathieuG-P 8adda9c027 [hotfix] unable to install mods 2023-07-23 18:46:43 +02:00
MathieuG-P 5d4a824a76 bumb to 1.3.0-alpha.2 2023-07-23 16:26:20 +02:00
MathieuG-P 6472aff718 Merge pull request #291 from Zagrios/bugfix/sometimes-installing-mods-downgrades-newer-installed-mods
[bugfix] do not install mods that are less recent than those installed
2023-07-22 23:58:51 +02:00
MathieuG-P 02d3d64a18 [bugfix] do not install mods that are less recent than those installed 2023-07-22 23:53:44 +02:00
MathieuG-P 6d8d3e993a Merge pull request #288 from Zagrios/bugfix/crash-loading-bunch-of-maps/276
[bugfix-276] Fix crashing when loading bunch of maps
2023-07-21 04:19:29 +02:00
MathieuG-P 570a20470e Merge pull request #290 from Zagrios/bugfix/window-title-become-index.html-when-closing-settings/289
[bugfix-289] Add title in index.ejs to prevent the window title to be wiped magically
2023-07-21 02:29:17 +02:00
MathieuG-P e96a977abe [bugfix-289] Add title in index.ejs to prevent the window title to be wiped magically 2023-07-21 02:24:37 +02:00
MathieuG-P 6ef328caec Merge pull request #287 from Dead0Duck/feature/russian-translation
[feature] Russian translation
2023-07-18 22:44:10 +02:00
DeadDuck 80f625102e [fix] Corrected translation of oculus-description 2023-07-18 18:36:09 +07:00
MathieuG-P abf622e68f Merge pull request #286 from Snailedlt/chore/rework-issue-templates
Chore/rework issue templates
2023-07-17 23:29:56 +02:00
MathieuG-P 63c9bd9436 [bugfix-276] use stream to reduce ram consumption + load maps by chunk to avoid open files limit 2023-07-17 23:19:49 +02:00
MathieuG-P 5e763c99d8 bumb to v1.3.0-alpha1 2023-07-17 23:16:24 +02:00
DeadDuck 2e5b11bdb0 [feature] Russian translation 2023-07-17 22:25:22 +07:00
MathieuG-P 6aaa269ba5 [chore] re-enabling asar 2023-07-17 03:47:21 +02:00
Jørgen Kalsnes Hagen 7287dfffde Update -bug--bug-report.md 2023-07-16 23:27:00 +02:00
Jørgen Kalsnes Hagen 92461639b0 Update -feat---feature-request.md 2023-07-16 23:24:13 +02:00
MathieuG-P c2432f8626 [chore] move original slideshow images in "ressources" 2023-07-16 22:58:17 +02:00
MathieuG-P a070108c7d [chore] remove useless deps (ctrlc-windows, is-online) 2023-07-16 22:30:51 +02:00
MathieuG-P 3556da8f24 [chore] update electron to v25 2023-07-16 21:59:11 +02:00
MathieuG-P 3c3ff65c5e Merge pull request #284 from Zagrios/hotfix/nothing-happens-launch-unexisting-version-from-shortcut
[hotflix] fix nothing happens when launching a version from shortcut that no longer exist
2023-07-16 20:50:01 +02:00
MathieuG-P de56986a6e [hotflix] fix nothing happens when launching a version from shortcut that no longer exist 2023-07-16 20:45:10 +02:00
MathieuG-P 72f41a3557 Merge pull request #283 from Zagrios/chore/code-cleaning/245
[chore] some code cleanning
2023-07-16 17:51:40 +02:00
MathieuG-P 6bf26edae5 [chore] remove some code smells 2023-07-16 17:40:19 +02:00
MathieuG-P 4963c44e15 [chore-245] fix promise return but void expected 2023-07-16 17:36:16 +02:00
MathieuG-P 7d688d3632 [chore-245] fix type getInstance function in modal service 2023-07-16 17:30:45 +02:00
MathieuG-P 59896400e0 [chore-245] convert some "send" calls to "sendV2" 2023-07-16 17:26:55 +02:00
MathieuG-P 1edcb55c90 [chore-245] remove some code smells 2023-07-16 16:31:58 +02:00
MathieuG-P f751345d32 [chore-245] resolve "promise but void expected" error 2023-07-16 15:39:11 +02:00
MathieuG-P 4f62cc9427 [chore-245] resolve "promise but void expected" error 2023-07-16 15:36:12 +02:00
MathieuG-P d8f5b9565a [chore-245] resolve "promise but void expected" error 2023-07-16 15:34:02 +02:00
MathieuG-P 928c816344 [chore-245] resolve "promise but void expected" error 2023-07-16 15:28:37 +02:00
MathieuG-P cac216c4eb [chore-245] resolve "promise but void expected" error 2023-07-16 15:24:20 +02:00
MathieuG-P 2d7b1bd8f3 [chore-245] clean "setInstallationDirectory" process 2023-07-16 15:10:00 +02:00
MathieuG-P cab6a90c78 [chore-245] dark and light theme is now generic for all windows 2023-07-16 14:34:07 +02:00
MathieuG-P cdbe9aa740 [chore-245] remove some warnings 2023-07-16 14:33:13 +02:00
MathieuG-P 6e920cc257 [chore-245] use appropriate hook everywhere 2023-07-16 13:58:01 +02:00
MathieuG-P 9098957447 Merge pull request #282 from Zagrios/feature/launch-bs-from-shortcut
[feature] Launch Beat Saber from shortcut
2023-07-16 10:49:11 +02:00
MathieuG-P a4e7816d7b [feature] remove useless import 2023-07-16 04:21:13 +02:00
MathieuG-P c010ca8fe6 [feature] remove useless imports 2023-07-16 04:18:42 +02:00
MathieuG-P 0acb70cf7e [feature] can now create launch shortcut 2023-07-16 04:00:16 +02:00
MathieuG-P 2f3b5bf610 [feature] can now launch beat saber from shortcut 2023-07-14 14:18:23 +02:00
MathieuG-P 8a7ffdc264 [feature] prepare shortcut creation 2023-07-10 01:36:37 +02:00
MathieuG-P 215586a41b [feature] nothing 2023-07-09 18:49:08 +02:00
MathieuG-P 66b95a1736 Merge branch 'master' into feature/launch-bs-from-shortcut 2023-07-09 18:34:14 +02:00
MathieuG-P 93bfc66251 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-07-09 17:38:54 +02:00
KnuckleDF 64e4dc5c41 undo unnecessary wording change 2023-07-09 17:29:29 +02:00
KnuckleDF 15c8c8876e Various wording changes to improve clarity and consistency in English 2023-07-09 17:29:29 +02:00
MathieuG-P 1495693de9 [hotfix] Desktop mode to FPFC mode 2023-07-09 17:28:43 +02:00
KnuckleDF ccebfa0713 undo unnecessary wording change 2023-07-09 17:28:43 +02:00
KnuckleDF 3f86389867 Various wording changes to improve clarity and consistency in English 2023-07-09 17:28:43 +02:00
Zagrios a23d59fae4 add patreon 2023-07-09 17:27:22 +02:00
MathieuG-P a4395764e8 [bugfix-272] fix wrong folder separator for maps 2023-07-09 17:26:25 +02:00
MathieuG-P 32e41117ce [chore] remove sonarcloud action for test 2023-07-09 17:24:02 +02:00
MathieuG-P 23c7056f32 [chore] update sonarcloud action 2023-07-09 17:24:02 +02:00
RedlineTriad 20cf93103d fix(linux): skip oculus library detection
Since linux doesn't have a registry, trying to read from it will fail.
With this fix and my other pr #264 basic linux functionallity works.
2023-07-09 17:23:16 +02:00
MathieuG-P a014ea2099 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-07-09 17:10:52 +02:00
MathieuG-P ed096b84d4 [hotfix] Desktop mode to FPFC mode 2023-07-09 17:04:14 +02:00
KnuckleDF 90b0cb5fc6 undo unnecessary wording change 2023-07-09 17:04:14 +02:00
KnuckleDF 0ec0150622 Various wording changes to improve clarity and consistency in English 2023-07-09 17:04:14 +02:00
Zagrios 84cec6971b add patreon 2023-07-09 17:04:14 +02:00
MathieuG-P 656c45017a [hotfix] Desktop mode to FPFC mode 2023-07-09 16:45:22 +02:00
MathieuG-P 6cee7f0053 Merge pull request #279 from KnuckleDF/master
Change wording in English translation for consistency and clarity
2023-07-06 15:00:44 +02:00
KnuckleDF 1858d5a061 undo unnecessary wording change 2023-07-06 07:20:53 -05:00
KnuckleDF 25fc7b9a6a Various wording changes to improve clarity and consistency in English 2023-07-06 07:08:00 -05:00
Zagrios bd2593c121 add patreon 2023-07-03 13:04:20 +02:00
MathieuG-P 37e88441ec Merge pull request #273 from Zagrios/bugfix/invalid-path-separator-maps-folders-linux/272
[bugfix-272] fix wrong folder separator for maps
2023-07-02 02:16:11 +02:00
MathieuG-P 8fdb39c89f [bugfix-272] fix wrong folder separator for maps 2023-07-02 02:06:33 +02:00
MathieuG-P 30245a3352 [chore] remove sonarcloud action for test 2023-07-02 01:28:07 +02:00
MathieuG-P 49fd6f1858 [chore] update sonarcloud action 2023-07-02 00:55:27 +02:00
MathieuG-P 8f360cca60 Merge pull request #266 from RedlineTriad/linux-fix-oculus-registry-error
fix(linux): skip oculus library detection
2023-07-02 00:30:23 +02:00
RedlineTriad 9c9e0861dd fix(linux): skip oculus library detection
Since linux doesn't have a registry, trying to read from it will fail.
With this fix and my other pr #264 basic linux functionallity works.
2023-07-01 22:34:52 +02:00
MathieuG-P f47a1de05e [chore] prettify + config prettier 2023-07-01 22:12:47 +02:00
MathieuG-P 0f85e0dcf9 Merge pull request #271 from RedlineTriad/prettier-ignore
style: add .prettierignore
2023-07-01 22:00:05 +02:00
MathieuG-P b3251595ab [chore] update sonar action 2023-07-01 20:24:33 +02:00
MathieuG-P b8f4651554 Merge pull request #269 from Zagrios/chore/fix-some-sonarcloud-findings
[chore] fix some sonarcloud code smells
2023-07-01 19:18:52 +02:00
MathieuG-P 577352180e [chore] no need for shell + use native openPath 2023-07-01 19:09:17 +02:00
RedlineTriad 01907361b2 style: add .prettierignore
Without this it would try to format the release folder.
Which would take a *very* long time.
2023-07-01 17:39:59 +02:00
MathieuG-P 7e261fcb93 [chore] fix some sonarcloud code smells 2023-07-01 16:48:30 +02:00
MathieuG-P 8a99c412fd Merge pull request #268 from Zagrios/chore/add-snarcloud-action
[chore] add sonarcloud action
2023-07-01 15:22:14 +02:00
MathieuG-P 6a1abb9caf [chore-268] update sonarcloud action 2023-07-01 15:11:54 +02:00
MathieuG-P 68d6367283 [chore-268] add mandatory ids 2023-07-01 15:05:20 +02:00
MathieuG-P 9fb41ae85e Create sonarcloud.yml 2023-07-01 15:01:28 +02:00
MathieuG-P 27d04dee40 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-07-01 03:18:46 +02:00
MathieuG-P 7b975a7ff0 [chore] fix some lint warnings 2023-07-01 03:18:40 +02:00
MathieuG-P 0db4d53bb0 Merge pull request #267 from RedlineTriad/ci
Adding CI starts work on #265
2023-07-01 03:06:20 +02:00
MathieuG-P d62727c3f9 [chore] fix lint errors 2023-07-01 03:01:38 +02:00
RedlineTriad b1ac8bd6fe ci: add basic linting
Currently always fails.
We can switch to differential linting or fix all of them later.
2023-06-30 22:54:25 +02:00
RedlineTriad aeb9a449ca ci: add automated testing
Doesn't actually succeed yet because there are quite a few errors.
2023-06-30 22:38:13 +02:00
RedlineTriad ecc5d8c2b8 ci: add automated build testing 2023-06-30 21:53:42 +02:00
RedlineTriad 600184c925 chore: update package-log.json 2023-06-30 21:53:29 +02:00
MathieuG-P 943118538d [feature] Can now launch a bs version from cmd + fix some bugs + some code cleaning 2023-06-30 21:00:02 +02:00
MathieuG-P 6eb3f75e9d Merge branch 'master' into feature/launch-bs-from-shortcut 2023-06-30 15:44:57 +02:00
MathieuG-P 7addb57613 Merge pull request #264 from RedlineTriad/fix-info-loading
fix(linux): search for info file case insensitively
2023-06-29 22:15:14 +02:00
RedlineTriad a4c7ee04db refactor: use find instead of filter for nicer code and perf 2023-06-29 21:48:27 +02:00
RedlineTriad 3b8a202ba4 refactor: avoid async for iterating over dir entries
Also uses nicer functional pipeline instead of loops.
2023-06-29 21:47:47 +02:00
Iluhadesu 2f24e657e3 Add v1.31.0 to bs_versions.json 2023-06-29 15:04:13 +00:00
RedlineTriad 17a2bc552e fix(linux): search for info file case insensitively
On linux only exactly Info.dat was matched, and many maps use different casing.
2023-06-28 22:53:26 +02:00
MathieuG-P 90d4ebc7e3 [hotfix] fix missing import 2023-06-28 22:33:12 +02:00
MathieuG-P 6a867d0e28 Merge pull request #257 from Insprill/fix/running-processes
Get running processes independent of platform
2023-06-28 22:29:49 +02:00
Pierce Thompson 0e4d1e1950 Merge branch 'master' into fix/running-processes 2023-06-28 16:29:27 -04:00
MathieuG-P 999fe2f740 Merge pull request #259 from Insprill/fix/open-folder
Use the platform native file manager when opening instance folder
2023-06-28 22:24:48 +02:00
MathieuG-P 8793b0091a Merge pull request #260 from Insprill/fix/steam-path-linux
Use the correct steam installation path on Linux
2023-06-28 22:20:25 +02:00
MathieuG-P 8df49cea3c Merge pull request #263 from Insprill/fix/tailwind-deprecation-warning
Fix Tailwind deprecation warnings during build
2023-06-28 22:17:01 +02:00
Pierce Thompson c757307627 Fix Tailwind deprecation warnings during build 2023-06-28 16:03:52 -04:00
Pierce Thompson 911eb980af Use the Windows registery again to get running Steam process 2023-06-28 15:49:05 -04:00
MathieuG-P 0e5eb113b0 [hotfix] fix maps disappear when switch tab in shared contents 2023-06-28 21:43:19 +02:00
MathieuG-P f162b4009e [hotfix] fix error reding "once" on "downloadProcess" 2023-06-28 21:41:48 +02:00
MathieuG-P 3902ccdf72 [chore] update deps 2023-06-28 21:41:09 +02:00
Pierce Thompson 0c3e342a45 Use Electron to get home directory 2023-06-28 15:39:46 -04:00
Pierce Thompson 896a68f215 Remove old method of opening instance folder 2023-06-28 15:31:14 -04:00
MathieuG-P a03bcbd3bc Merge pull request #262 from Zagrios/hotflix/cant-delete-maps-in-shared-contents
[hotfix] fix cant delete maps in shared contents + fix conflict with …
2023-06-28 20:43:48 +02:00
MathieuG-P f50ee1c25d [hotfix] fix cant delete maps in shared contents + fix conflict with maps selected and maps deletion 2023-06-28 20:43:19 +02:00
MathieuG-P e27cc7d254 remove useless hook 2023-06-28 20:31:16 +02:00
MathieuG-P c7b6908cb8 [hotfix] shared maps no longer load 2023-06-28 20:30:06 +02:00
MathieuG-P ed6db7cc88 Merge pull request #261 from Zagrios/hotfix/avoid-useless-maps-load
[hotfix] avoid useless maps loading when going directly to mods or models
2023-06-28 20:26:57 +02:00
MathieuG-P 4667c80904 [hotfix] avoid useless maps loading when going directly to mods or models 2023-06-28 20:26:13 +02:00
MathieuG-P a8be987158 Merge pull request #258 from Insprill/fix/kill-download-process
Properly kill the download process on non-Windows systems
2023-06-28 09:31:21 +02:00
Pierce Thompson 1577cc828f Use the correct steam installation path on Linux 2023-06-27 23:20:03 -04:00
Pierce Thompson be0f9d3305 Use the platform native file manager when opening instance folder 2023-06-27 23:13:19 -04:00
Pierce Thompson 338391f9ac Properly kill the download process on non-Windows systems 2023-06-27 23:01:13 -04:00
Pierce Thompson 27d3461aa6 Downgrade ps-list
ps-list moved to a pure-ESM module in 8.0.0, making it incompatible.
2023-06-27 22:58:34 -04:00
Pierce Thompson e9f384b285 Fix missing awaits 2023-06-27 20:29:03 -04:00
Pierce Thompson 12f8724de4 Get running processes independent of platform 2023-06-27 20:09:21 -04:00
MathieuG-P aa6e2488df Merge pull request #256 from Insprill/hotifx/color-types
Move @types/color to devDependencies
2023-06-27 23:42:41 +02:00
MathieuG-P 237c86d34e Update patreon name 2023-06-27 23:07:17 +02:00
MathieuG-P a67bbb1040 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-06-27 23:04:16 +02:00
MathieuG-P e93e091db4 Add patreon 2023-06-27 23:04:13 +02:00
Pierce Thompson 70b50be400 Move @types/color to devDependencies 2023-06-27 15:19:04 -04:00
MathieuG-P 1661a61bab [feature] Add translation for "BS_LAUNCHING" event + add TODO 2023-06-27 11:38:19 +02:00
MathieuG-P c03089471a Update CONTRIBUTING.md 2023-06-27 09:57:18 +02:00
MathieuG-P b7e287c86a [feature] Rework of the BS launching system to prepare for shortcuts 2023-06-26 23:25:53 +02:00
MathieuG-P f9674df2ce Merge pull request #255 from Zagrios/feature/start-steam-if-not-running-and-bs-automatically-after
[feature] Steam now launch automatically if it not running then BS launch just after
2023-06-25 22:30:52 +02:00
MathieuG-P ae5961e8de [feature] Steam now launch automatically if it not running then BS launch just after 2023-06-25 22:28:09 +02:00
MathieuG-P 66f0fdc3d6 add patreon 2023-06-22 19:44:55 +02:00
MathieuG-P bf6e129b1f add patreon 2023-06-21 21:41:59 +02:00
MathieuG-P 446f56d85d Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-06-19 23:13:58 +02:00
MathieuG-P f49069622f bumb to 1.2.0 2023-06-19 23:13:55 +02:00
MathieuG-P ee3ea58a88 Merge pull request #249 from AltyFox/patch-1
Change wording for a tad more accuracy / Fix typo.
2023-06-18 12:52:50 +02:00
Alteran 52c02213dd Change wording for a tad more accuracy / Fix typo.
"performances" should have been singular, but reworded to remove implication that it *will* increase performance when that is *not* the case for everyone.
2023-06-18 04:53:04 -05:00
MathieuG-P 8a954911e8 Merge pull request #248 from Zagrios/hotfix/version-already-exist-when-cloning-steam-version
[hotfix] always set oculus et steam to false when clonning a version
2023-06-13 20:47:33 +02:00
MathieuG-P f55b300981 [hotfix] always set oculus et steam to false when clonning a version 2023-06-13 20:46:46 +02:00
Iluhadesu fd5ce102d2 Add v1.30.2 to bs_versions.json 2023-06-13 15:18:32 +00:00
MathieuG-P 48f800cf3f Merge pull request #247 from Zagrios/hotfix/close-model-details-on-click-on-chevron-icon
Hotfix/close model details on click on chevron icon
2023-06-13 13:35:38 +02:00
MathieuG-P 0e0c2ec55b [hotfix] remove console log 2023-06-13 13:34:53 +02:00
MathieuG-P fe652ee01d [hotfix] Can now close model details on click on chevron icon 2023-06-12 22:39:23 +02:00
MathieuG-P 1cb72da5f2 Merge pull request #246 from Zagrios/hotfix/html-tags-in-author-in-models-items
[hotfix] Fix html tags present in author fiels in model items
2023-06-12 20:21:37 +02:00
MathieuG-P 187d0528ae [hotfix] Fix html tags present in author fiels in model items 2023-06-12 16:49:08 +02:00
MathieuG-P 42ace956a3 bumb 1.2.0-alpha.4 2023-06-11 18:02:26 +02:00
MathieuG-P a9a3e39829 Merge pull request #244 from Zagrios/feature/add-show-password-button
[feature] add show password button
2023-06-11 17:40:28 +02:00
MathieuG-P 51c9f18279 [feature] add show password button 2023-06-11 17:40:06 +02:00
MathieuG-P 74139a9eac update framer-motion 2023-06-11 17:11:01 +02:00
MathieuG-P 6ac245f414 Merge pull request #243 from Zagrios/bugfix/username-with-spaces-not-supported/241
[bugfix] Fix username with spaces not supported
2023-06-11 16:51:27 +02:00
MathieuG-P 052c7938da [bugfix] Put username in quotes for depot-downloader 2023-06-11 16:50:32 +02:00
MathieuG-P 32665e4299 Merge pull request #242 from Zagrios/hotfix/lookup-id-not-detected-as-installed
[hotfix] Fix LookupID never detected as installed
2023-06-09 23:25:03 +02:00
MathieuG-P 48111345bf [hotfix] LookupID never detected as install. Use "recursiveReadDir" to handle the "Native" sub-folder of LookupID 2023-06-09 23:21:27 +02:00
MathieuG-P 020c730307 Merge pull request #240 from Zagrios/bugfix/change-shortcut-description/239
[bugfix] Change shortcut description
2023-06-09 00:29:02 +02:00
MathieuG-P e1a4957b11 [bugfix] Change shortcut description 2023-06-09 00:28:37 +02:00
MathieuG-P 2991b11cf4 Update LICENSE 2023-06-09 00:16:54 +02:00
MathieuG-P da64d02e6c Merge pull request #236 from Zagrios/feature/add-hex-input-to-color-pickers
[feature] Add hex color input in color picker
2023-06-06 00:40:44 +02:00
MathieuG-P e349029e53 [feature] Add hex color input in color picker 2023-06-06 00:39:52 +02:00
MathieuG-P c264684ec6 bumb 1.2.0-alpha.3 2023-06-05 14:44:27 +02:00
MathieuG-P aa32f4e2f4 Merge pull request #235 from Zagrios/hotfix/tweak-model-images-for-better-viewing
[hotfix] tweak models ui to improve images visibility
2023-06-05 14:29:50 +02:00
MathieuG-P bfafe0e4b1 [hotfix] tweak models ui to improve images visibility 2023-06-05 14:28:10 +02:00
MathieuG-P a8c36a5e7c nothing 2023-06-04 17:46:12 +02:00
MathieuG-P de3284922a Merge pull request #233 from Zagrios/hotfix/make-supporter-service-use-request-service
[hotfix] Supporter service now use Request service
2023-06-04 17:44:11 +02:00
MathieuG-P d018ac5c9a [hotfix] Supporter service now use Request service 2023-06-04 17:43:53 +02:00
MathieuG-P e69983d6a7 Merge pull request #232 from Zagrios/hotfix/faster-inital-mod-loading
[hotfix] Faster inital loading of mods
2023-06-04 17:19:53 +02:00
MathieuG-P 2a8f4feea8 [hotfix] Faster inital loading of mods 2023-06-04 17:19:30 +02:00
MathieuG-P b08aa4c1d9 Add supporter 2023-06-04 12:52:35 +02:00
MathieuG-P c0e169cead Merge pull request #231 from Zagrios/hotfix/some-mods-not-marked-as-installed-but-installed
[hotfix] Not filter out "declined" mod when detecting installed mods
2023-06-04 00:57:34 +02:00
MathieuG-P 99f087a89d [hotfix] Not filter out "declined" mod when detecting installed mods + add logs 2023-06-04 00:52:49 +02:00
MathieuG-P e0fd024314 Merge pull request #229 from Zagrios/hotfix/some-mods-not-update-after-install
[hotfix] Fix some mods not update after install
2023-06-03 21:54:03 +02:00
MathieuG-P 599e04a96f [hotfix] Fix some mods not update after install 2023-06-03 21:53:35 +02:00
MathieuG-P 77b838187c Merge pull request #225 from Zagrios/hotfix/add-warning-for-steam-username-max-length
[hotfix] Add warning if the password exceed 64 characters
2023-05-29 21:00:38 +02:00
MathieuG-P 0ce2b9493a [hotfix] Add warning if the password exceed 64 characters 2023-05-29 20:59:27 +02:00
MathieuG-P 8124577728 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-05-27 18:21:40 +02:00
MathieuG-P 2e5929c74c add supporter 2023-05-27 18:21:38 +02:00
Iluhadesu a4908ef850 Add v1.30.0 to bs_versions.json 2023-05-25 04:05:50 +00:00
MathieuG-P cf0fa2b787 bumb 1.2.0-alpha.2 2023-05-24 23:57:48 +02:00
MathieuG-P 03d4d14edd Merge pull request #223 from Zagrios/hotfix/double-click-on-model-to-download
[hotfix] add double click to download model
2023-05-24 23:03:44 +02:00
MathieuG-P 3bdbcfcfae [hotfix] add double click to download model 2023-05-24 23:03:04 +02:00
MathieuG-P cebf83be7d Merge pull request #222 from Zagrios/hotfix/add-indication-to-indicate-models-details-can-expand
Hotfix/add indication to indicate models details can expand
2023-05-24 22:09:35 +02:00
MathieuG-P 2c89a8a44c Merge branch 'master' into hotfix/add-indication-to-indicate-models-details-can-expand 2023-05-24 22:03:52 +02:00
MathieuG-P e0060973b6 Merge pull request #221 from Zagrios/hotfix/make-models-slightly-bigger
[hotfix] Make model item slightly bigger
2023-05-24 22:03:12 +02:00
MathieuG-P 0c0dd34026 [hotfix] Add indicator to indicate model details can expand 2023-05-24 22:00:54 +02:00
MathieuG-P 5f63aaac45 [hotfix] Make model item slightly bigger 2023-05-24 21:32:33 +02:00
MathieuG-P 52cdc50fa8 Merge pull request #220 from Zagrios/bugfix/maps-loading-conflict-on-version-change/157
Bugfix/maps loading conflict on version change/157
2023-05-23 22:29:38 +02:00
MathieuG-P e1bfcd7bc0 [bugfix-157] no need of cancellable observable 2023-05-23 22:29:11 +02:00
MathieuG-P 1009a4c02a [bugfix-157] Fix loading maps percent collision 2023-05-23 22:25:19 +02:00
MathieuG-P d1176ccabe Merge branch 'master' into bugfix/maps-loading-conflict-on-version-change/157 2023-05-23 21:51:19 +02:00
MathieuG-P c20e10ea0a Merge pull request #219 from Zagrios/hotfix/sometimes-eprem-error-when-extract-mod-zip
[Hotfix] Make ERPERM error not possible when extracting mod zip
2023-05-23 21:44:28 +02:00
MathieuG-P 3f4d58a3ed [hotfix] fix async mishandled on extract mod zip 2023-05-23 21:31:23 +02:00
MathieuG-P ba3de199fa [hotfix] download mod zip in buffer to avoid eprem error 2023-05-22 22:33:48 +02:00
MathieuG-P 1d8a68f665 bumb to 1.2.0-alpha.1 2023-05-22 21:14:38 +02:00
MathieuG-P 9d37ebcdd3 update electron + semver 2023-05-21 20:45:48 +02:00
MathieuG-P 616215c0a6 Merge pull request #218 from Zagrios/feature/models-management/136
Feature/models management/136
2023-05-21 17:56:29 +02:00
MathieuG-P 9cb5668b4c [feature-136] fix bugs 2023-05-21 17:52:12 +02:00
MathieuG-P 2e1c2d6bf2 remove useless imports 2023-05-21 17:25:28 +02:00
MathieuG-P af0ec409a0 [feature-136] add warning for models breaks (due to openxr) 2023-05-21 17:00:11 +02:00
MathieuG-P bc2c716111 [feature-136] fix some bugs 2023-05-21 16:21:22 +02:00
MathieuG-P b9359d6b9c [feature-136] add models in shared contents + open download models on click "download models" when no models + fix version undefined when go in shared maps 2023-05-21 01:38:48 +02:00
MathieuG-P 474deaedcf [feature-136] move one click download in the new models downloader service 2023-05-20 23:27:52 +02:00
MathieuG-P 9d230461de [feature-136] add translations 2023-05-20 23:21:07 +02:00
MathieuG-P bdc893d8a5 [feature-136] models management almost finished, still need to add translations 2023-05-19 19:06:59 +02:00
MathieuG-P 76bdde0fe8 [feature-136] add filter tips 2023-05-16 22:59:55 +02:00
MathieuG-P ace7657edb [feature-136] parse model saber string search to query filter 2023-05-16 22:04:33 +02:00
MathieuG-P db656259e1 [feature-136] make models bigger 2023-05-16 22:03:05 +02:00
MathieuG-P 645f18002a [feature-136] can now search models from the download modal 2023-05-16 00:50:47 +02:00
MathieuG-P b9750b0b26 add supporter 2023-05-14 12:57:03 +02:00
MathieuG-P eb9775c89f [feature-136] fix some bugs + prepare models download + use color libs for font contrast 2023-05-14 12:55:37 +02:00
MathieuG-P 86efb9293b [feature-136] do nothing if models tab is not active 2023-05-13 13:00:39 +02:00
MathieuG-P 1f4519b2a5 [feature-136] always include models folders when exporting models 2023-05-13 13:00:15 +02:00
MathieuG-P 67e383ca47 [feature-136] remove console.log 2023-05-13 12:59:42 +02:00
MathieuG-P f10c7d76db [feature-136] refresh models on link/unlink 2023-05-13 02:11:42 +02:00
MathieuG-P e38d0b081d update dot-prop 2023-05-13 00:06:43 +02:00
MathieuG-P f818a758bd [feature-136] making search of models work 2023-05-12 00:28:39 +02:00
MathieuG-P 11819d0163 [feature-136] fix bug with models selection, delete models directly from their coresponding grid 2023-05-10 22:53:54 +02:00
MathieuG-P 2c393cb294 [feature-136] init delete models modal 2023-05-10 16:44:45 +02:00
Iluhadesu 24d2aa7fc6 Add v1.29.4 to bs_versions.json 2023-05-09 16:02:42 +00:00
MathieuG-P c056f84b66 [feature-136] Delete models and reload (missing modal) 2023-05-09 15:39:51 +02:00
MathieuG-P a366c07128 [feature-136] Add model types icons + export models + init delete models + init searchbar 2023-05-08 21:12:35 +02:00
MathieuG-P d1dc7bbca0 [feature-136] Add default image + fix not get local platforms + Add temp icon in nav bar + some style adjustements 2023-05-04 00:08:52 +02:00
MathieuG-P d7d3c980cb [feature-136] Add tags + author + hash in models items 2023-05-03 17:18:24 +02:00
MathieuG-P 44074beb33 remove supporter 2023-05-02 19:51:03 +02:00
MathieuG-P ab798437d5 [feature-136] init show local models 2023-05-01 23:00:13 +02:00
MathieuG-P bdbdcfb1b4 [feature-136] Models panel + models linkage + models linkage modals + some cleaning 2023-04-29 15:24:45 +02:00
MathieuG-P abe2274d12 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-04-24 20:57:01 +02:00
MathieuG-P f602547ca4 add supporter 2023-04-24 13:02:04 +02:00
MathieuG-P 4abf04c12a [bugfix-157] create cancellable observable 2023-04-17 01:17:19 +02:00
MathieuG-P b6c6518fd9 re add sign certificate 2023-04-17 01:04:51 +02:00
MathieuG-P 26049d0359 change email 2023-04-15 18:06:54 +02:00
MathieuG-P ed39cba41b update ctrlc-windows + downgrade node-fetch + remove useless stuff 2023-04-15 17:55:17 +02:00
MathieuG-P f91f6756c3 add supporter 2023-04-15 12:46:03 +02:00
MathieuG-P b52d471828 add supporter 2023-04-13 23:10:20 +02:00
MathieuG-P b841d067c7 bumb version 2023-04-12 20:39:20 +02:00
MathieuG-P 27e5d79bf7 Merge pull request #215 from Zagrios/hotfix/unable-to-launch
[hotfix] fix unable to launch due to tasklist returning nothing
2023-04-12 20:37:08 +02:00
MathieuG-P 28a5576ef9 [hotfix] fix unable to launch due to tasklist returning nothing 2023-04-12 20:35:10 +02:00
MathieuG-P 3b6e908352 Merge pull request #214 from XCraftTM/patch-2
Changed from "Sie" to "Du"
2023-04-12 14:27:58 +02:00
XCraftTM 004d335eda Changed from "Sie" to "Du"
The Whole Translation was written in "Du" so the new Changes need to be also written in "Du" and not in "Sie".
2023-04-12 13:53:51 +02:00
MathieuG-P ef8662edca add supporters 2023-04-11 01:37:03 +02:00
MathieuG-P f2153f3d0b bumb version 2023-04-11 01:36:40 +02:00
MathieuG-P b7ac9901c4 remove console log 2023-04-10 23:29:35 +02:00
MathieuG-P 962f1d8aae Merge pull request #210 from Zagrios/bugfix/move-install-directory-failed/203
[bugfix-203] move install folder more resilant + handle symlinks
2023-04-10 23:23:51 +02:00
MathieuG-P 66b834bd31 [bugfix-203] move install folder more resilant + handle symlinks 2023-04-10 23:23:02 +02:00
MathieuG-P 0214a518ee Merge pull request #209 from Zagrios/hotfix/remove-spaces-guard-code/205
[bugfix-205] remove spaces in guard code
2023-04-09 16:54:59 +02:00
MathieuG-P 40137b15fa [bugfix-205] remove spaces in guard code 2023-04-09 16:51:34 +02:00
MathieuG-P d30e203d29 Merge pull request #208 from Zagrios/hotfix/change-color-diamond-supporter
Hotfix/change color diamond supporter
2023-04-09 16:31:09 +02:00
MathieuG-P 7810b31d13 [hotfix] change color of diamond supporter to match discord role color + add clickable visual indicator 2023-04-09 16:30:03 +02:00
MathieuG-P 9720335adf [hotfix] change color of diamond supporter 2023-04-09 03:12:10 +02:00
MathieuG-P 1af3ef7565 Merge pull request #207 from Zagrios/hotfix/unable-to-open-supporter-link
[hotfix] unable to open supporter link
2023-04-09 03:05:53 +02:00
MathieuG-P 7da09c117f [hotfix] unable to open supporter link 2023-04-09 03:04:58 +02:00
MathieuG-P 9ff47b6895 add supporter 2023-04-09 02:43:47 +02:00
MathieuG-P ed4137949d npm run audit 2023-04-08 01:32:36 +02:00
MathieuG-P f833f28930 update libs 2023-04-08 01:28:12 +02:00
MathieuG-P 97fa44cd5d fix npm package + use our own "useDelayedState" 2023-04-08 00:11:11 +02:00
MathieuG-P 6562f6c764 Merge pull request #204 from Zagrios/feature/add-link-all-folders-button
Feature/add link all folders button
2023-04-07 22:44:08 +02:00
MathieuG-P 1177091cf0 add link all folders button 2023-04-07 22:42:22 +02:00
MathieuG-P a785828a6b fix fill issue with link icon 2023-04-07 22:40:13 +02:00
MathieuG-P 39b4a48fef add secondary color type 2023-04-07 22:39:52 +02:00
MathieuG-P a62038450f use "allSettled" helper everywhere its needed 2023-04-06 00:53:05 +02:00
MathieuG-P 070eb5b796 Merge pull request #202 from Zagrios/hotfix/better-http-requests-errors-handling
[hotfix] better http error handling
2023-04-06 00:29:59 +02:00
MathieuG-P bc1e809545 [hotfix] better http error handling 2023-04-06 00:29:32 +02:00
Iluhadesu dee49c964a Add v1.29.1 to bs_versions.json 2023-04-04 21:55:11 +00:00
MathieuG-P 4aa1521e88 Update FUNDING.yml 2023-04-04 21:16:49 +02:00
MathieuG-P 4a53917f27 Merge pull request #199 from Zagrios/feature/german-translation
Feature add german translation
2023-04-02 00:01:16 +02:00
MathieuG-P 75c849d203 translate languages 2023-04-01 23:59:22 +02:00
Iluhadesu 3e3cffc6bc Merge pull request #198 from XCraftTM/feature/german-translation
Added German Translation
2023-04-01 23:32:53 +02:00
XCraftTM 2d211e3c05 Update de.json 2023-04-01 19:04:28 +02:00
MathieuG-P e5142fe131 [feature] add german translation 2023-04-01 18:10:52 +02:00
MathieuG-P 89312f0bf9 Merge pull request #197 from Zagrios/feature/message-when-no-mods-are-available/194
[feature-194] add message when no mods are available
2023-04-01 16:01:58 +02:00
MathieuG-P f2e6fa486a [feature-194] add message when no mods are available 2023-04-01 15:59:15 +02:00
MathieuG-P 4f0f80bbc2 Merge pull request #193 from Zagrios/bugfix/beatleader-not-in-oneclick/192
bugfix : add beatleader icon in oneclick #192
2023-03-31 15:22:47 +02:00
MathieuG-P 31e5c0ed10 add beatleader icon in oneclick 2023-03-31 15:21:51 +02:00
Iluhadesu 9a2afe6820 Maxwell test 2023-03-31 14:48:36 +02:00
MathieuG-P c93f9a7041 add 1.29.0 2023-03-30 17:55:59 +02:00
MathieuG-P 5401248286 add supporter 2023-03-24 20:38:15 +01:00
MathieuG-P 0511540b98 bumb version 2023-03-23 21:19:34 +01:00
MathieuG-P dcb233c957 bumb version 2023-03-20 22:24:32 +01:00
MathieuG-P 804cb22f56 [hotfix] fix wrong order of to link folders 2023-03-20 22:23:20 +01:00
MathieuG-P 00e4059213 Merge pull request #191 from Zagrios/hotfix/move-if-no-version-use-link-when-unlink
[hotfix] move instead of copy if no other version use the linked folder
2023-03-20 22:17:36 +01:00
MathieuG-P 83fcbf6d04 [hotfix] move instead of copy if no other version use the linked folder 2023-03-20 22:16:38 +01:00
MathieuG-P 420ecc9ae6 delete useless console log 2023-03-20 00:51:14 +01:00
MathieuG-P 835e9a0678 Merge pull request #190 from Zagrios/hotfix/fix-create-empty-backup-if-target-folder-not-exist-when-linking
[hotfix] When link folder, if folder not exist, not create empty backup
2023-03-20 00:47:31 +01:00
MathieuG-P e1a6721f7d [hotfix] When link folder, if folder not exist, not create empty backup 2023-03-20 00:46:40 +01:00
MathieuG-P 2e588ef4cb Merge pull request #189 from Zagrios/hotfix/not-clone-link-content-when-clone-version
[hotfix] when clonning, contents of linked folder no longer duplicate
2023-03-20 00:31:05 +01:00
MathieuG-P d3e0099d14 [hotfix] When clone version, copy junction link and not copy their content 2023-03-20 00:29:21 +01:00
MathieuG-P b9acdc9578 Merge pull request #187 from Zagrios/hotfix/log-renderer-errors
[hotfix] log renderer errors
2023-03-18 15:38:14 +01:00
MathieuG-P fefd552f60 [hotfix] log renderer errors 2023-03-18 15:37:48 +01:00
MathieuG-P 6eb2866eee Merge pull request #186 from Zagrios/hotfix/older-mod-overwrite-latest-mod-on-install
[hotfix] older mod overwrite latest version of installed mod
2023-03-18 15:22:07 +01:00
MathieuG-P 01401c4691 [hotfix] older mod overwrite latest version of installed mod 2023-03-18 15:10:38 +01:00
MathieuG-P 37c2bfcd04 delete console log 2023-03-18 14:45:05 +01:00
MathieuG-P e190217390 Merge pull request #185 from Zagrios/hotfix/add-beta-alpha-indicator
[hotfix] add beta alpha indicator
2023-03-18 14:17:21 +01:00
MathieuG-P 5fa7013106 [hotfix] add beta alpha indicator 2023-03-18 14:16:36 +01:00
MathieuG-P abf53489f5 Merge pull request #183 from GaetanGrd/master
Reactivate Support for BSM
2023-03-17 21:13:46 +01:00
Gaëtan Gerard 0db13a8474 enable support button + update support link 2023-03-17 17:44:39 +01:00
Gaëtan Gerard e1229a45a0 Adding Support button 2023-03-17 17:41:47 +01:00
Gaëtan Gerard eafe26507a Merge pull request #1 from Zagrios/master
rebase
2023-03-17 17:40:02 +01:00
MathieuG-P 5c70a7d974 bumb version 2023-03-15 16:24:16 +01:00
MathieuG-P da8bae8582 Merge pull request #182 from Zagrios/hotfix/steamvr-restore-conflict-on-fast-bs-reboot
[hotfix] steamvr restoration conflict on fast bs reboot
2023-03-15 16:23:44 +01:00
MathieuG-P 4cce24e275 [hotfix] clear timeout on steamvr restoration 2023-03-15 16:22:02 +01:00
MathieuG-P 18f2f18e41 Merge pull request #181 from Zagrios/feature/disable-steamvr-when-desktop-mode
Feature/disable steamvr when desktop mode
2023-03-14 00:28:37 +01:00
MathieuG-P ec3c6ce26e fix vbs regidit not find script 2023-03-14 00:26:53 +01:00
MathieuG-P 9862dfa78d force not launch steamvr when desktop mode 2023-03-13 23:55:22 +01:00
MathieuG-P e3f91ea593 Merge pull request #180 from Zagrios/hotfix/backup-userdata-on-link
[hotfix] create backup of userdata folder when linking
2023-03-13 15:34:37 +01:00
MathieuG-P 509b2cd9b9 [hotfix] create backup of userdata folder when linking 2023-03-13 15:33:39 +01:00
MathieuG-P 1b54d86324 bumb version 2023-03-13 01:55:58 +01:00
MathieuG-P 425b2ecdb1 Merge pull request #179 from Zagrios/feature/custom-launch-options/177
feature/custom-launch-options/177
2023-03-13 01:36:22 +01:00
MathieuG-P 3b973e1597 [feature-177] add possibility to add additional arguments 2023-03-13 01:34:51 +01:00
MathieuG-P 86d2781e67 [feature-177] remove useless stuff in settings 2023-03-13 01:33:25 +01:00
MathieuG-P 5d10f139a9 Merge pull request #176 from Zagrios/feature/share-custom-folders/155
feature/share-custom-folders/155
2023-03-12 21:32:34 +01:00
MathieuG-P 9b5a1711ce share custom folder finished 2023-03-12 03:58:51 +01:00
MathieuG-P 646ec820a5 [feature-155] start share folder ui 2023-03-08 01:13:13 +01:00
MathieuG-P a144a308f6 Merge pull request #175 from Zagrios/bugfix/color-selection-overlapp-when-scroll/174
[bugfix-174] pass color chooser form fixed to absolute position
2023-03-06 23:57:47 +01:00
MathieuG-P 07818cf8f2 [bugfix-174] pass color chooser form fixed to absolute position 2023-03-06 23:55:24 +01:00
MathieuG-P ccbcc8296d change oculus mode description 2023-03-04 22:38:58 +01:00
MathieuG-P bea435439e remove console log 2023-03-04 22:17:08 +01:00
MathieuG-P d9ff78c21d Merge pull request #171 from Zagrios/bugfix/light-theme-issues/168
[bugfix-168] fix light theme issues
2023-03-04 22:15:03 +01:00
MathieuG-P 14a4bf3408 [bugfix-168] fix light theme issues 2023-03-04 22:02:58 +01:00
MathieuG-P 172d7e4578 Merge pull request #170 from Zagrios/hotfix/dotnet-notif-not-appear-sometimes
Hotfix/dotnet notif not appear sometimes
2023-03-04 21:48:18 +01:00
MathieuG-P 5986cf7a15 [hotfix] change methode to check dotnet 6 2023-03-04 21:18:51 +01:00
MathieuG-P a5e4b745ef fix dotnet notif not appear sometimes 2023-03-04 19:28:01 +01:00
MathieuG-P 4cd538fe21 Merge pull request #169 from Zagrios/feature/volume-control/154
feature/volume-control/154
2023-03-04 13:42:34 +01:00
MathieuG-P c406dfee79 [feature-154] volume slider finished 2023-03-04 13:41:48 +01:00
MathieuG-P 8a168d20b3 [feature] sound control in title bar 2023-03-03 23:59:57 +01:00
MathieuG-P b16f7150e8 [feature] add volume control 2023-03-03 01:46:28 +01:00
MathieuG-P c4319f1c6c Merge pull request #167 from Zagrios/hotfix/use-apply-translation
[hotfix] use apply translation
2023-03-03 00:17:34 +01:00
MathieuG-P d9003fa07b [hotfix] use apply translation 2023-03-03 00:15:33 +01:00
MathieuG-P eb2235e017 Merge pull request #166 from Zagrios/bugfix/change-oculus-mode-description/162
[bugfix] change oculus mode description
2023-03-02 09:30:16 +01:00
MathieuG-P 1e784c243b [bugfix] change oculus mode description 2023-03-02 09:20:18 +01:00
MathieuG-P 23e9b52af2 [hotfix] we dont remeber steam session anymore 2023-03-02 00:47:16 +01:00
MathieuG-P e42ac4eca3 bumb version 2023-03-02 00:41:32 +01:00
MathieuG-P 622595a7a0 Merge pull request #165 from Zagrios/bugfix/mods-three-dots-menu-glitch-when-no-mods/152
[bugfix] fix mods menu glitch when no mods
2023-03-02 00:38:42 +01:00
MathieuG-P 556ca1b1e6 fix mods menu glitch when no mods 2023-03-02 00:37:47 +01:00
MathieuG-P cef4f22305 Merge pull request #164 from Zagrios/feature/add-credentials-informations
[FEATURE] add credentials informations
2023-03-02 00:20:24 +01:00
MathieuG-P ee1dd7b21f add credentials informations 2023-03-02 00:19:06 +01:00
MathieuG-P 487b73a859 Merge pull request #161 from Zagrios/bugfix/maps-loding-optimization/144
[bugfix] maps loding optimization (partial)
2023-03-01 23:28:49 +01:00
MathieuG-P a56fdde0e7 add log + use allSettled 2023-03-01 23:26:48 +01:00
MathieuG-P 99f91d25c3 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-03-01 21:54:45 +01:00
MathieuG-P 8579b0697d nothing 2023-03-01 21:54:41 +01:00
MathieuG-P f0761c8359 Merge pull request #160 from Zagrios/hotfix/pause-song-on-map-preview
[hotfix] pause song on map preview
2023-03-01 21:44:27 +01:00
MathieuG-P b1833721d0 pause song on map preview 2023-03-01 21:43:07 +01:00
MathieuG-P aba099e15a Merge pull request #159 from Zagrios/hotfix/cant-enable-oculus-mode-with-desktop-mode
[hotfix] cant-enable-oculus-mode-with-desktop-mode
2023-03-01 21:34:08 +01:00
MathieuG-P d25c0cced5 [hotfix] cant-enable-oculus-mode-with-desktop-mode 2023-03-01 21:33:09 +01:00
MathieuG-P bc4f6304db Merge pull request #158 from Zagrios/hotfix/output-console-not-show-with-debug-mode
[hotfix] open debug console when launch BS with debug mode
2023-03-01 21:04:26 +01:00
MathieuG-P 4357454b14 [hotfix] open debug console when launch BS with debug mode 2023-03-01 21:02:06 +01:00
MathieuG-P 528abbcaa3 Merge pull request #153 from legoandmars/master
Change 'Mod' -> 'Mode' in english launch options
2023-03-01 13:23:46 +01:00
legoandmars 9bcc605e00 Change 'Mod' -> 'Mode' 2023-02-28 16:43:04 -08:00
MathieuG-P f7e3b9ae9d Merge pull request #151 from Zagrios/bugfix/bug-header-of-maps-tab-not-translated/150
bugfix/fix-shared-maps-page-title-not-translated/150
2023-03-01 01:07:25 +01:00
MathieuG-P 1b963a99c1 fix shared maps page title not translated 2023-03-01 01:05:55 +01:00
MathieuG-P 363cc3cc5e reduce maps loading by 40% from micro optimization 2023-03-01 00:52:42 +01:00
MathieuG-P 8307a975ea bumb version 2023-02-28 23:39:48 +01:00
MathieuG-P f5ecdfca60 Merge pull request #149 from Zagrios/hotfix/error-download-version-space-in-path
[HOTFIX] fix error when space in path when download a version
2023-02-28 23:38:36 +01:00
MathieuG-P 5bb92d804b fix erreur when space in path when download a version 2023-02-28 23:37:40 +01:00
MathieuG-P 5b4b962015 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-02-28 19:17:38 +01:00
MathieuG-P b43cfdd70b add 1.28.0 2023-02-28 19:17:35 +01:00
MathieuG-P 77350a823e Merge pull request #146 from Zagrios/feature/readme-update
Feature/readme update
2023-02-28 11:14:08 +01:00
MathieuG-P 5844aea281 Update FUNDING.yml 2023-02-28 11:12:34 +01:00
Gaëtan Gerard 8af5d8c3e4 Remove BSM Support 2023-02-28 09:58:00 +01:00
Gaëtan Gerard f0f3721ec5 Merge pull request #145 from Zagrios/master
rebase
2023-02-28 09:57:24 +01:00
MathieuG-P 5641c25cc1 bumb version 2023-02-24 01:12:46 +01:00
MathieuG-P c1b32c2fc3 Merge pull request #143 from Zagrios/hotfix/little-fix-en-translation
[HOTFIX] fix unlink maps EN translation
2023-02-24 01:10:58 +01:00
MathieuG-P dc70d2889f fix unlink maps EN translation 2023-02-24 01:10:15 +01:00
MathieuG-P 6b2879d9dc bumb version 2023-02-21 01:39:17 +01:00
MathieuG-P 19e842d721 Merge pull request #142 from Zagrios/hotfix/oneclick-map-not-install-map-in-unlinked-versions
hotfix/oneclick-map-not-install-map-in-unlinked-versions
2023-02-21 01:29:43 +01:00
MathieuG-P 8d28c3cfc8 oneclick map not install map in unlinked versions 2023-02-21 01:28:42 +01:00
MathieuG-P baec206bf3 Merge pull request #141 from Zagrios/bugfix/oneclick-not-work-when-no-versions/139
bugfix/oneclick-not-work-when-no-versions/139
2023-02-21 01:03:23 +01:00
MathieuG-P 3aacd7575b fix oneclick map not work when no BS versions intalled 2023-02-21 01:00:39 +01:00
MathieuG-P d739245e70 Merge pull request #140 from Zagrios/bugfix/ram-usage-maps-list/138
bugfix/ram-usage-maps-list/138
2023-02-21 00:43:56 +01:00
MathieuG-P c88d93b0ab maps optimisation finished + new ipc system + maps progress bars now accurate 2023-02-21 00:33:33 +01:00
MathieuG-P 64280509b0 huge maps deletion and export speed improvement + optimize map component update rate 2023-02-17 01:26:16 +01:00
MathieuG-P a7e81cfa8a virtual scroll maps list resize work 2023-02-16 00:30:23 +01:00
MathieuG-P 2620354888 init virtual scroll maps list 2023-02-15 00:50:49 +01:00
MathieuG-P 61a8790448 bumb version 2023-02-06 22:03:34 +01:00
MathieuG-P 5b4af58baa Merge pull request #135 from Zagrios/hotfix/remove-model-downloader-from-default-mods
hotfix/remove-model-download-from-default-mods
2023-02-06 21:43:42 +01:00
MathieuG-P 6cd3c65362 Merge pull request #134 from Zagrios/hotfix/disable-support-button
hotfix/disable-support-button
2023-02-06 21:41:59 +01:00
MathieuG-P 211a3b9a39 disable support button + fix button hightlight even if disabled + fix click exec even if disabled 2023-02-06 21:37:17 +01:00
MathieuG-P a4fd92a014 remove ModelDownload from default mods 2023-02-06 21:14:40 +01:00
Gaëtan Gerard 295d0f90ba Merge pull request #133 from Synaelle/patch-1
Correction d'orthographe
2023-02-02 21:49:29 +01:00
Synaelle 5592242963 Correction d'orthographe
J'ai corrigé la majorité des fautes que j'ai pu trouvé, ainsi que les problèmes de cohérence dans la mention du jeu. C'est à dire que des fois le jeu est appelé BeatSaber et des fois Beat Saber.
2023-02-02 15:12:47 +01:00
MathieuG-P 0212f3ba26 Merge pull request #132 from 0xAuthenticity/master
Update default-configuration.config.ts
2023-01-28 14:55:56 +01:00
0xAuthenticity 36521a2b1b Update default-configuration.config.ts 2023-01-28 02:23:42 -05:00
MathieuG-P 571a4f23ea re-enable web installer 2023-01-26 00:09:30 +01:00
MathieuG-P 2b9829d57a bumb version 2023-01-25 23:46:55 +01:00
MathieuG-P 2f6ea39f79 Merge pull request #131 from Zagrios/hotfix/file-verification-download-a-version
hotfix/file-verification-download-a-version
2023-01-25 23:45:11 +01:00
MathieuG-P 8e33214fd0 re-add file verification 2023-01-25 23:44:38 +01:00
MathieuG-P 310dfb94c2 Merge pull request #130 from Zagrios/hotfix/disable-web-installer-for-update
hotfix/disable-web-installer-for-update
2023-01-25 20:54:13 +01:00
MathieuG-P 39e2a54e1e Merge pull request #129 from Zagrios/bugfix/selected-effect-missing-available-versions/127
bugfix/selected-effect-missing-available-versions/127
2023-01-25 20:51:02 +01:00
MathieuG-P 829cace7b9 add selected in glowEffect condition 2023-01-25 20:29:08 +01:00
MathieuG-P e82afa7e22 disable web installer for auto update 2023-01-25 20:23:52 +01:00
MathieuG-P 5e64ce16f4 add web installer 2023-01-25 00:02:08 +01:00
MathieuG-P 2154d90759 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2023-01-24 23:42:15 +01:00
MathieuG-P d889c85b4a bumb version 2023-01-24 23:42:12 +01:00
MathieuG-P cc4d033db2 Merge pull request #126 from Zagrios/hotfix/no-more-files-verification-from-available-versions-list
hotfix/no-more-files-verification-from-available-versions-list
2023-01-24 22:57:45 +01:00
MathieuG-P 1cfef9f607 no more verification in available versions list 2023-01-24 22:55:25 +01:00
MathieuG-P bbd26d1c12 Merge pull request #125 from Zagrios/hotfix/icon-cuts-white-with-stroke
hotfix/icon-cuts-white-with-stroke
2023-01-24 22:07:31 +01:00
MathieuG-P 72f0c22e88 add stroke to cuts and cuts are always white 2023-01-24 22:06:29 +01:00
Gaëtan Gerard 72daaeee0e Merge pull request #124 from Zagrios/master
Rebase branch
2023-01-24 09:26:10 +01:00
MathieuG-P 26765c45c7 bumb version 2023-01-23 02:21:36 +01:00
MathieuG-P 2afcaa46f9 Merge pull request #122 from Zagrios/feature/import-external-version/121
feature/import-external-version/121
2023-01-23 02:17:42 +01:00
MathieuG-P 3c5b2a2eed add loading maps 2023-01-23 02:15:52 +01:00
MathieuG-P 0ff8e865aa possibility to import version + cpu usage optimization 2023-01-23 00:56:49 +01:00
MathieuG-P 2d60acce51 update readme and add credits 2023-01-21 15:08:35 +01:00
MathieuG-P 53fb197585 Merge pull request #120 from Zagrios/feature/readme-update
Feature/readme update
2023-01-20 01:09:01 +01:00
Gaëtan Gerard 3c11f5a0a1 Update README.md 2023-01-20 00:47:41 +01:00
Gaëtan Gerard bef27b4ac5 Update README.md 2023-01-20 00:39:41 +01:00
Gaëtan Gerard 0d0cfa1b4e Update README.md 2023-01-20 00:35:44 +01:00
Gaëtan Gerard 286f4aa68d Update README.md
Co-authored-by: MathieuG-P <40181755+Zagrios@users.noreply.github.com>
2023-01-20 00:35:16 +01:00
Gaëtan Gerard 58f563ed61 Update README.md
Co-authored-by: MathieuG-P <40181755+Zagrios@users.noreply.github.com>
2023-01-20 00:32:33 +01:00
Gaëtan Gerard 523575e43c Update README.md
Co-authored-by: MathieuG-P <40181755+Zagrios@users.noreply.github.com>
2023-01-20 00:24:54 +01:00
Gaëtan Gerard 414017930e Update README.md
Co-authored-by: MathieuG-P <40181755+Zagrios@users.noreply.github.com>
2023-01-20 00:19:44 +01:00
Gaëtan Gerard 01550557fb Update README.md 2023-01-20 00:15:57 +01:00
Gaëtan Gerard cdfb957203 Update README.md 2023-01-20 00:10:07 +01:00
Shido c647099f60 remove "the tool" 2023-01-19 23:54:43 +01:00
Shido 8899017a37 Update README.md 2023-01-19 23:52:01 +01:00
Gaëtan Gerard c8b983fd76 Update README.md 2023-01-19 21:58:30 +01:00
Gaëtan Gerard 24ad6b6a1d Update README.md 2023-01-19 21:50:24 +01:00
Gaëtan Gerard ee9e23ef2c Update README.md 2023-01-19 21:39:17 +01:00
Gaëtan Gerard 3125009e80 Update README.md 2023-01-19 21:32:24 +01:00
Shido b23e211e11 remove (WIP) 2023-01-19 15:52:53 +01:00
Shido 2cc9b342b7 remove useless file 2023-01-19 15:50:55 +01:00
Shido 085a74a6b3 Merge branch 'feature/readme-update' of https://github.com/Zagrios/bs-manager into feature/readme-update 2023-01-19 15:49:22 +01:00
Shido f6159a863c fix BSM link 2023-01-19 15:49:20 +01:00
Gaëtan Gerard 4430138e77 Update README.md 2023-01-19 15:45:02 +01:00
Gaëtan Gerard 04eca2cbc0 "bot" -> "bottom" 2023-01-19 13:36:47 +01:00
Shido c8d47f8e67 Merge branch 'feature/readme-update' of https://github.com/Zagrios/bs-manager into feature/readme-update 2023-01-19 13:29:09 +01:00
Shido f7da6fdb63 fix link issue 2023-01-19 13:29:07 +01:00
Gaëtan Gerard 2466bb6d4c fix One Click .mov 2023-01-19 12:50:11 +01:00
Gaëtan Gerard 5f293e38b6 adding .mov for OneClick 2023-01-19 11:51:56 +01:00
Gaëtan Gerard 08ce0b1da3 fix .mov name 2023-01-18 22:19:36 +01:00
Gaëtan Gerard e12aa7e695 Adding .MOV 2023-01-18 22:16:35 +01:00
Shido c92a32a503 Improve readme 2023-01-18 22:14:18 +01:00
Shido 56fdfdca49 Merge branch 'feature/readme-update' of https://github.com/Zagrios/bs-manager into feature/readme-update 2023-01-18 02:17:33 +01:00
Shido b2510645e5 Improve readme 2023-01-18 02:17:32 +01:00
MathieuG-P b5a08584a0 bumb version 2023-01-17 23:02:45 +01:00
MathieuG-P 78568cd235 Merge pull request #118 from Zagrios/bugfix/can-clone-with-same-name/113
bugfix/can-clone-with-same-name/113
2023-01-17 22:58:25 +01:00
MathieuG-P 8e86d4a7c5 change versions file system 2023-01-17 22:57:43 +01:00
Gaëtan Gerard 6322ff2dd5 fix .mov 2023-01-17 21:47:26 +01:00
Shido 89c3b93ba6 manageVersions .mov test 2023-01-17 21:45:03 +01:00
Shido 580dea6b44 Update manageVersions preview 2023-01-17 21:39:27 +01:00
Shido b203adc66f fix preview 2023-01-17 21:29:17 +01:00
MathieuG-P 7a2639f772 Merge pull request #117 from Zagrios/bugfix/wrong-placement-tooltip-version/115
bugfix/wrong-placement-tooltip-version/115
2023-01-17 20:28:43 +01:00
MathieuG-P 535430d0c5 better version tooltip 2023-01-17 20:28:14 +01:00
Shido a0c9c88e0e Update preview 2023-01-17 20:13:11 +01:00
Shido 4b7610f39f fix tool name 2023-01-17 18:52:30 +01:00
Shido a06e903c5c adding "Customize your instances" in Table of contents 2023-01-17 00:10:37 +01:00
Shido f79f46269f Adding "One-Click" text 2023-01-17 00:08:53 +01:00
MathieuG-P b82ddc1c59 Merge pull request #110 from Zagrios/hotfix/fix-tab-navigation
hotfix/fix-tab-navigation
2023-01-16 21:24:02 +01:00
MathieuG-P f4dc6ab838 fix tab navigation 2023-01-16 21:23:28 +01:00
MathieuG-P 62dde63206 Merge pull request #109 from Zagrios/hotfix/improve-nav-bar-static-button
hotfix/improve-nav-bar-static-button
2023-01-16 20:58:24 +01:00
MathieuG-P 5c034013fe improve nav-bar static buttons 2023-01-16 20:57:38 +01:00
MathieuG-P 23717c15d1 Create SECURITY.md 2023-01-14 22:15:00 +01:00
MathieuG-P 09acc3ccaa bump version 2023-01-13 03:20:37 +01:00
MathieuG-P 7c3f4f6a64 Merge pull request #106 from Zagrios/hotfix/bsm-icon-black-spark-on-light-theme
hotfix/bsm-icon-black-spark-on-light-theme
2023-01-13 03:03:22 +01:00
MathieuG-P 8dc48b20cb black spark bsm icon on light theme 2023-01-13 03:02:16 +01:00
MathieuG-P 165b17e034 Merge pull request #105 from Zagrios/hotfix/redirect-on-available-versions-on-delete-uninstall-version
hotfix/redirect-on-available-versions-on-delete-uninstall-version
2023-01-13 02:54:29 +01:00
MathieuG-P 4255e2ad85 redirect on available versions page on uninstall last version 2023-01-13 02:54:03 +01:00
MathieuG-P 16b7c1ed76 Merge pull request #104 from Zagrios/bugfix/pending-and-download-button-overlap/99
bugfix/pending-and-download-button-overlap/99
2023-01-13 02:41:09 +01:00
MathieuG-P d179bde348 fix overlapping download button and pending spinner 2023-01-13 02:40:24 +01:00
MathieuG-P e2234b19ea Merge pull request #102 from Zagrios/bugfix/cant-manage-versions/101
fix error libsFolders not iterable
2023-01-13 01:01:12 +01:00
MathieuG-P 45259f304b fix error libsFolders not iterable 2023-01-13 00:59:11 +01:00
MathieuG-P 220c7940a8 Merge pull request #98 from Zagrios/feature/add-info-launch-mod/11
feature/add-info-launch-mod/11
2023-01-11 23:53:19 +01:00
MathieuG-P 9665dbcb4e add info to launch mod 2023-01-11 23:51:40 +01:00
Gaëtan 423a17070c update gif Mods 2023-01-11 20:47:13 +01:00
MathieuG-P 8d88b59e3d bump version 2023-01-10 22:19:24 +01:00
MathieuG-P ae9d1dfc9b Merge pull request #97 from Zagrios/bugfix/unglow-apply-when-no-filter-change/90
bugfix/unglow-apply-when-no-filter-change/90
2023-01-10 22:06:27 +01:00
MathieuG-P 6930df940f compare first and new filter to know if changes 2023-01-10 22:05:25 +01:00
MathieuG-P fd523f4017 Merge pull request #95 from Zagrios/bugfix/error-when-no-internet/87
bugfix/error-when-no-internet/87
2023-01-10 21:38:02 +01:00
MathieuG-P 4c8f903256 handle no internet for mods and maps 2023-01-10 21:37:26 +01:00
MathieuG-P d2ba6aadc1 Merge pull request #94 from Zagrios/bugfix/infinite-map-loading/91
bugfix/infinite-map-loading/91
2023-01-10 20:21:34 +01:00
MathieuG-P 0023066e32 add text when no maps found 2023-01-10 20:21:00 +01:00
MathieuG-P 39bcf63e3c Merge pull request #93 from Zagrios/bugfix/supporter-button-not-work/89
bugfix/supporter-button-not-work/89
2023-01-10 20:05:41 +01:00
MathieuG-P 656f32e755 fix supporters not open + add missing key 2023-01-10 20:05:07 +01:00
MathieuG-P f66279980b Merge pull request #92 from Zagrios/bugfix/map-preview-behind-maps-download/88
bugfix/map-preview-behind-maps-download/88
2023-01-10 19:58:15 +01:00
MathieuG-P 1f65841e62 fix iframe view z index + rename iframe view file 2023-01-10 19:57:39 +01:00
Gaëtan 0422e7fee8 add customize version section 2023-01-10 14:55:12 +01:00
Gaëtan 7fdf165d57 update gif manageVersion 2023-01-10 14:54:56 +01:00
Gaëtan 31d1b8536d test gif 2023-01-10 14:30:28 +01:00
Gaëtan Gerard 20ac0ef7da gif test loading 2023-01-10 14:10:07 +01:00
Gaëtan a72c849693 Update Gif manageVersion 2023-01-10 14:01:19 +01:00
Gaëtan 48f3bf53ca Remove RoadMap 2023-01-10 10:35:50 +01:00
Gaëtan e78a1189b0 Update Badge Shield 2023-01-10 10:35:12 +01:00
MathieuG-P 955d6420b3 bumb version 2023-01-09 20:31:11 +01:00
MathieuG-P f773e419d5 Merge pull request #86 from Zagrios/feature/switch-patreon-to-mee6/83
feature/switch-patreon-to-mee6/83
2023-01-09 20:26:48 +01:00
MathieuG-P 08bceff27a switch patreon to mee6 2023-01-09 20:25:04 +01:00
MathieuG-P aacf09aebc Merge pull request #85 from Zagrios/bugfix/settings-close-button-stuck/84
bugfix/settings-close-button-stuck/84
2023-01-09 19:53:42 +01:00
MathieuG-P 0ad02979e7 fix height 2023-01-09 19:53:03 +01:00
MathieuG-P b33839c7a2 Merge pull request #82 from Zagrios/feature/add-twitter-button/81
feature/add-twitter-button/81
2023-01-09 15:42:05 +01:00
MathieuG-P 4d5fca4b18 add twitter button 2023-01-09 15:37:43 +01:00
MathieuG-P 598049a49f Update CODE_OF_CONDUCT.md 2023-01-08 19:14:56 +01:00
MathieuG-P e0f9b44f4d Update FUNDING.yml 2023-01-08 19:13:11 +01:00
MathieuG-P 13ffd76459 Update CONTRIBUTING.md 2023-01-07 23:42:32 +01:00
MathieuG-P 5eae7eab10 Create CONTRIBUTING.md 2023-01-07 23:38:51 +01:00
MathieuG-P bc855990c8 Create CODE_OF_CONDUCT.md 2023-01-07 23:01:07 +01:00
MathieuG-P 55d643be1c Create pull_request_template.md 2023-01-07 22:40:01 +01:00
MathieuG-P 1e726be44d add funding 2023-01-07 00:54:05 +01:00
MathieuG-P 648ea4be67 Merge pull request #80 from Zagrios/feature/add-map-owned-indicator/34
feature/add-map-owned-indicator/34
2023-01-06 22:46:43 +01:00
MathieuG-P 030d70e5c3 Merge pull request #79 from Zagrios/hotfix/color-customization-not-work
hotfix/color-customization-not-work
2023-01-06 22:45:50 +01:00
MathieuG-P 4a7c47fb5c add owned indicator + remove useless props 2023-01-06 22:44:41 +01:00
MathieuG-P b404122960 repair on change functions 2023-01-06 22:23:01 +01:00
MathieuG-P 9d075d79c8 Merge pull request #78 from Zagrios/hotfix/fix-notification-strange-disappearing
hotfix/fix-notification-strange-disappearing
2023-01-06 18:12:20 +01:00
MathieuG-P 4e1847c12d fix strange disappearing 2023-01-06 18:11:05 +01:00
MathieuG-P de2f7882b3 Merge pull request #77 from Zagrios/feature/enable-all-oneclick-in-once/57
feature/enable-all-oneclicks/57
2023-01-06 16:52:48 +01:00
MathieuG-P 28b6241255 add select all to toogle oneClicks 2023-01-06 16:51:23 +01:00
MathieuG-P 3358efac88 Merge pull request #74 from Zagrios/feature/ux-toogle-oneclick/72
feature/ux-toogle-onclick/72
2023-01-05 22:38:24 +01:00
MathieuG-P c7069494a9 toogle oneclick on click list item 2023-01-05 22:37:38 +01:00
MathieuG-P b98826612b Merge pull request #73 from Zagrios/bugfix/shadow-hidden-notification-still-visible/71
bugfix/shadow-hidden-notification-still-visible/71
2023-01-05 22:07:41 +01:00
MathieuG-P 5ef8443217 shadow no longer visible after exit 2023-01-05 22:06:24 +01:00
MathieuG-P 5e03039633 Merge pull request #70 from Zagrios/hotfix/close-filter-on-apply
hotfix/close-filter-on-apply
2023-01-04 21:55:39 +01:00
MathieuG-P f13375ea40 Merge branch 'master' into hotfix/close-filter-on-apply 2023-01-04 21:55:06 +01:00
MathieuG-P b5d0a9156b Merge pull request #69 from Zagrios/hotfix/missing-translation-filter-panel
hotfix/missing-translation-filter
2023-01-04 21:52:43 +01:00
MathieuG-P 46e79baae6 close filter on apply 2023-01-04 21:47:43 +01:00
MathieuG-P 55e51461a7 add missing translation 2023-01-04 21:24:57 +01:00
MathieuG-P c086b805a9 change version 2023-01-04 20:51:01 +01:00
MathieuG-P ffaef60f9a Merge pull request #68 from Zagrios/hotfix/change-work-in-progress-text
hotfix/change-work-in-progress-text
2023-01-04 20:47:01 +01:00
MathieuG-P 556a217e41 work in progress to coming soon 2023-01-04 20:46:04 +01:00
MathieuG-P a91ccd49db Merge pull request #67 from Zagrios/feature/remember-choice-delete-map-modal/66
feature/remember-choice-delete-map-modal/66
2023-01-04 20:42:27 +01:00
MathieuG-P e42fffbee7 add remember choice option on delete single map 2023-01-04 20:40:41 +01:00
Gaëtan 1209d8e32a raneme tools 2023-01-04 05:17:06 +01:00
Gaëtan b89da81989 Update img and gif 2023-01-04 05:15:38 +01:00
MathieuG-P 171f17a7e0 Merge pull request #65 from Zagrios/bugfix/notification-not-disappear/56
bugfix/notification-not-disappear/56
2023-01-03 23:24:08 +01:00
MathieuG-P 149b5195ca change notification animation 2023-01-03 23:20:31 +01:00
MathieuG-P b10eb982cd Merge pull request #64 from Zagrios/bugfix/notifications-behind-maps-modal/61
bugfix/notifications-behind-maps-modal/61
2023-01-03 22:34:30 +01:00
MathieuG-P f44c4e66a0 change z indexes 2023-01-03 22:33:19 +01:00
MathieuG-P c99bdbb8d0 Merge pull request #63 from Zagrios/bugfix/map-above-filter-panel/60
bugfix/map-above-filter-panel/60
2023-01-03 22:18:20 +01:00
MathieuG-P ccc8c5c7c1 fix z index bug 2023-01-03 22:17:38 +01:00
MathieuG-P 8dbb39a001 Merge pull request #62 from Zagrios/bugfix/filter-too-complex-to-apply/59
bugfix/filter too complex to apply/59
2023-01-03 22:04:49 +01:00
MathieuG-P 80a6a2049e add optionnal apply button 2023-01-03 22:03:27 +01:00
MathieuG-P 9b62c27afa not used here but will be usefull 2023-01-03 22:02:55 +01:00
MathieuG-P 20ffd88a3a change version 2023-01-01 13:07:03 +01:00
MathieuG-P 0f0c114710 Merge pull request #55 from Zagrios/feature/Moving-config-file/27
Feature/moving config file/27
2023-01-01 10:06:30 +01:00
MathieuG-P b922c47fc2 config rework 2022-12-31 22:52:45 +01:00
MathieuG-P f0110dcbb8 remove config changes AND fix bug on clone version with linked maps 2022-12-31 22:51:55 +01:00
MathieuG-P ff0d5f535b Merge branch 'master' into feature/Moving-config-file/27 2022-12-31 20:40:41 +01:00
MathieuG-P 0f5ca9647d Merge pull request #54 from Zagrios/feature/dotnet-alert/53
[Feature] Alert if dotnet is not installed
2022-12-30 23:39:43 +01:00
MathieuG-P 1e26c366f8 too much warnings when connection is unstable 2022-12-30 23:36:02 +01:00
MathieuG-P 74aa8defae little tweak 2022-12-30 23:01:52 +01:00
MathieuG-P d013641e53 alert if dotnet not present 2022-12-30 23:01:32 +01:00
Gaëtan Gerard b0a5cbc74e Merge pull request #52 from Zagrios/master
merge master
2022-12-30 05:42:16 +01:00
Gaëtan a6d8bedde2 Improved consistency of text 2022-12-30 05:41:09 +01:00
Gaëtan e9824e86f4 fix one click 2022-12-30 05:39:05 +01:00
Gaëtan 220837d2fb remove <sumary> 2022-12-30 05:38:29 +01:00
Gaëtan 1bfdcb732a set icon to 250x250 2022-12-30 05:37:34 +01:00
Gaëtan 9865f91b6d fix link table of contents 2022-12-30 05:35:20 +01:00
Gaëtan 838b1b3b93 fix separator 2022-12-30 05:33:43 +01:00
Gaëtan 0f7a30992d Adding "how to install?" 2022-12-30 05:31:16 +01:00
Gaëtan 1c2c997b6b adding "Having problems?" 2022-12-30 05:28:59 +01:00
Gaëtan bbbaeb86d0 Update link + fix text 2022-12-30 05:17:52 +01:00
MathieuG-P 9ca9207e02 Merge pull request #51 from Zagrios/hotfix/remove-uwu-stuff
hotfix/remove useless uwu stuff
2022-12-29 23:53:49 +01:00
MathieuG-P 0ae11ddc8c remove useless uwu stuff 2022-12-29 23:52:59 +01:00
MathieuG-P a13c7313d6 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2022-12-29 23:38:40 +01:00
MathieuG-P 804c2d7c19 add cert sha 2022-12-29 23:38:35 +01:00
MathieuG-P 1a58243141 Merge pull request #50 from Zagrios/feature/mods-disclaimer/44
feature/add-mods-disclaimer/44
2022-12-29 16:53:55 +01:00
MathieuG-P 574b1fe414 add mods disclaimer 2022-12-29 16:53:15 +01:00
MathieuG-P d127f3b6e7 Merge pull request #49 from Zagrios/hotfix/link-maps-by-default
hotfix/link-maps-by-default
2022-12-29 15:13:09 +01:00
MathieuG-P 2b14f52db9 just try to link maps after download a BS version 2022-12-29 15:10:48 +01:00
MathieuG-P 4143912ef2 Merge pull request #48 from Zagrios/feature/notification-enable-oneclick/47
feature/add-notification-to-enable-oneclick-if-not/47
2022-12-29 13:32:50 +01:00
MathieuG-P 45cbecb21e add notification to enable OneClicks if not 2022-12-29 12:22:35 +01:00
MathieuG-P a8189f28b5 Merge pull request #46 from Zagrios/feature/add-discord-button/43
feature/add-dicord-button/43
2022-12-29 11:10:38 +01:00
MathieuG-P d626ed67f9 add discord button in settings 2022-12-29 11:07:10 +01:00
Gaëtan Gerard 34921b166e Merge branch 'master' into Readme-Update 2022-12-29 06:05:15 +01:00
Gaëtan f9b10a1174 Update Discord Link 2022-12-29 06:03:05 +01:00
Gaëtan 6b20fa8f7b fix "roadmap" 2022-12-29 06:00:07 +01:00
Gaëtan bc5fb017cf change "Contributing" emplacement 2022-12-29 05:59:35 +01:00
Gaëtan Gerard ce82f53568 fix "Main Developer" and "Support Developer" 2022-12-29 05:56:31 +01:00
Gaëtan 4f5ef38d1b remove contact 2022-12-29 05:54:03 +01:00
Gaëtan 26e2ed5bbf remove License and acknowledgments 2022-12-29 05:52:45 +01:00
Gaëtan a5d42f3687 Add Contributing 2022-12-29 05:50:06 +01:00
Gaëtan 811e49327a Add Roadmap (wait img) 2022-12-29 05:49:32 +01:00
Gaëtan a8bb34c2d8 Adding all desct usage 2022-12-29 05:48:55 +01:00
Gaëtan 13b426eca6 test multilangue 2022-12-29 05:07:21 +01:00
MathieuG-P b1347b063d Merge pull request #42 from Zagrios/feature/improve-custom-version-design/9
feature/improve-custom-version-nav-bar-ui/9
2022-12-28 23:37:38 +01:00
MathieuG-P caaacf868a improve text sizing AND better tooltip 2022-12-28 23:32:33 +01:00
MathieuG-P 99cf6b8945 Merge pull request #41 from Zagrios/hotfix/light-theme-maps-management
hotfix/light theme maps management
2022-12-28 22:31:19 +01:00
MathieuG-P 2aa9d8afb5 implement light theme for maps-management 2022-12-28 22:30:28 +01:00
MathieuG-P 37dce9769e fix translation 2022-12-28 22:30:11 +01:00
MathieuG-P cdd6d77fc4 deep link enabler light theme 2022-12-28 21:48:27 +01:00
MathieuG-P 0ce21036a7 Merge pull request #40 from Zagrios/feature/swipe-notification-to-close/29
feature/swipe-notification-to-close/29
2022-12-28 21:43:50 +01:00
MathieuG-P f7fd662fef handle swipe to right to close notification 2022-12-28 21:40:55 +01:00
MathieuG-P 46687e5068 Merge pull request #39 from Zagrios/feature/add-splitter-under-versions-list/32
feature/add-splitter-under-versions-list/32
2022-12-28 20:52:42 +01:00
MathieuG-P 9c5cf5160a add spliter under versions and little css styles change 2022-12-28 20:51:12 +01:00
MathieuG-P d391e13f66 Merge pull request #38 from Zagrios/hotfix/install-version-process-was-not-killed
hotfix/fix get main window from windows service
2022-12-28 20:42:49 +01:00
MathieuG-P df166f3dd0 fix get main window from windows service 2022-12-28 20:39:11 +01:00
MathieuG-P 0cc5f8cbb1 Merge pull request #37 from Zagrios/feature/lunch-steam-from-bsm/20
feature/launch-steam-from-bsm/20
2022-12-28 20:31:51 +01:00
MathieuG-P 06622c4088 add button to lunch steam when steam is not running 2022-12-28 20:30:10 +01:00
MathieuG-P a8ca0b26b3 Merge pull request #36 from Zagrios/bugfix/outdated-mod-not-detected-as-outdated/28
bugfix/outdated mod not detected as outdate/28
2022-12-28 19:10:07 +01:00
MathieuG-P c15696a5b8 mod version properly comparated now 2022-12-28 19:05:27 +01:00
MathieuG-P 249caa1a82 Merge pull request #35 from Zagrios/feature/maps-management
feature/maps management
2022-12-28 18:46:37 +01:00
MathieuG-P fab45876bf nothing 2022-12-28 15:35:31 +01:00
MathieuG-P fdb381ca6c Merge branch 'master' into feature/maps-management 2022-12-28 15:34:23 +01:00
MathieuG-P 392d2656a3 fix on play map was selected 2022-12-28 15:06:32 +01:00
MathieuG-P 9ba8af438d fix styles 2022-12-28 14:54:34 +01:00
MathieuG-P 65b2a5c385 download maps button when no maps 2022-12-28 01:38:58 +01:00
MathieuG-P 61a3685d6c sanitize models filename 2022-12-27 00:50:15 +01:00
MathieuG-P a1aeab1d90 remove console logs and useless stuff 2022-12-27 00:11:29 +01:00
MathieuG-P 4cb9482e27 fix fake items in dropdown 2022-12-26 21:50:41 +01:00
MathieuG-P 5d62c6c0e9 download on double click PLUS little fixes 2022-12-26 21:23:10 +01:00
MathieuG-P 6bfe735b60 remove translate todos 2022-12-26 21:04:28 +01:00
MathieuG-P 7d919e9dcf remove force deeplink 2022-12-26 21:03:05 +01:00
MathieuG-P 4293fd9d1b missing return 2022-12-26 21:02:21 +01:00
MathieuG-P af69c821a7 add oneClick system notifications translations 2022-12-26 20:48:36 +01:00
MathieuG-P 36eca807ad add deep link notifications translations 2022-12-26 14:44:04 +01:00
MathieuG-P b217fcf9c0 better handle deep link error 2022-12-26 14:17:27 +01:00
MathieuG-P ef202e33ec add notification and system notification 2022-12-26 00:09:52 +01:00
MathieuG-P 89ac6077be update framer-motion 2022-12-25 22:43:41 +01:00
MathieuG-P 80412e536e no need types for uuid 2022-12-25 22:38:27 +01:00
MathieuG-P c8e4812967 use crypto api for uuid 2022-12-25 22:33:32 +01:00
MathieuG-P b9850effca fix duplicated key 2022-12-25 22:29:58 +01:00
MathieuG-P e9286822ab fix bad indentation 2022-12-25 22:25:06 +01:00
MathieuG-P 9d7cd708c7 deep-links models fully work AND add translations 2022-12-25 22:18:28 +01:00
MathieuG-P c674fce0c0 advancement on onclick install model AND fix circual dependency 2022-12-25 01:04:36 +01:00
MathieuG-P 2aed523480 advancement on oneClick model AND lazy loading react windows 2022-12-24 18:19:59 +01:00
MathieuG-P 7f5a297b87 fix link 2022-12-24 12:59:14 +01:00
MathieuG-P 6c5190eacb initiate model-saber support 2022-12-24 01:18:02 +01:00
MathieuG-P 6f6da723e7 fix delete maps not delete when version is not linked 2022-12-23 22:03:12 +01:00
MathieuG-P b9fda11d34 clean unsubscribe 2022-12-23 21:54:54 +01:00
MathieuG-P 2931b58276 clean 2022-12-23 21:53:07 +01:00
MathieuG-P 68fd4111ad window not closing at the end 2022-12-23 21:52:54 +01:00
MathieuG-P 698eab012f we can now enable deep links for playlists 2022-12-23 21:52:34 +01:00
MathieuG-P e18caca70f one click install playlist working 2022-12-23 00:29:15 +01:00
MathieuG-P d556350eef advencement on oneclick playlists 2022-12-22 00:57:06 +01:00
MathieuG-P 16aa65afed create one click install playlist window 2022-12-20 17:38:45 +01:00
MathieuG-P 7e10d28d28 advence on oneclic playlist 2022-12-20 15:57:26 +01:00
MathieuG-P 58faea04a3 start playlists management 2022-12-20 03:00:51 +01:00
MathieuG-P ee95df202d move maps service 2022-12-20 00:20:37 +01:00
MathieuG-P bd2038cc79 fix warning 2022-12-19 23:58:29 +01:00
MathieuG-P 31183473ab add todo 2022-12-19 23:57:58 +01:00
MathieuG-P 605a383963 fix object desctory when oneClick window close 2022-12-19 03:38:06 +01:00
MathieuG-P 802d0533c8 disable force deep-link 2022-12-19 02:46:23 +01:00
MathieuG-P a886ccb981 tweak log 2022-12-19 02:44:47 +01:00
MathieuG-P b8abe30e39 fix white border AND little tweak 2022-12-19 02:41:12 +01:00
MathieuG-P b8e2bb73f5 increase speed fake progress bar 2022-12-19 02:40:11 +01:00
MathieuG-P 714837286f handle deepLink from score saber AND try fix white border 2022-12-19 01:55:20 +01:00
MathieuG-P a786be653c remove console log 2022-12-19 01:54:50 +01:00
MathieuG-P bdfb7a156f oneclick install map from bsv now work 2022-12-18 03:41:53 +01:00
MathieuG-P c626b850c9 handle enable and disable map deep links 2022-12-17 01:24:37 +01:00
Gaëtan 5a5d31f9ac corretif timestamp 2022-12-13 22:25:23 +01:00
Gaëtan 16db775379 github is broken 2022-12-13 22:24:32 +01:00
Gaëtan b2f76d7aaa change and separe data config.json 2022-12-13 22:21:35 +01:00
Gaëtan Gerard 383f065d1b corretif 1.27 2022-12-13 22:19:18 +01:00
Gaëtan Gerard 3216eddde6 add 1.27 2022-12-13 22:18:30 +01:00
Gaëtan 77ab238863 Config congiguration.service.ts 2022-12-13 11:05:12 +01:00
MathieuG-P ca5c86dbf1 create sevice to manage deep links 2022-12-12 23:35:57 +01:00
Gaëtan 9fbf81f8f2 init change 2022-12-12 22:14:06 +01:00
MathieuG-P 0372f7a1d5 remove console log 2022-12-12 22:01:00 +01:00
MathieuG-P 79ecaf3d15 remove dead code 2022-12-12 21:55:26 +01:00
MathieuG-P 31d8925615 move beat-saver service in main 2022-12-12 21:53:43 +01:00
MathieuG-P 9050d84b03 add site icons for OneClick installs 2022-12-12 21:53:03 +01:00
MathieuG-P 4d0cc4a6fe start of oneclick installs 2022-12-12 02:43:23 +01:00
MathieuG-P 91f7179d5e fix github button style 2022-12-12 00:28:35 +01:00
MathieuG-P d22fb0dcf4 fix translation 2022-12-12 00:03:01 +01:00
MathieuG-P 3f0b6c2db7 add little cross on all modals 2022-12-11 23:37:59 +01:00
MathieuG-P 66f113ae45 add proper filter icon 2022-12-11 23:37:41 +01:00
MathieuG-P efe03f41b9 fix translation 2022-12-11 23:37:05 +01:00
MathieuG-P 055d8b2bcc add all translations 2022-12-11 23:11:23 +01:00
MathieuG-P 6b724d8040 uninstall react tooltip 2022-12-11 23:11:05 +01:00
MathieuG-P b983467cfc change add and link button styles 2022-12-11 13:48:45 +01:00
MathieuG-P d378312dbd add some french translations 2022-12-11 02:20:25 +01:00
MathieuG-P 55e7145ba2 lazy load map images 2022-12-10 17:19:46 +01:00
MathieuG-P 77f6db9b6c change add map button style 2022-12-10 17:19:32 +01:00
MathieuG-P 47474f5c11 add comms 2022-12-10 15:50:10 +01:00
MathieuG-P 3db5cb70b7 optimise map filter check 2022-12-10 15:49:26 +01:00
MathieuG-P 87c37b18d3 fix observable never complete if error 2022-12-10 15:39:26 +01:00
MathieuG-P 160efbfafd no add maps button when offline 2022-12-10 15:38:54 +01:00
MathieuG-P 3be2100160 playlist tab wip 2022-12-10 15:29:33 +01:00
MathieuG-P c4d942eb2e search on sort change AND add search text 2022-12-10 01:29:46 +01:00
MathieuG-P 1ca62ba2f5 handle translation AND onChange reture string 2022-12-10 01:29:23 +01:00
MathieuG-P c5f871d810 remove useless import 2022-12-10 01:28:49 +01:00
MathieuG-P e0d70bd882 change import export MapsPage 2022-12-10 00:15:09 +01:00
MathieuG-P 7423df43c5 fix error for shared maps 2022-12-09 23:56:43 +01:00
MathieuG-P 8cb78e8550 fix styles 2022-12-09 23:56:34 +01:00
MathieuG-P 4308ba5125 fix text style 2022-12-09 23:46:20 +01:00
MathieuG-P 02753999f1 fix add map and link buttons AND fix tag filters set undefined 2022-12-09 23:29:09 +01:00
MathieuG-P 702486020f wrong map style and type 2022-12-09 23:25:05 +01:00
MathieuG-P 6b12b7bc74 fix wrong map style and type 2022-12-09 23:23:20 +01:00
MathieuG-P 5bf674d782 we can export all or specific maps 2022-12-08 00:09:59 +01:00
MathieuG-P 6df2c98955 we can now delete mutliple maps at the same time 2022-12-07 23:10:59 +01:00
MathieuG-P 77bc6236f8 create iframe view and fix preview map 2022-12-07 20:58:46 +01:00
MathieuG-P 57e0c73a31 fix rerendering AND fix downloader map folder name 2022-12-07 01:33:24 +01:00
MathieuG-P f038ae79fb maps and playlists panel are always in one block 2022-12-06 23:32:25 +01:00
MathieuG-P 63775a5e99 fix bug 2022-12-06 23:31:50 +01:00
MathieuG-P 8930009398 we can now download maps from bsaver 2022-12-06 00:52:37 +01:00
MathieuG-P 9dce72250e close on escape 2022-12-06 00:52:06 +01:00
MathieuG-P 0ea41da41c we can now see maps from bsaver 2022-12-05 03:19:05 +01:00
MathieuG-P 36c1eb20fc memoize map item 2022-12-05 03:18:33 +01:00
MathieuG-P 341e8aed99 create download maps modal 2022-12-04 01:08:18 +01:00
MathieuG-P abdc05298b prepare for maps downloading 2022-11-30 23:35:02 +01:00
MathieuG-P b7db145517 add cache for maps details 2022-11-30 00:48:55 +01:00
Gaëtan dceb09ec36 Update img 2022-11-28 23:11:43 +01:00
MathieuG-P 57ab0b9ff2 translate map actions modals 2022-11-28 22:40:45 +01:00
Gaëtan Gerard 398494c320 Merge pull request #25 from Zagrios/update-link-feature-and-report-bug
Updated link "report a bug" and "feature request"
2022-11-28 22:21:48 +01:00
Gaëtan Gerard 43e4a0866c Updated link "report a bug" and "feature request" 2022-11-28 22:19:02 +01:00
MathieuG-P 4e64ae93c2 add progress bar for link unlink and delete maps 2022-11-28 21:14:24 +01:00
MathieuG-P eec011d9f0 single maps deletion finished 2022-11-28 21:13:57 +01:00
Gaëtan Gerard 08b0a5c689 Merge pull request #21 from Zagrios/Issue-Templates-Update
Update issue templates
2022-11-28 11:19:56 +01:00
Gaëtan Gerard 21dee2ec57 Update issue templates 2022-11-28 10:48:52 +01:00
MathieuG-P c172b1ed81 add link unlink maps modals AND start maps deletion 2022-11-28 02:30:02 +01:00
MathieuG-P 69918d0f3f npm i 2022-11-27 23:49:53 +01:00
MathieuG-P d390050183 can now link and unlink version maps 2022-11-26 23:29:50 +01:00
MathieuG-P 31f38820d2 delete useless log 2022-11-24 01:18:18 +01:00
MathieuG-P 8372d3bed9 add linked unlinked maps indication 2022-11-24 01:18:08 +01:00
MathieuG-P 46f5f9486c map filter and search works 2022-11-22 00:21:22 +01:00
MathieuG-P 1e6351aaf9 fix label 2022-11-21 22:31:24 +01:00
MathieuG-P f9edf33097 progress on filter panel 2022-11-21 00:05:20 +01:00
MathieuG-P f815695298 add filters panel (partial) 2022-11-20 00:54:30 +01:00
MathieuG-P bbbbf50551 update tailwindcss 2022-11-19 15:31:17 +01:00
MathieuG-P 0c74e9683b npm i 2022-11-19 15:21:51 +01:00
MathieuG-P b1b4d13dfc Merge branch 'master' into feature/maps-management 2022-11-19 15:18:51 +01:00
MathieuG-P 5860ab8eb9 . 2022-11-19 15:12:17 +01:00
MathieuG-P a4af268720 add registry in npm config file 2022-11-19 15:12:02 +01:00
MathieuG-P 092b7fbd77 add 1.26.0 2022-11-18 17:09:56 +01:00
MathieuG-P 58c8c32a58 we are no longer blocked if error occur durring update downloading 2022-11-17 23:50:13 +01:00
MathieuG-P 69c4202899 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2022-11-17 23:42:52 +01:00
MathieuG-P 43cc008011 add version number on log file 2022-11-17 23:42:41 +01:00
MathieuG-P 821e487c93 prototype of maps searchbar 2022-11-17 00:07:46 +01:00
MathieuG-P 42e9c2ed58 remove saturation 2022-11-16 23:32:12 +01:00
MathieuG-P 6ea7f45d40 remove saturation 2022-11-16 23:28:10 +01:00
MathieuG-P 5c2edcf558 no preview available when no mapId 2022-11-16 23:27:41 +01:00
MathieuG-P 3333924511 delete comment 2022-11-16 23:27:24 +01:00
Gaëtan d200444d75 Merge branch 'master' of https://github.com/Zagrios/bs-manager 2022-11-15 22:13:06 +01:00
MathieuG-P 82b33fbf95 maps navbar in panel 2022-11-15 22:11:48 +01:00
MathieuG-P c985fd09bd css fix 2022-11-14 23:04:52 +01:00
MathieuG-P c312b6ede8 only maps and not maps and playlists 2022-11-14 23:04:44 +01:00
MathieuG-P e76adf7a5f stop propagation on click 2022-11-14 23:04:27 +01:00
MathieuG-P 7dae0bf77f create empty maps toolbar 2022-11-14 23:04:14 +01:00
MathieuG-P ed9bc0c3a8 can select maps and fix blur issue on translate 2022-11-14 23:03:19 +01:00
Gaëtan 9d6638c35e add services 2022-11-14 15:27:41 +01:00
MathieuG-P 5ba670505b add info and optimize rendering 2022-11-14 00:24:43 +01:00
MathieuG-P ef000b7eda add maps and playlists list to versions 2022-11-14 00:23:07 +01:00
MathieuG-P cfda3830db fix css issue 2022-11-14 00:22:43 +01:00
MathieuG-P f0cf76a5fe VisibilitySensor was causing unwanted destroy 2022-11-14 00:18:46 +01:00
MathieuG-P ce7438825b Update feature_request.md 2022-11-13 19:43:37 +01:00
MathieuG-P 0d0ed47455 Update bug_report.md 2022-11-13 19:41:13 +01:00
MathieuG-P 8217a577a0 missing icons and add difficulties 2022-11-13 02:14:53 +01:00
MathieuG-P 4c36f2321a npm run audit fix 2022-11-12 14:48:03 +01:00
MathieuG-P 4223a17341 play song and add data to map item 2022-11-11 02:43:30 +01:00
MathieuG-P 6bb99ace5c add bsm icon png 2022-11-10 13:25:15 +01:00
MathieuG-P de86519282 add map data 2022-11-10 00:52:59 +01:00
MathieuG-P 3a30e5fbc9 right type 2022-11-10 00:52:47 +01:00
MathieuG-P 68ee96b8e3 change map item style 2022-11-09 22:55:15 +01:00
MathieuG-P cf78b2b21d add song author 2022-11-09 22:55:07 +01:00
MathieuG-P e89199fec3 Update README.md 2022-11-09 12:37:34 +01:00
MathieuG-P 0a5c158657 get maps details from bsaver api 2022-11-09 00:46:01 +01:00
MathieuG-P 46766ec0ff Merge pull request #18 from Zagrios/Update-Tailwind
Update tailwind setup
2022-11-08 22:49:45 +01:00
MathieuG-P 300fad0010 add type tailwind 2022-11-08 22:41:44 +01:00
MathieuG-P 84450419c1 scroll by mouse position 2022-11-08 22:39:00 +01:00
Gaëtan Gerard fd5c14a1bd Update Tailwind 2022-11-08 16:39:14 +01:00
MathieuG-P cd8dae5976 maps managment advancement 2022-11-07 17:09:19 +01:00
MathieuG-P 5e2dd10035 fully load local maps, and prepare bsaver map infos 2022-11-06 01:38:31 +01:00
MathieuG-P df4df8add1 for system file link protocol 2022-11-06 01:35:58 +01:00
MathieuG-P 4544ee5622 maps nav bar active when on maps page 2022-11-06 01:35:29 +01:00
MathieuG-P dd7bc3556d maps models 2022-11-06 01:33:29 +01:00
MathieuG-P 788b7598b0 add protocol to support system file link 2022-11-06 01:33:03 +01:00
MathieuG-P a4f4eb5558 off some rules 2022-11-06 01:32:35 +01:00
MathieuG-P 43cdcbf765 add maps and playlist slide 2022-11-01 23:04:39 +01:00
MathieuG-P 2a9d7f3a15 maps manager service prototype 2022-11-01 23:04:28 +01:00
MathieuG-P 5c5e6c7439 hover effect more generic 2022-11-01 23:04:13 +01:00
MathieuG-P 322faa6a92 create page of shared maps and playlists 2022-11-01 18:42:15 +01:00
MathieuG-P 701e91462d fix fill-rule 2022-10-31 23:19:29 +01:00
MathieuG-P 2b34d643a9 add missing translations 2022-10-31 23:17:38 +01:00
MathieuG-P 4a7949fd2a modal system lot impoved and simpler to use 2022-10-31 23:04:42 +01:00
MathieuG-P 47fce8a6dd Merge pull request #17 from Zagrios/feature/oculus-installation-detection
Feature/oculus installation detection
2022-10-31 20:46:02 +01:00
MathieuG-P 4d6d3cf4f8 remove useless imports 2022-10-31 20:28:44 +01:00
MathieuG-P 26236ba024 add transltations 2022-10-31 20:26:08 +01:00
MathieuG-P dcb932859b fix steam running check even if it's oculus version 2022-10-31 20:22:28 +01:00
MathieuG-P a9646209e1 oculus detection complete 2022-10-30 22:40:18 +01:00
MathieuG-P 6ce7bc94df update changelog 2022-10-28 14:54:26 +02:00
MathieuG-P 5b82f4c162 detection of oculus beat saber installation 2022-10-26 01:13:12 +02:00
Gaëtan Gerard 1b2136ffb9 Update README.md 2022-10-05 22:16:25 +02:00
Gaëtan Gerard 416cf41841 test 2022-10-05 21:59:57 +02:00
Gaëtan Gerard 3940a0a06c Update README.md 2022-10-05 21:44:47 +02:00
Gaëtan Gerard 6a987126c8 Add files via upload 2022-10-05 21:43:21 +02:00
Gaëtan Gerard a4f68ebc8b correctif shield issue 2022-10-05 15:12:58 +02:00
Gaëtan Gerard b7adfacfd1 begin usage 2022-10-05 15:07:58 +02:00
Gaëtan Gerard ee03a90f02 Built With 2022-10-05 11:52:19 +02:00
Gaëtan Gerard 383d917e25 Built With 2022-10-05 11:51:11 +02:00
Gaëtan Gerard e15d4c45d4 About The Project 2022-10-05 10:53:53 +02:00
Gaëtan Gerard 6077e51203 beginning of About The Project 2022-10-04 16:26:30 +02:00
Gaëtan Gerard 079dc32429 Update README.md 2022-10-04 16:09:04 +02:00
Gaëtan Gerard 01ef77832d Update README.md 2022-10-04 16:05:49 +02:00
Gaëtan Gerard d29e6d39f5 Update README.md 2022-10-04 12:56:12 +02:00
388 changed files with 56389 additions and 20178 deletions
+11 -10
View File
@@ -1,12 +1,13 @@
{
"rules": {
"no-console": "off",
"global-require": "off",
"import/no-dynamic-require": "off",
"prettier/prettier": 0,
"import/prefer-default-export": "off",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "off",
"@angular-eslint/no-empty-lifecycle-method": "off"
}
"rules": {
"no-console": "off",
"global-require": "off",
"import/no-dynamic-require": "off",
"prettier/prettier": 0,
"no-await-in-loop": "off",
"import/prefer-default-export": "off",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "off",
"@angular-eslint/no-empty-lifecycle-method": "off"
}
}
+4 -4
View File
@@ -1,6 +1,6 @@
const tailwindcss = require('tailwindcss');
const autoprefixer = require('autoprefixer');
const tailwindcss = require("tailwindcss");
const autoprefixer = require("autoprefixer");
module.exports = {
plugins: [tailwindcss, autoprefixer],
};
plugins: [tailwindcss, autoprefixer],
};
+39 -39
View File
@@ -2,52 +2,52 @@
* Base webpack config used across other specific configs
*/
import webpack from 'webpack';
import webpackPaths from './webpack.paths';
import { dependencies as externals } from '../../release/app/package.json';
import webpack from "webpack";
import webpackPaths from "./webpack.paths";
import { dependencies as externals } from "../../release/app/package.json";
const configuration: webpack.Configuration = {
externals: [...Object.keys(externals || {})],
externals: [...Object.keys(externals || {})],
stats: 'errors-only',
stats: "errors-only",
module: {
rules: [
{
test: /\.[jt]sx?$/,
exclude: /node_modules/,
use: {
loader: 'ts-loader',
options: {
// Remove this line to enable type checking in webpack builds
transpileOnly: true,
},
},
},
],
},
output: {
path: webpackPaths.srcPath,
// https://github.com/webpack/webpack/issues/1114
library: {
type: 'commonjs2',
module: {
rules: [
{
test: /\.[jt]sx?$/,
exclude: /node_modules/,
use: {
loader: "ts-loader",
options: {
// Remove this line to enable type checking in webpack builds
transpileOnly: true,
},
},
},
],
},
},
/**
* Determine the array of extensions that should be used to resolve modules.
*/
resolve: {
extensions: ['.js', '.jsx', '.json', '.ts', '.tsx'],
modules: [webpackPaths.srcPath, 'node_modules'],
},
output: {
path: webpackPaths.srcPath,
// https://github.com/webpack/webpack/issues/1114
library: {
type: "commonjs2",
},
},
plugins: [
new webpack.EnvironmentPlugin({
NODE_ENV: 'production',
}),
],
/**
* Determine the array of extensions that should be used to resolve modules.
*/
resolve: {
extensions: [".js", ".jsx", ".json", ".ts", ".tsx"],
modules: [webpackPaths.srcPath, "node_modules"],
},
plugins: [
new webpack.EnvironmentPlugin({
NODE_ENV: "production",
}),
],
};
export default configuration;
+1 -1
View File
@@ -1,3 +1,3 @@
/* eslint import/no-unresolved: off, import/no-self-import: off */
module.exports = require('./webpack.config.renderer.dev').default;
module.exports = require("./webpack.config.renderer.dev").default;
+60 -60
View File
@@ -2,81 +2,81 @@
* Webpack config for production electron main process
*/
import path from 'path';
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import TerserPlugin from 'terser-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
import webpackPaths from './webpack.paths';
import checkNodeEnv from '../scripts/check-node-env';
import deleteSourceMaps from '../scripts/delete-source-maps';
import path from "path";
import webpack from "webpack";
import { merge } from "webpack-merge";
import TerserPlugin from "terser-webpack-plugin";
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
import baseConfig from "./webpack.config.base";
import webpackPaths from "./webpack.paths";
import checkNodeEnv from "../scripts/check-node-env";
import deleteSourceMaps from "../scripts/delete-source-maps";
checkNodeEnv('production');
checkNodeEnv("production");
deleteSourceMaps();
const devtoolsConfig =
process.env.DEBUG_PROD === 'true'
? {
devtool: 'source-map',
}
: {};
process.env.DEBUG_PROD === "true"
? {
devtool: "source-map",
}
: {};
const configuration: webpack.Configuration = {
...devtoolsConfig,
...devtoolsConfig,
mode: 'production',
mode: "production",
target: 'electron-main',
target: "electron-main",
entry: {
main: path.join(webpackPaths.srcMainPath, 'main.ts'),
preload: path.join(webpackPaths.srcMainPath, 'preload.ts'),
},
entry: {
main: path.join(webpackPaths.srcMainPath, "main.ts"),
preload: path.join(webpackPaths.srcMainPath, "preload.ts"),
},
output: {
path: webpackPaths.distMainPath,
filename: '[name].js',
},
output: {
path: webpackPaths.distMainPath,
filename: "[name].js",
},
optimization: {
minimizer: [
new TerserPlugin({
parallel: true,
}),
optimization: {
minimizer: [
new TerserPlugin({
parallel: true,
}),
],
},
plugins: [
new BundleAnalyzerPlugin({
analyzerMode: process.env.ANALYZE === "true" ? "server" : "disabled",
}),
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
*/
new webpack.EnvironmentPlugin({
NODE_ENV: "production",
DEBUG_PROD: false,
START_MINIMIZED: false,
}),
],
},
plugins: [
new BundleAnalyzerPlugin({
analyzerMode: process.env.ANALYZE === 'true' ? 'server' : 'disabled',
}),
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
* Disables webpack processing of __dirname and __filename.
* If you run the bundle in node.js it falls back to these values of node.js.
* https://github.com/webpack/webpack/issues/2010
*/
new webpack.EnvironmentPlugin({
NODE_ENV: 'production',
DEBUG_PROD: false,
START_MINIMIZED: false,
}),
],
/**
* Disables webpack processing of __dirname and __filename.
* If you run the bundle in node.js it falls back to these values of node.js.
* https://github.com/webpack/webpack/issues/2010
*/
node: {
__dirname: false,
__filename: false,
},
node: {
__dirname: false,
__filename: false,
},
};
export default merge(baseConfig, configuration);
+50 -50
View File
@@ -1,68 +1,68 @@
import path from 'path';
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
import webpackPaths from './webpack.paths';
import checkNodeEnv from '../scripts/check-node-env';
import path from "path";
import webpack from "webpack";
import { merge } from "webpack-merge";
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
import baseConfig from "./webpack.config.base";
import webpackPaths from "./webpack.paths";
import checkNodeEnv from "../scripts/check-node-env";
// When an ESLint server is running, we can't set the NODE_ENV so we'll check if it's
// at the dev webpack config is not accidentally run in a production environment
if (process.env.NODE_ENV === 'production') {
checkNodeEnv('development');
if (process.env.NODE_ENV === "production") {
checkNodeEnv("development");
}
const configuration: webpack.Configuration = {
devtool: 'inline-source-map',
devtool: "inline-source-map",
mode: 'development',
mode: "development",
target: 'electron-preload',
target: "electron-preload",
entry: path.join(webpackPaths.srcMainPath, 'preload.ts'),
entry: path.join(webpackPaths.srcMainPath, "preload.ts"),
output: {
path: webpackPaths.dllPath,
filename: 'preload.js',
},
output: {
path: webpackPaths.dllPath,
filename: "preload.js",
},
plugins: [
new BundleAnalyzerPlugin({
analyzerMode: process.env.ANALYZE === 'true' ? 'server' : 'disabled',
}),
plugins: [
new BundleAnalyzerPlugin({
analyzerMode: process.env.ANALYZE === "true" ? "server" : "disabled",
}),
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
*
* By default, use 'development' as NODE_ENV. This can be overriden with
* 'staging', for example, by changing the ENV variables in the npm scripts
*/
new webpack.EnvironmentPlugin({
NODE_ENV: "development",
}),
new webpack.LoaderOptionsPlugin({
debug: true,
}),
],
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
*
* By default, use 'development' as NODE_ENV. This can be overriden with
* 'staging', for example, by changing the ENV variables in the npm scripts
* Disables webpack processing of __dirname and __filename.
* If you run the bundle in node.js it falls back to these values of node.js.
* https://github.com/webpack/webpack/issues/2010
*/
new webpack.EnvironmentPlugin({
NODE_ENV: 'development',
}),
node: {
__dirname: false,
__filename: false,
},
new webpack.LoaderOptionsPlugin({
debug: true,
}),
],
/**
* Disables webpack processing of __dirname and __filename.
* If you run the bundle in node.js it falls back to these values of node.js.
* https://github.com/webpack/webpack/issues/2010
*/
node: {
__dirname: false,
__filename: false,
},
watch: true,
watch: true,
};
export default merge(baseConfig, configuration);
+56 -56
View File
@@ -2,76 +2,76 @@
* Builds the DLL for development electron renderer process
*/
import webpack from 'webpack';
import path from 'path';
import { merge } from 'webpack-merge';
import baseConfig from './webpack.config.base';
import webpackPaths from './webpack.paths';
import { dependencies } from '../../package.json';
import checkNodeEnv from '../scripts/check-node-env';
import webpack from "webpack";
import path from "path";
import { merge } from "webpack-merge";
import baseConfig from "./webpack.config.base";
import webpackPaths from "./webpack.paths";
import { dependencies } from "../../package.json";
import checkNodeEnv from "../scripts/check-node-env";
checkNodeEnv('development');
checkNodeEnv("development");
const dist = webpackPaths.dllPath;
const configuration: webpack.Configuration = {
context: webpackPaths.rootPath,
context: webpackPaths.rootPath,
devtool: 'eval',
devtool: "eval",
mode: 'development',
mode: "development",
target: 'electron-renderer',
target: "electron-renderer",
externals: ['fsevents', 'crypto-browserify'],
/**
* Use `module` from `webpack.config.renderer.dev.js`
*/
module: require('./webpack.config.renderer.dev').default.module,
entry: {
renderer: Object.keys(dependencies || {}),
},
output: {
path: dist,
filename: '[name].dev.dll.js',
library: {
name: 'renderer',
type: 'var',
},
},
plugins: [
new webpack.DllPlugin({
path: path.join(dist, '[name].json'),
name: '[name]',
}),
externals: ["fsevents", "crypto-browserify"],
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
* Use `module` from `webpack.config.renderer.dev.js`
*/
new webpack.EnvironmentPlugin({
NODE_ENV: 'development',
}),
module: require("./webpack.config.renderer.dev").default.module,
new webpack.LoaderOptionsPlugin({
debug: true,
options: {
context: webpackPaths.srcPath,
output: {
path: webpackPaths.dllPath,
entry: {
renderer: Object.keys(dependencies || {}),
},
output: {
path: dist,
filename: "[name].dev.dll.js",
library: {
name: "renderer",
type: "var",
},
},
}),
],
},
plugins: [
new webpack.DllPlugin({
path: path.join(dist, "[name].json"),
name: "[name]",
}),
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
*/
new webpack.EnvironmentPlugin({
NODE_ENV: "development",
}),
new webpack.LoaderOptionsPlugin({
debug: true,
options: {
context: webpackPaths.srcPath,
output: {
path: webpackPaths.dllPath,
},
},
}),
],
};
export default merge(baseConfig, configuration);
+165 -190
View File
@@ -1,221 +1,196 @@
import 'webpack-dev-server';
import path from 'path';
import fs from 'fs';
import webpack from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import chalk from 'chalk';
import { merge } from 'webpack-merge';
import { execSync, spawn } from 'child_process';
import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin';
import baseConfig from './webpack.config.base';
import webpackPaths from './webpack.paths';
import checkNodeEnv from '../scripts/check-node-env';
import "webpack-dev-server";
import path from "path";
import fs from "fs";
import webpack from "webpack";
import HtmlWebpackPlugin from "html-webpack-plugin";
import chalk from "chalk";
import { merge } from "webpack-merge";
import { execSync, spawn } from "child_process";
import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin";
import baseConfig from "./webpack.config.base";
import webpackPaths from "./webpack.paths";
import checkNodeEnv from "../scripts/check-node-env";
import { AppWindow } from "../../src/shared/models/window-manager/app-window.model";
// When an ESLint server is running, we can't set the NODE_ENV so we'll check if it's
// at the dev webpack config is not accidentally run in a production environment
if (process.env.NODE_ENV === 'production') {
checkNodeEnv('development');
if (process.env.NODE_ENV === "production") {
checkNodeEnv("development");
}
const port = process.env.PORT || 1212;
const manifest = path.resolve(webpackPaths.dllPath, 'renderer.json');
const manifest = path.resolve(webpackPaths.dllPath, "renderer.json");
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const requiredByDLLConfig = module.parent!.filename.includes(
'webpack.config.renderer.dev.dll'
);
const requiredByDLLConfig = module.parent!.filename.includes("webpack.config.renderer.dev.dll");
/**
* Warn if the DLL is not built
*/
if (
!requiredByDLLConfig &&
!(fs.existsSync(webpackPaths.dllPath) && fs.existsSync(manifest))
) {
console.log(
chalk.black.bgYellow.bold(
'The DLL files are missing. Sit back while we build them for you with "npm run build-dll"'
)
);
execSync('npm run postinstall');
if (!requiredByDLLConfig && !(fs.existsSync(webpackPaths.dllPath) && fs.existsSync(manifest))) {
console.log(chalk.black.bgYellow.bold('The DLL files are missing. Sit back while we build them for you with "npm run build-dll"'));
execSync("npm run postinstall");
}
const getHtmlPageOptions = (page: AppWindow): HtmlWebpackPlugin.Options => {
return {
filename: path.join(page),
template: path.join(webpackPaths.srcRendererPath, page.replace(".html", ".ejs")),
minify: {
collapseWhitespace: true,
removeAttributeQuotes: true,
removeComments: true,
},
isBrowser: false,
env: process.env.NODE_ENV,
isDevelopment: process.env.NODE_ENV !== "production",
nodeModules: webpackPaths.appNodeModulesPath,
};
};
const configuration: webpack.Configuration = {
devtool: 'inline-source-map',
devtool: "inline-source-map",
mode: 'development',
mode: "development",
target: ['web', 'electron-renderer'],
target: ["web", "electron-renderer"],
entry: [
`webpack-dev-server/client?http://localhost:${port}/dist`,
'webpack/hot/only-dev-server',
path.join(webpackPaths.srcRendererPath, 'index.tsx'),
],
entry: [`webpack-dev-server/client?http://localhost:${port}/dist`, "webpack/hot/only-dev-server", path.join(webpackPaths.srcRendererPath, "index.tsx")],
output: {
path: webpackPaths.distRendererPath,
publicPath: '/',
filename: 'renderer.dev.js',
library: {
type: 'umd',
output: {
path: webpackPaths.distRendererPath,
publicPath: "/",
filename: "renderer.dev.js",
library: {
type: "umd",
},
},
},
module: {
rules: [
{
test: /\.s?css$/,
use: [
'style-loader',
{
loader: 'css-loader',
options: {
modules: true,
sourceMap: true,
importLoaders: 1,
module: {
rules: [
{
test: /\.s?css$/,
use: [
"style-loader",
{
loader: "css-loader",
options: {
modules: true,
sourceMap: true,
importLoaders: 1,
},
},
"sass-loader",
],
include: /\.module\.s?(c|a)ss$/,
},
},
'sass-loader',
{
loader: 'postcss-loader',
options: {
postcssOptions: {
plugins: [require('tailwindcss'), require('autoprefixer')],
},
{
test: /\.s?css$/,
use: [
"style-loader",
"css-loader",
"sass-loader",
{
loader: "postcss-loader",
options: {
postcssOptions: {
plugins: [require("tailwindcss"), require("autoprefixer")],
},
},
},
],
exclude: /\.module\.s?(c|a)ss$/,
},
// Fonts
{
test: /\.(woff|woff2|eot|ttf|otf)$/i,
type: "asset/resource",
},
// Images
{
test: /\.(png|svg|jpg|jpeg|gif|mp4|webp)$/i,
type: "asset/resource",
},
},
],
include: /\.module\.s?(c|a)ss$/,
},
{
test: /\.s?css$/,
use: [
'style-loader',
'css-loader',
'sass-loader',
{
loader: 'postcss-loader',
options: {
postcssOptions: {
plugins: [require('tailwindcss'), require('autoprefixer')],
},
},
},
],
exclude: /\.module\.s?(c|a)ss$/,
},
// Fonts
{
test: /\.(woff|woff2|eot|ttf|otf)$/i,
type: 'asset/resource',
},
// Images
{
test: /\.(png|svg|jpg|jpeg|gif|mp4|webp)$/i,
type: 'asset/resource',
},
},
plugins: [
...(requiredByDLLConfig
? []
: [
new webpack.DllReferencePlugin({
context: webpackPaths.dllPath,
manifest: require(manifest),
sourceType: "var",
}),
]),
new webpack.NoEmitOnErrorsPlugin(),
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
*
* By default, use 'development' as NODE_ENV. This can be overriden with
* 'staging', for example, by changing the ENV variables in the npm scripts
*/
new webpack.EnvironmentPlugin({
NODE_ENV: "development",
}),
new webpack.LoaderOptionsPlugin({
debug: true,
}),
new ReactRefreshWebpackPlugin(),
new HtmlWebpackPlugin(getHtmlPageOptions("index.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("launcher.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("oneclick-download-map.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("oneclick-download-playlist.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("oneclick-download-model.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("shortcut-launch.html")),
],
},
plugins: [
...(requiredByDLLConfig
? []
: [
new webpack.DllReferencePlugin({
context: webpackPaths.dllPath,
manifest: require(manifest),
sourceType: 'var',
}),
]),
new webpack.NoEmitOnErrorsPlugin(),
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
*
* By default, use 'development' as NODE_ENV. This can be overriden with
* 'staging', for example, by changing the ENV variables in the npm scripts
*/
new webpack.EnvironmentPlugin({
NODE_ENV: 'development',
}),
new webpack.LoaderOptionsPlugin({
debug: true,
}),
new ReactRefreshWebpackPlugin(),
new HtmlWebpackPlugin({
filename: path.join('index.html'),
template: path.join(webpackPaths.srcRendererPath, 'index.ejs'),
minify: {
collapseWhitespace: true,
removeAttributeQuotes: true,
removeComments: true,
},
isBrowser: false,
env: process.env.NODE_ENV,
isDevelopment: process.env.NODE_ENV !== 'production',
nodeModules: webpackPaths.appNodeModulesPath,
}),
new HtmlWebpackPlugin({
filename: path.join('launcher.html'),
template: path.join(webpackPaths.srcRendererPath, 'launcher.ejs'),
minify: {
collapseWhitespace: true,
removeAttributeQuotes: true,
removeComments: true,
},
isBrowser: false,
env: process.env.NODE_ENV,
isDevelopment: process.env.NODE_ENV !== 'production',
nodeModules: webpackPaths.appNodeModulesPath,
})
],
node: {
__dirname: false,
__filename: false,
},
devServer: {
port,
compress: true,
hot: true,
headers: { 'Access-Control-Allow-Origin': '*' },
static: {
publicPath: '/',
node: {
__dirname: false,
__filename: false,
},
historyApiFallback: true,
setupMiddlewares(middlewares) {
console.log('Starting preload.js builder...');
const preloadProcess = spawn('npm', ['run', 'start:preload'], {
shell: true,
stdio: 'inherit',
})
.on('close', (code: number) => process.exit(code!))
.on('error', (spawnError) => console.error(spawnError));
console.log('Starting Main Process...');
spawn('npm', ['run', 'start:main'], {
shell: true,
stdio: 'inherit',
})
.on('close', (code: number) => {
preloadProcess.kill();
process.exit(code!);
})
.on('error', (spawnError) => console.error(spawnError));
return middlewares;
devServer: {
port,
compress: true,
hot: true,
headers: { "Access-Control-Allow-Origin": "*" },
static: {
publicPath: "/",
},
historyApiFallback: true,
setupMiddlewares(middlewares) {
console.log("Starting preload.js builder...");
const preloadProcess = spawn("npm", ["run", "start:preload"], {
shell: true,
stdio: "inherit",
})
.on("close", (code: number) => process.exit(code!))
.on("error", spawnError => console.error(spawnError));
console.log("Starting Main Process...");
spawn("npm", ["run", "start:main"], {
shell: true,
stdio: "inherit",
})
.on("close", (code: number) => {
preloadProcess.kill();
process.exit(code!);
})
.on("error", spawnError => console.error(spawnError));
return middlewares;
},
},
},
};
export default merge(baseConfig, configuration);
+129 -137
View File
@@ -2,160 +2,152 @@
* Build config for electron renderer process
*/
import path from 'path';
import webpack from 'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import CssMinimizerPlugin from 'css-minimizer-webpack-plugin';
import { merge } from 'webpack-merge';
import TerserPlugin from 'terser-webpack-plugin';
import baseConfig from './webpack.config.base';
import webpackPaths from './webpack.paths';
import checkNodeEnv from '../scripts/check-node-env';
import deleteSourceMaps from '../scripts/delete-source-maps';
import path from "path";
import webpack from "webpack";
import HtmlWebpackPlugin from "html-webpack-plugin";
import MiniCssExtractPlugin from "mini-css-extract-plugin";
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
import CssMinimizerPlugin from "css-minimizer-webpack-plugin";
import { merge } from "webpack-merge";
import TerserPlugin from "terser-webpack-plugin";
import baseConfig from "./webpack.config.base";
import webpackPaths from "./webpack.paths";
import checkNodeEnv from "../scripts/check-node-env";
import deleteSourceMaps from "../scripts/delete-source-maps";
import { AppWindow } from "../../src/shared/models/window-manager/app-window.model";
checkNodeEnv('production');
checkNodeEnv("production");
deleteSourceMaps();
const devtoolsConfig =
process.env.DEBUG_PROD === 'true'
? {
devtool: 'source-map',
}
: {};
process.env.DEBUG_PROD === "true"
? {
devtool: "source-map",
}
: {};
const getHtmlPageOptions = (page: AppWindow): HtmlWebpackPlugin.Options => {
return {
filename: path.join(page),
template: path.join(webpackPaths.srcRendererPath, page.replace(".html", ".ejs")),
minify: {
collapseWhitespace: true,
removeAttributeQuotes: true,
removeComments: true,
},
isBrowser: false,
env: process.env.NODE_ENV,
isDevelopment: process.env.NODE_ENV !== "production",
nodeModules: webpackPaths.appNodeModulesPath,
};
};
const configuration: webpack.Configuration = {
...devtoolsConfig,
...devtoolsConfig,
mode: 'production',
mode: "production",
target: ['web', 'electron-renderer'],
target: ["web", "electron-renderer"],
entry: [path.join(webpackPaths.srcRendererPath, 'index.tsx')],
entry: [path.join(webpackPaths.srcRendererPath, "index.tsx")],
output: {
path: webpackPaths.distRendererPath,
publicPath: './',
filename: 'renderer.js',
library: {
type: 'umd',
output: {
path: webpackPaths.distRendererPath,
publicPath: "./",
filename: "renderer.js",
library: {
type: "umd",
},
},
},
module: {
rules: [
{
test: /\.s?(a|c)ss$/,
use: [
MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {
modules: true,
sourceMap: true,
importLoaders: 1,
module: {
rules: [
{
test: /\.s?(a|c)ss$/,
use: [
MiniCssExtractPlugin.loader,
{
loader: "css-loader",
options: {
modules: true,
sourceMap: true,
importLoaders: 1,
},
},
"sass-loader",
],
include: /\.module\.s?(c|a)ss$/,
},
},
'sass-loader',
{
loader: 'postcss-loader',
options: {
postcssOptions: {
plugins: [require('tailwindcss'), require('autoprefixer')],
},
{
test: /\.s?(a|c)ss$/,
use: [
MiniCssExtractPlugin.loader,
"css-loader",
"sass-loader",
{
loader: "postcss-loader",
options: {
postcssOptions: {
plugins: [require("tailwindcss"), require("autoprefixer")],
},
},
},
],
exclude: /\.module\.s?(c|a)ss$/,
},
// Fonts
{
test: /\.(woff|woff2|eot|ttf|otf)$/i,
type: "asset/resource",
},
// Images
{
test: /\.(png|svg|jpg|jpeg|gif|mp4|webp)$/i,
type: "asset/resource",
},
},
],
include: /\.module\.s?(c|a)ss$/,
},
{
test: /\.s?(a|c)ss$/,
use: [
MiniCssExtractPlugin.loader,
'css-loader',
'sass-loader',
{
loader: 'postcss-loader',
options: {
postcssOptions: {
plugins: [require('tailwindcss'), require('autoprefixer')],
},
},
},
},
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
parallel: true,
}),
new CssMinimizerPlugin(),
],
exclude: /\.module\.s?(c|a)ss$/,
},
// Fonts
{
test: /\.(woff|woff2|eot|ttf|otf)$/i,
type: 'asset/resource',
},
// Images
{
test: /\.(png|svg|jpg|jpeg|gif|mp4|webp)$/i,
type: 'asset/resource',
},
},
plugins: [
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
*/
new webpack.EnvironmentPlugin({
NODE_ENV: "production",
DEBUG_PROD: false,
}),
new MiniCssExtractPlugin({
filename: "style.css",
}),
new BundleAnalyzerPlugin({
analyzerMode: process.env.ANALYZE === "true" ? "server" : "disabled",
}),
new HtmlWebpackPlugin(getHtmlPageOptions("index.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("launcher.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("oneclick-download-map.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("oneclick-download-playlist.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("oneclick-download-model.html")),
new HtmlWebpackPlugin(getHtmlPageOptions("shortcut-launch.html")),
],
},
optimization: {
minimize: true,
minimizer: [
new TerserPlugin({
parallel: true,
}),
new CssMinimizerPlugin(),
],
},
plugins: [
/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and
* release builds
*
* NODE_ENV should be production so that modules do not perform certain
* development checks
*/
new webpack.EnvironmentPlugin({
NODE_ENV: 'production',
DEBUG_PROD: false,
}),
new MiniCssExtractPlugin({
filename: 'style.css',
}),
new BundleAnalyzerPlugin({
analyzerMode: process.env.ANALYZE === 'true' ? 'server' : 'disabled',
}),
new HtmlWebpackPlugin({
filename: 'index.html',
template: path.join(webpackPaths.srcRendererPath, 'index.ejs'),
minify: {
collapseWhitespace: true,
removeAttributeQuotes: true,
removeComments: true,
},
isBrowser: false,
isDevelopment: process.env.NODE_ENV !== 'production',
}),
new HtmlWebpackPlugin({
filename: 'launcher.html',
template: path.join(webpackPaths.srcRendererPath, 'launcher.ejs'),
minify: {
collapseWhitespace: true,
removeAttributeQuotes: true,
removeComments: true,
},
isBrowser: false,
isDevelopment: process.env.NODE_ENV !== 'production',
})
],
};
export default merge(baseConfig, configuration);
+29 -29
View File
@@ -1,38 +1,38 @@
const path = require('path');
const path = require("path");
const rootPath = path.join(__dirname, '../..');
const rootPath = path.join(__dirname, "../..");
const dllPath = path.join(__dirname, '../dll');
const dllPath = path.join(__dirname, "../dll");
const srcPath = path.join(rootPath, 'src');
const srcMainPath = path.join(srcPath, 'main');
const srcRendererPath = path.join(srcPath, 'renderer');
const srcPath = path.join(rootPath, "src");
const srcMainPath = path.join(srcPath, "main");
const srcRendererPath = path.join(srcPath, "renderer");
const releasePath = path.join(rootPath, 'release');
const appPath = path.join(releasePath, 'app');
const appPackagePath = path.join(appPath, 'package.json');
const appNodeModulesPath = path.join(appPath, 'node_modules');
const srcNodeModulesPath = path.join(srcPath, 'node_modules');
const releasePath = path.join(rootPath, "release");
const appPath = path.join(releasePath, "app");
const appPackagePath = path.join(appPath, "package.json");
const appNodeModulesPath = path.join(appPath, "node_modules");
const srcNodeModulesPath = path.join(srcPath, "node_modules");
const distPath = path.join(appPath, 'dist');
const distMainPath = path.join(distPath, 'main');
const distRendererPath = path.join(distPath, 'renderer');
const distPath = path.join(appPath, "dist");
const distMainPath = path.join(distPath, "main");
const distRendererPath = path.join(distPath, "renderer");
const buildPath = path.join(releasePath, 'build');
const buildPath = path.join(releasePath, "build");
export default {
rootPath,
dllPath,
srcPath,
srcMainPath,
srcRendererPath,
releasePath,
appPath,
appPackagePath,
appNodeModulesPath,
srcNodeModulesPath,
distPath,
distMainPath,
distRendererPath,
buildPath,
rootPath,
dllPath,
srcPath,
srcMainPath,
srcRendererPath,
releasePath,
appPath,
appPackagePath,
appNodeModulesPath,
srcNodeModulesPath,
distPath,
distMainPath,
distRendererPath,
buildPath,
};
+1 -1
View File
@@ -1 +1 @@
export default 'test-file-stub';
export default "test-file-stub";
+6 -6
View File
@@ -1,8 +1,8 @@
{
"rules": {
"no-console": "off",
"global-require": "off",
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": "off"
}
"rules": {
"no-console": "off",
"global-require": "off",
"import/no-dynamic-require": "off",
"import/no-extraneous-dependencies": "off"
}
}
+8 -16
View File
@@ -1,24 +1,16 @@
// Check if the renderer and main bundles are built
import path from 'path';
import chalk from 'chalk';
import fs from 'fs';
import webpackPaths from '../configs/webpack.paths';
import path from "path";
import chalk from "chalk";
import fs from "fs";
import webpackPaths from "../configs/webpack.paths";
const mainPath = path.join(webpackPaths.distMainPath, 'main.js');
const rendererPath = path.join(webpackPaths.distRendererPath, 'renderer.js');
const mainPath = path.join(webpackPaths.distMainPath, "main.js");
const rendererPath = path.join(webpackPaths.distRendererPath, "renderer.js");
if (!fs.existsSync(mainPath)) {
throw new Error(
chalk.whiteBright.bgRed.bold(
'The main process is not built yet. Build it by running "npm run build:main"'
)
);
throw new Error(chalk.whiteBright.bgRed.bold('The main process is not built yet. Build it by running "npm run build:main"'));
}
if (!fs.existsSync(rendererPath)) {
throw new Error(
chalk.whiteBright.bgRed.bold(
'The renderer process is not built yet. Build it by running "npm run build:renderer"'
)
);
throw new Error(chalk.whiteBright.bgRed.bold('The renderer process is not built yet. Build it by running "npm run build:renderer"'));
}
+34 -50
View File
@@ -1,54 +1,38 @@
import fs from 'fs';
import chalk from 'chalk';
import { execSync } from 'child_process';
import { dependencies } from '../../package.json';
import fs from "fs";
import chalk from "chalk";
import { execSync } from "child_process";
import { dependencies } from "../../package.json";
if (dependencies) {
const dependenciesKeys = Object.keys(dependencies);
const nativeDeps = fs
.readdirSync('node_modules')
.filter((folder) => fs.existsSync(`node_modules/${folder}/binding.gyp`));
if (nativeDeps.length === 0) {
process.exit(0);
}
try {
// Find the reason for why the dependency is installed. If it is installed
// because of a devDependency then that is okay. Warn when it is installed
// because of a dependency
const { dependencies: dependenciesObject } = JSON.parse(
execSync(`npm ls ${nativeDeps.join(' ')} --json`).toString()
);
const rootDependencies = Object.keys(dependenciesObject);
const filteredRootDependencies = rootDependencies.filter((rootDependency) =>
dependenciesKeys.includes(rootDependency)
);
if (filteredRootDependencies.length > 0) {
const plural = filteredRootDependencies.length > 1;
console.log(`
${chalk.whiteBright.bgYellow.bold(
'Webpack does not work with native dependencies.'
)}
${chalk.bold(filteredRootDependencies.join(', '))} ${
plural ? 'are native dependencies' : 'is a native dependency'
} and should be installed inside of the "./release/app" folder.
First, uninstall the packages from "./package.json":
${chalk.whiteBright.bgGreen.bold('npm uninstall your-package')}
${chalk.bold(
'Then, instead of installing the package to the root "./package.json":'
)}
${chalk.whiteBright.bgRed.bold('npm install your-package')}
${chalk.bold('Install the package to "./release/app/package.json"')}
${chalk.whiteBright.bgGreen.bold(
'cd ./release/app && npm install your-package'
)}
Read more about native dependencies at:
${chalk.bold(
'https://electron-react-boilerplate.js.org/docs/adding-dependencies/#module-structure'
)}
`);
process.exit(1);
const dependenciesKeys = Object.keys(dependencies);
const nativeDeps = fs.readdirSync("node_modules").filter(folder => fs.existsSync(`node_modules/${folder}/binding.gyp`));
if (nativeDeps.length === 0) {
process.exit(0);
}
try {
// Find the reason for why the dependency is installed. If it is installed
// because of a devDependency then that is okay. Warn when it is installed
// because of a dependency
const { dependencies: dependenciesObject } = JSON.parse(execSync(`npm ls ${nativeDeps.join(" ")} --json`).toString());
const rootDependencies = Object.keys(dependenciesObject);
const filteredRootDependencies = rootDependencies.filter(rootDependency => dependenciesKeys.includes(rootDependency));
if (filteredRootDependencies.length > 0) {
const plural = filteredRootDependencies.length > 1;
console.log(`
${chalk.whiteBright.bgYellow.bold("Webpack does not work with native dependencies.")}
${chalk.bold(filteredRootDependencies.join(", "))} ${plural ? "are native dependencies" : "is a native dependency"} and should be installed inside of the "./release/app" folder.
First, uninstall the packages from "./package.json":
${chalk.whiteBright.bgGreen.bold("npm uninstall your-package")}
${chalk.bold('Then, instead of installing the package to the root "./package.json":')}
${chalk.whiteBright.bgRed.bold("npm install your-package")}
${chalk.bold('Install the package to "./release/app/package.json"')}
${chalk.whiteBright.bgGreen.bold("cd ./release/app && npm install your-package")}
Read more about native dependencies at:
${chalk.bold("https://electron-react-boilerplate.js.org/docs/adding-dependencies/#module-structure")}
`);
process.exit(1);
}
} catch (e) {
console.log("Native dependencies could not be checked");
}
} catch (e) {
console.log('Native dependencies could not be checked');
}
}
+8 -12
View File
@@ -1,16 +1,12 @@
import chalk from 'chalk';
import chalk from "chalk";
export default function checkNodeEnv(expectedEnv) {
if (!expectedEnv) {
throw new Error('"expectedEnv" not set');
}
if (!expectedEnv) {
throw new Error('"expectedEnv" not set');
}
if (process.env.NODE_ENV !== expectedEnv) {
console.log(
chalk.whiteBright.bgRed.bold(
`"process.env.NODE_ENV" must be "${expectedEnv}" to use this webpack config`
)
);
process.exit(2);
}
if (process.env.NODE_ENV !== expectedEnv) {
console.log(chalk.whiteBright.bgRed.bold(`"process.env.NODE_ENV" must be "${expectedEnv}" to use this webpack config`));
process.exit(2);
}
}
+8 -12
View File
@@ -1,16 +1,12 @@
import chalk from 'chalk';
import detectPort from 'detect-port';
import chalk from "chalk";
import detectPort from "detect-port";
const port = process.env.PORT || '1212';
const port = process.env.PORT || "1212";
detectPort(port, (err, availablePort) => {
if (port !== String(availablePort)) {
throw new Error(
chalk.whiteBright.bgRed.bold(
`Port "${port}" on "localhost" is already in use. Please use another port. ex: PORT=4343 npm start`
)
);
} else {
process.exit(0);
}
if (port !== String(availablePort)) {
throw new Error(chalk.whiteBright.bgRed.bold(`Port "${port}" on "localhost" is already in use. Please use another port. ex: PORT=4343 npm start`));
} else {
process.exit(0);
}
});
+11 -11
View File
@@ -1,17 +1,17 @@
import rimraf from 'rimraf';
import process from 'process';
import webpackPaths from '../configs/webpack.paths';
import rimraf from "rimraf";
import process from "process";
import webpackPaths from "../configs/webpack.paths";
const args = process.argv.slice(2);
const commandMap = {
dist: webpackPaths.distPath,
release: webpackPaths.releasePath,
dll: webpackPaths.dllPath,
dist: webpackPaths.distPath,
release: webpackPaths.releasePath,
dll: webpackPaths.dllPath,
};
args.forEach((x) => {
const pathToRemove = commandMap[x];
if (pathToRemove !== undefined) {
rimraf.sync(pathToRemove);
}
args.forEach(x => {
const pathToRemove = commandMap[x];
if (pathToRemove !== undefined) {
rimraf.sync(pathToRemove);
}
});
+5 -5
View File
@@ -1,8 +1,8 @@
import path from 'path';
import rimraf from 'rimraf';
import webpackPaths from '../configs/webpack.paths';
import path from "path";
import rimraf from "rimraf";
import webpackPaths from "../configs/webpack.paths";
export default function deleteSourceMaps() {
rimraf.sync(path.join(webpackPaths.distMainPath, '*.js.map'));
rimraf.sync(path.join(webpackPaths.distRendererPath, '*.js.map'));
rimraf.sync(path.join(webpackPaths.distMainPath, "*.js.map"));
rimraf.sync(path.join(webpackPaths.distRendererPath, "*.js.map"));
}
+11 -18
View File
@@ -1,20 +1,13 @@
import { execSync } from 'child_process';
import fs from 'fs';
import { dependencies } from '../../release/app/package.json';
import webpackPaths from '../configs/webpack.paths';
import { execSync } from "child_process";
import fs from "fs";
import { dependencies } from "../../release/app/package.json";
import webpackPaths from "../configs/webpack.paths";
if (
Object.keys(dependencies || {}).length > 0 &&
fs.existsSync(webpackPaths.appNodeModulesPath)
) {
const electronRebuildCmd =
'../../node_modules/.bin/electron-rebuild --force --types prod,dev,optional --module-dir .';
const cmd =
process.platform === 'win32'
? electronRebuildCmd.replace(/\//g, '\\')
: electronRebuildCmd;
execSync(cmd, {
cwd: webpackPaths.appPath,
stdio: 'inherit',
});
if (Object.keys(dependencies || {}).length > 0 && fs.existsSync(webpackPaths.appNodeModulesPath)) {
const electronRebuildCmd = "../../node_modules/.bin/electron-rebuild --force --types prod,dev,optional --module-dir .";
const cmd = process.platform === "win32" ? electronRebuildCmd.replace(/\//g, "\\") : electronRebuildCmd;
execSync(cmd, {
cwd: webpackPaths.appPath,
stdio: "inherit",
});
}
+3 -3
View File
@@ -1,9 +1,9 @@
import fs from 'fs';
import webpackPaths from '../configs/webpack.paths';
import fs from "fs";
import webpackPaths from "../configs/webpack.paths";
const { srcNodeModulesPath } = webpackPaths;
const { appNodeModulesPath } = webpackPaths;
if (!fs.existsSync(srcNodeModulesPath) && fs.existsSync(appNodeModulesPath)) {
fs.symlinkSync(appNodeModulesPath, srcNodeModulesPath, 'junction');
fs.symlinkSync(appNodeModulesPath, srcNodeModulesPath, "junction");
}
+21 -23
View File
@@ -1,30 +1,28 @@
const { notarize } = require('electron-notarize');
const { build } = require('../../package.json');
const { notarize } = require("electron-notarize");
const { build } = require("../../package.json");
exports.default = async function notarizeMacos(context) {
const { electronPlatformName, appOutDir } = context;
if (electronPlatformName !== 'darwin') {
return;
}
const { electronPlatformName, appOutDir } = context;
if (electronPlatformName !== "darwin") {
return;
}
if (process.env.CI !== 'true') {
console.warn('Skipping notarizing step. Packaging is not running in CI');
return;
}
if (process.env.CI !== "true") {
console.warn("Skipping notarizing step. Packaging is not running in CI");
return;
}
if (!('APPLE_ID' in process.env && 'APPLE_ID_PASS' in process.env)) {
console.warn(
'Skipping notarizing step. APPLE_ID and APPLE_ID_PASS env variables must be set'
);
return;
}
if (!("APPLE_ID" in process.env && "APPLE_ID_PASS" in process.env)) {
console.warn("Skipping notarizing step. APPLE_ID and APPLE_ID_PASS env variables must be set");
return;
}
const appName = context.packager.appInfo.productFilename;
const appName = context.packager.appInfo.productFilename;
await notarize({
appBundleId: build.appId,
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASS,
});
await notarize({
appBundleId: build.appId,
appPath: `${appOutDir}/${appName}.app`,
appleId: process.env.APPLE_ID,
appleIdPassword: process.env.APPLE_ID_PASS,
});
};
+67 -51
View File
@@ -1,55 +1,71 @@
module.exports = {
extends: 'erb',
rules: {
// A temporary hack related to IDE not resolving correct package.json
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'error',
// Since React 17 and typescript 4.1 you can safely disable the rule
'react/react-in-jsx-scope': 'off',
'prettier/prettier': 0,
"global-require": 0,
"import/prefer-default-export": "off",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "off",
'@typescript-eslint/lines-between-class-members': "off",
"class-methods-use-this": "off",
"promise/catch-or-return": "off",
"promise/always-return": "off",
"import/order": "off",
"react/destructuring-assignment": "off",
"promise/no-nesting": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-use-before-define": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/require-default-props": "off",
"consistent-return": "off",
"no-underscore-dangle": "off",
"no-restricted-syntax": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-unused-expressions": "off",
"no-param-reassign": "off",
"no-useless-escape": "off"
},
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
project: './tsconfig.json',
tsconfigRootDir: __dirname,
createDefaultProgram: true,
},
settings: {
'import/resolver': {
// See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below
node: {},
webpack: {
config: require.resolve('./.erb/configs/webpack.config.eslint.ts'),
},
typescript: {},
extends: "erb",
rules: {
// A temporary hack related to IDE not resolving correct package.json
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "error",
// Since React 17 and typescript 4.1 you can safely disable the rule
"react/react-in-jsx-scope": "off",
"prettier/prettier": 0,
"global-require": 0,
"import/prefer-default-export": "off",
"no-empty-function": "off",
"no-await-in-loop": "off",
"no-continue": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/lines-between-class-members": "off",
"class-methods-use-this": "off",
"promise/catch-or-return": "off",
"promise/always-return": "off",
"import/order": "off",
"react/destructuring-assignment": "off",
"promise/no-nesting": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-use-before-define": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/require-default-props": "off",
"consistent-return": "off",
"no-underscore-dangle": "off",
"no-restricted-syntax": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-unused-expressions": "off",
"no-param-reassign": "off",
"no-useless-escape": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"no-async-promise-executor": "off",
"new-cap": "off",
"no-new": "off",
"no-plusplus": "off",
"react/jsx-props-no-spreading": "off",
"jsx-a11y/iframe-has-title": "off",
"import/no-dynamic-require": "off",
radix: "off",
"jsx-a11y/alt-text": "off",
"react/prop-types": "off",
"import/no-cycle": "off",
"prefer-promise-reject-errors": "off",
"react/jsx-no-target-blank": "off"
},
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
createDefaultProgram: true,
},
settings: {
"import/resolver": {
// See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below
node: {},
webpack: {
config: require.resolve("./.erb/configs/webpack.config.eslint.ts"),
},
typescript: {},
},
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"],
},
},
},
};
@@ -0,0 +1,35 @@
---
name: "[BUG] Bug report"
about: Create a report to help us improve
title: "[BUG] : "
labels: bug
assignees: Zagrios
---
## Bug Description
<!-- A clear and concise description of what the bug is. -->
## Reproduction Steps
<!-- Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
-->
## Expected Behavior
<!-- A clear and concise description of what you expected to happen. -->
## Screenshots
<!-- If applicable, add screenshots to help explain your problem. -->
## System Specs
<!-- **Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Version [e.g. 22]
-->
## Additional context
<!-- Add any other context about the problem here. -->
@@ -0,0 +1,22 @@
---
name: "[FEAT.] Feature request"
about: Suggest an idea for this project
title: "[FEAT.] : "
labels: enhancement
assignees: Zagrios
---
## Problem
<!-- **Is your feature request related to a problem? Please describe.** -->
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
## Solution
<!-- **Describe the solution you'd like** -->
<!-- A clear and concise description of what you want to happen. -->
## Alternative solutions (if any)
<!-- **Describe alternatives you've considered** -->
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
## Additional context
<!-- Add any other context or screenshots about the feature request here. -->
-31
View File
@@ -1,31 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: Zagrios
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
-20
View File
@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[AME]"
labels: enhancement
assignees: Zagrios
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+24
View File
@@ -0,0 +1,24 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Linting
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "npm"
- run: npm ci
- run: npm run lint
+31
View File
@@ -0,0 +1,31 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm test
# Currently typescript, eslint, and prettier are unhappy
continue-on-error: true
+1
View File
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
+2
View File
@@ -0,0 +1,2 @@
**/dist
coverage
+1 -1
View File
@@ -1,3 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "EditorConfig.EditorConfig"]
"recommendations": ["dbaeumer.vscode-eslint", "EditorConfig.EditorConfig"]
}
+26 -28
View File
@@ -1,30 +1,28 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Electron: Main",
"type": "node",
"request": "launch",
"protocol": "inspector",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run start:main --inspect=5858 --remote-debugging-port=9223"
],
"preLaunchTask": "Start Webpack Dev"
},
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 15000
}
],
"compounds": [
{
"name": "Electron: All",
"configurations": ["Electron: Main", "Electron: Renderer"]
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Electron: Main",
"type": "node",
"request": "launch",
"protocol": "inspector",
"runtimeExecutable": "npm",
"runtimeArgs": ["run start:main --inspect=5858 --remote-debugging-port=9223"],
"preLaunchTask": "Start Webpack Dev"
},
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 15000
}
],
"compounds": [
{
"name": "Electron: All",
"configurations": ["Electron: Main", "Electron: Renderer"]
}
]
}
+22 -28
View File
@@ -1,33 +1,27 @@
{
"files.associations": {
".eslintrc": "jsonc",
".prettierrc": "jsonc",
".eslintignore": "ignore"
},
"files.associations": {
".eslintrc": "jsonc",
".prettierrc": "jsonc",
".eslintignore": "ignore"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"typescriptreact"
],
"eslint.validate": ["javascript", "javascriptreact", "html", "typescriptreact"],
"javascript.validate.enable": false,
"javascript.format.enable": false,
"typescript.format.enable": false,
"javascript.validate.enable": false,
"javascript.format.enable": false,
"typescript.format.enable": false,
"search.exclude": {
".git": true,
".eslintcache": true,
".erb/dll": true,
"release/{build,app/dist}": true,
"node_modules": true,
"npm-debug.log.*": true,
"test/**/__snapshots__": true,
"package-lock.json": true,
"*.{css,sass,scss}.d.ts": true
},
"editor.detectIndentation": false,
"editor.tabSize": 4
"search.exclude": {
".git": true,
".eslintcache": true,
".erb/dll": true,
"release/{build,app/dist}": true,
"node_modules": true,
"npm-debug.log.*": true,
"test/**/__snapshots__": true,
"package-lock.json": true,
"*.{css,sass,scss}.d.ts": true
},
"editor.detectIndentation": false,
"editor.tabSize": 4
}
+22 -22
View File
@@ -1,25 +1,25 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"label": "Start Webpack Dev",
"script": "start:renderer",
"options": {
"cwd": "${workspaceFolder}"
},
"isBackground": true,
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "____________"
},
"background": {
"activeOnStart": true,
"beginsPattern": "Compiling\\.\\.\\.$",
"endsPattern": "(Compiled successfully|Failed to compile)\\.$"
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"label": "Start Webpack Dev",
"script": "start:renderer",
"options": {
"cwd": "${workspaceFolder}"
},
"isBackground": true,
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "____________"
},
"background": {
"activeOnStart": true,
"beginsPattern": "Compiling\\.\\.\\.$",
"endsPattern": "(Compiled successfully|Failed to compile)\\.$"
}
}
}
}
}
]
]
}
+17 -1
View File
@@ -1,3 +1,19 @@
## [0.2.0](https://github.com/Zagrios/bs-manager/releases/tag/v0.2.0) (October 23, 2022)
### Features
- Mods management fully implementd [5c47897](https://github.com/Zagrios/bs-manager/commit/5c478979e96b14dd54a3889e551c163ece701b4a)
- Add close button in settings page #5
- Add GitHub and contribution actions in settings page #3
### Fixes
- Lunch Beat Saber multiple times #1
- Placeholders and some texts not with light theme #6
- Wrong background color when version is downloading #7
- Add missing translations [5817260](https://github.com/Zagrios/bs-manager/commit/58172606f3f4731c90c9aa838fb89ac95458e032)
- Error when loading downloaded versions when Steam is not installed [6e07adb](https://github.com/Zagrios/bs-manager/commit/6e07adb990f78073dd68c2b9cf6209562bb4bf2b)
## [0.1.0](https://github.com/Zagrios/bs-manager/releases/tag/v0.1.0) (September 19, 2022)
* Initial public release
- Initial public release
+131
View File
@@ -0,0 +1,131 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the overall
community
Examples of unacceptable behavior include:
- The use of sexualized language or imagery, and sexual attention or advances of
any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address,
without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at contact@bsmanager.io.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of
actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the
community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][mozilla coc].
For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][faq]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].
[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[mozilla coc]: https://github.com/mozilla/diversity
[faq]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
+32
View File
@@ -0,0 +1,32 @@
## Contributing
[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.
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.
## 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.
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.
## Submitting a pull request
1. [Fork][fork] and clone the repository.
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:
- 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.
Work in Progress pull requests are also welcome to get feedback early on, or if there is something blocked you.
+584 -249
View File
@@ -1,281 +1,622 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Version 3, 29 June 2007
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
TERMS AND CONDITIONS
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
0. Definitions.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
"This License" refers to version 3 of the GNU General Public License.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
A "covered work" means either the unmodified Program or a work based
on the Program.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
1. Source Code.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
The Corresponding Source for a work in source code form is that
same work.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
2. Basic Permissions.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
13. Use with the GNU Affero General Public License.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
14. Revised Versions of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
NO WARRANTY
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
15. Disclaimer of Warranty.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
@@ -287,15 +628,15 @@ free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -303,37 +644,31 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
+242 -68
View File
@@ -1,76 +1,250 @@
<p align="center">
<a href="https://github.com/RiskiVR/BSLegacyLauncher">
<img src="https://raw.githubusercontent.com/Zagrios/bs-manager/master/resources/readme/icon.svg" alt="logo" width="250px"/>
</a>
<h3 align="center">BSManager</h3>
<p align="center">Simple and fancy tools that alow you to download, launch and manage BeatSaber versions, Maps and Mods easily and quickly.</p>
</p>
<a name="readme-top"></a>
<p align="center">
<img src="https://github.com/Zagrios/bs-manager/blob/master/resources/readme/beat-running.png?raw=true" width="130"/>
</p>
<!-- PROJECT SHIELDS -->
<!--
*** I'm using markdown "reference style" links for readability.
*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).
*** See the bottom of this document for the declaration of the reference variables
*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.
*** https://www.markdownguide.org/basic-syntax/#reference-style-links
-->
<details open="open">
<summary>
<h2>Table of Contents</h2>
</summary>
<ol>
<li>
<a href="#about-the-project">About The Project</a>
<ul><li><a href="#built-with">Built With</a></li></ul>
</li>
<li><a href="#how-to-use">How To Use</a></li>
<li><a href="#having-problems">Having problems?</a></li>
<li><a href="#acknowledgements">Acknowledgements</a></li>
</ol>
</details>
<!-- TITLE -->
<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>
</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>
[<a href="#readme-bot">Go to bottom</a>]
</div>
---
<!-- TABLE OF CONTENTS -->
<b>Table of Contents</b>
<h2 id="about-the-project">About The Project</h2>
<p>
Have you ever wanted to switch between multiple BeatSaber version? To have a specific version for you and your friends, or for personal use and Streaming use? Have you ever wanted to manage easily <b>Maps</b> and <b>Mods</b> between versions? All of that in one place? <b>Then this program is made for you!</b>
<br/><br/>
BSManager is designed to download any BeatSaber version from Steam's depots, and launch it within the same program!<br>
- You can install as many versions as you want, customize them to quickly differentiate them, clone them to separate the additional contents of the same version!<br>
- You can clone and launch your Steam version from the program!<br/><br/>
<b>In the near future</b><br/>
- You can Create a master Maps folder and link it across all versions!<br/>
- You can download Maps with "OneClick"!<br/>
- You can download Maps from BSManager!<br/>
- You can download and manage Mods for each versions!<br/>
- And even more!
</p>
<h3 id="built-with">Built With</h3>
<ul>
<li>
<a href="https://github.com/electron-react-boilerplate/electron-react-boilerplate">Electron React Boilerplate</a>
</li>
<li>
<a href="https://github.com/SteamRE/DepotDownloader">DepotDownloader</a>
</li>
<li>
<a href="#about-the-project">About The Project</a>
<ul>
<li><a href="#built-with">Built With</a></li>
</ul>
</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>
<h2 id="how-to-use">How To Use</h2>
<ul>
<li>
Download the latest release from <a href="https://github.com/Zagrios/bs-manager/releases">Releases</a>.
</li>
<li>Execute the installer and BSManager 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 launch options, launch the version, and more from the dropdown menu!</li>
</ul>
<!-- ABOUT THE PROJECT -->
<div align="center">
<h1> </h1>
<h1><b>About The Project</b></h1>
</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>
<div align="center">
<img src="resources/readme/preview.png" alt="preview">
</div>
<br>
<h2 id="having-problems">Having problems?</h2>
<p>
See the <a href="https://github.com/Zagrios/bs-manager/issues">open issues</a> for a list of known issues, from there you can create a new issue for the problem you have!
Otherwise you can add on to existing issues if one matches what you're encountering.
</p>
<h2 id="acknowledgements">Acknowledgement</h2>
<ul>
<li><a href="https://github.com/Zagrios">Zagrios</a> - Founder, Lead Developer & Project Lead</li>
<li><a href="https://github.com/Iluhadesu">Iluhadesu</a> - Custom DepotDownloader Developer</li>
<li><a href="https://github.com/GaetanGrd">Gaëtan Gerard</a> - Main Alpha Tester</li>
</ul>
<p align="center">
<img src="https://github.com/Zagrios/bs-manager/blob/master/resources/readme/beat-conflict.png?raw=true" width="130"/>
</p>
<!--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>
</div>
<br>
<!--USAGE-->
<div align="center">
<h1> </h1>
<h1><b>Usage</b></h1>
</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>
</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
</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>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213296794-74a1e20b-12dc-44ec-a67f-e25d7010bd3d.mov
</div>
<!--INSTALL MODS-->
<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>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213296816-bdaafc90-da76-4835-8d83-9ac6a4e1c549.mov
</div>
<!--INSTALL MAPS-->
<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>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213296838-f775fe83-866d-4764-a7d0-648dbb8ec983.mov
</div>
<!--ONE CLICK-->
<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>
</div>
<br>
<div align="center">
https://user-images.githubusercontent.com/40648115/213435051-7feb815d-f32b-4135-b095-ef49726a836c.mov
</div>
<!--HAVING PROBLEMS?-->
<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>
</div>
<br><br><br>
<!-- Credits -->
<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>
</div>
<!-- Contributing -->
<br>
<!--CONTRIBUTING-->
<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>
</div>
<br>
<div align="right">
[<a href="#readme-top">Return to top</a>]
</div>
<h1> </h1>
<a name="readme-bot"></a>
+9
View File
@@ -0,0 +1,9 @@
# Reporting Security Issues
If you discover a security issue in BSManager, please report it by sending an
email to [contact@bsmanager.io](mailto:contact@bsmanager.io).
This will allow us to assess the risk, and make a fix available before we add a
bug report to the GitHub repository.
Thanks for helping make BSManager safe for everyone.
+27 -27
View File
@@ -1,46 +1,46 @@
type Styles = Record<string, string>;
declare module '*.svg' {
const content: string;
export default content;
declare module "*.svg" {
const content: string;
export default content;
}
declare module '*.png' {
const content: string;
export default content;
declare module "*.png" {
const content: string;
export default content;
}
declare module '*.webp' {
const content: string;
export default content;
declare module "*.webp" {
const content: string;
export default content;
}
declare module '*.mp4' {
const content: string;
export default content;
declare module "*.mp4" {
const content: string;
export default content;
}
declare module '*.jpg' {
const content: string;
export default content;
declare module "*.jpg" {
const content: string;
export default content;
}
declare module '*.gif' {
const content: string;
export default content;
declare module "*.gif" {
const content: string;
export default content;
}
declare module '*.scss' {
const content: Styles;
export default content;
declare module "*.scss" {
const content: Styles;
export default content;
}
declare module '*.sass' {
const content: Styles;
export default content;
declare module "*.sass" {
const content: Styles;
export default content;
}
declare module '*.css' {
const content: Styles;
export default content;
declare module "*.css" {
const content: Styles;
export default content;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

@@ -0,0 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" version="1.1" viewBox="0 0 717.2 717.2" xml:space="preserve">
<style type="text/css">
.st0{fill:url(#SVGID_1_);}
</style>
<linearGradient id="SVGID_1_" x1="61.604" x2="647.04" y1="373.65" y2="373.06" gradientTransform="matrix(1 .0010142 -.0010142 1 4.6349 -15.227)" gradientUnits="userSpaceOnUse">
<stop style="stop-color:#DC2DE2" offset=".010541"/>
<stop style="stop-color:#972DE2" offset=".3269"/>
<stop style="stop-color:#8F28E2" offset=".4648"/>
<stop style="stop-color:#7A1BE1" offset=".6756"/>
<stop style="stop-color:#5706E0" offset=".9318"/>
<stop style="stop-color:#4D00E0" offset="1"/>
</linearGradient>
<path class="st0" d="m565.85 141.83c-19.8 11.3-37 22.3-55.2 31.1-14.1 6.8-28.8 4.5-42.4-3.6-29.4-17.4-58.9-34.5-88.2-52-12.9-7.7-25.7-9.5-39-1.9-50.3 28.9-100.6 58-150.8 87.1-8.8 5.1-9.2 10 0 15.3 52 30.2 103.9 60.4 155.7 91 10.9 6.4 20.4 4.2 30.2-1.5 68.7-39.9 137.4-79.8 206.1-119.7 5.3-3.1 10.5-6.2 16-9 19.3-9.8 25.3-10.1 36.2 8.3 8.5 14.2 15.2 31.8 15.7 48.1 1.8 64.6 1.1 129.3 1 193.9 0 22.4-0.1 44.8-1.5 67.1-1 20.4-12.2 38.9-29.8 49.2-55.9 33.5-112.6 65.7-169 98.3-2.8 0.9-5.8 1.6-8.7 2 1-24.6 0.4-47.9 4.3-70.5 1.6-9.2 12-18.8 20.8-24.3 31.5-19.8 63.8-38.3 96.3-56.3 11.3-6.3 15-13.9 14.9-26.8-0.7-58-0.2-116-0.2-174 0-12.7-5.1-16.3-16.2-10-52.1 29.9-104.2 59.9-155.7 90.9-5.5 3.3-9.9 13.4-9.9 20.3-0.6 65.7 0.2 131.4 0.4 197.2 0.1 22.9-0.1 45.8-0.4 68.7-0.1 11.5-4.9 19.4-17 21.9-20.7 4.3-40.3 3-59-8-67.7-39.5-134.6-79.5-202.9-117.2-35.7-19.7-52.4-47.2-51.7-87.8 0.9-58 0.4-116.1 0.5-174.2-0.2-1.9 0.5-3.8 1.4-10.2 25.3 21 61.8 24.5 70.5 60.3 3.8 15.4 1.4 32.4 1.6 48.7 0.3 26 0 52 1.3 77.9 0.3 6.1 4 14.8 8.8 17.7 52.9 31.5 106.6 62.1 159.9 92.9 3.5 1.3 7.1 2.3 10.8 2.9 0.6-17.9 1.4-34.4 1.5-50.9 0.1-47.4 0.4-94.7-0.7-142.1-1-7.8-5.3-14.8-11.8-19.1-61.5-36.7-123.7-72.6-185.8-108.7-16.2-9.5-33-18.3-48.5-28.9-5-4.2-7.6-10.5-7.2-17 3.7-21.4 16.8-40 35.6-50.8 71.6-41.3 143-82.6 214.4-123.9 27.1-15.7 54.2-16 81.3-0.4 52.5 30.4 104.9 60.9 157.3 91.4 2.1 1.2 4.1 2.9 9.1 6.6z" style="fill:url(#SVGID_1_)"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

+80
View File
@@ -493,5 +493,85 @@
"ReleaseImg": "https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/clans//32055887/52cbd15b5e226f509e051565f6e4935eb0e44e2c.png",
"ReleaseDate": "1665673269",
"year": "2022"
},
{
"BSVersion": "1.26.0",
"BSManifest": "3634450655207470002",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3414318646334948892",
"ReleaseImg": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans//32055887/d18ad9d7f45a5cc2a467d75f0bdf9d32b9141b14.png",
"ReleaseDate": "1667923560",
"year": "2022"
},
{
"BSVersion": "1.27.0",
"BSManifest": "3485516174915301618",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3629368753553708497",
"ReleaseImg": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans//32055887/d9ed8771498be7fc83721aaaaa5b15a08fbeadb1.png",
"ReleaseDate": "1670943003",
"year": "2022"
},
{
"BSVersion": "1.28.0",
"BSManifest": "7463243155526905423",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3666530358620442392",
"ReleaseImg": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans//32055887/8f978bbf292810004bca12523e76be8a7eec8c4e.png",
"ReleaseDate": "1677593822",
"year": "2023"
},
{
"BSVersion": "1.29.0",
"BSManifest": "3341527958186345367",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/6169409105082976092",
"ReleaseImg": "https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/clans//32055887/255fd49cd96042b97089f754609be291293e783f.png",
"ReleaseDate": "1680188760",
"year": "2023"
},
{
"BSVersion": "1.29.1",
"BSManifest": "886973241045584398",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/6169409105101272202",
"ReleaseImg": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans/32055887/c328e407367e9914abaf92f609501877ee5abb63.png",
"ReleaseDate": "1680623885",
"year": "2023"
},
{
"BSVersion": "1.29.4",
"BSManifest": "6291266771922375922",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3708194993422325380",
"ReleaseImg": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans/32055887/9c3d476c03e4a2ac72ca5df016b7c94d242b41cb.png",
"ReleaseDate": "1683644991",
"year": "2023"
},
{
"BSVersion": "1.30.0",
"BSManifest": "7304715857122259127",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3725085394628677636",
"ReleaseImg": "https://cdn.akamai.steamstatic.com/steamcommunity/public/images/clans/32055887/cd56688ad716b544af14a61b2fbace9088478887.png",
"ReleaseDate": "1684965390",
"year": "2023"
},
{
"BSVersion": "1.30.2",
"BSManifest": "8042804988990059618",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3655280868312846230",
"ReleaseImg": "https://clan.akamai.steamstatic.com/images/32055887/6d78e092c54f411b36f2c0577d62eb1b25f91aa3.png",
"ReleaseDate": "1686668364",
"year": "2023"
},
{
"BSVersion": "1.31.0",
"BSManifest": "676582354127623831",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3674423070127121445",
"ReleaseImg": "https://clan.cloudflare.steamstatic.com/images/32055887/28993aecc56a75c52295fa07620f58cb0e4b09e8.png",
"ReleaseDate": "1688050646",
"year": "2023"
},
{
"BSVersion": "1.31.1",
"BSManifest": "5239818041644201119",
"ReleaseURL": "https://steamcommunity.com/games/620980/announcements/detail/3664295677895178184",
"ReleaseImg": "https://clan.akamai.steamstatic.com/images/32055887/58621b3cb8bf42fcfbf3b97fe47aa91b290eea04.png",
"ReleaseDate": "1693824747",
"year": "2023"
}
]
+20 -2
View File
@@ -1,3 +1,21 @@
[
{"username": "Shidorien"}
]
{"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"}
]
+913
View File
@@ -0,0 +1,913 @@
{
"misc": {
"download": "Laden",
"add": "Hinzufügen",
"verify": "Prüfen",
"launch": "Starten",
"mods": "Mods",
"maps": "Maps",
"playlists": "Playlisten",
"models": "Modelle",
"cancel": "Abbruch",
"delete": "Löschen",
"accept": "Akzeptieren",
"refuse": "Ablehnen",
"apply": "Übernehmen",
"copy": "Kopieren",
"copied": "Kopiert!"
},
"nav-bar": {
"add-version": "Version Hinzufügen",
"settings": "Einstellungen",
"shared": {
"text": "Geteilt",
"tooltip": "Geteilte Inhalte"
}
},
"pages": {
"shared-maps": {
"title": "Geteilte Maps"
},
"version-viewer": {
"launch-mods": {
"oculus": "Oculus Modus",
"oculus-description": "Wenn du Beat Saber über Steam benutzt, es ermöglicht dir Oculus's VR-Composer zu nutzen ohne SteamVR, um bessere Leistung zu erhalten. Dies wird nicht benötigt für Oculus Headsets",
"desktop": "FPFC Modus",
"desktop-description": "Auf diese Weise kannst du WASD und die Maus verwenden, um im Spiel durch das Menü zu navigieren. Dies erleichtert das Testen erheblich, da Du dein Headset nicht aufsetzen musst!",
"debug": "Debug Modus",
"debug-description": "Aktiviert das Ausgabeprotokollfenster für IPA. Dies zeigt die Debug-Konsole, die Mods verwenden.",
"advanced-launch": {
"button": "Erweiterter Start",
"placeholder": "Weitere Argumente Bspw: --revert; --nowait"
}
},
"maps": {
"title": "Geteilte Maps",
"search-bar": {
"search-placeholder": "Suche eine Map",
"filters-btn": "Filter",
"dropdown": {
"export-maps": "Maps Exportieren",
"delete-maps": "Maps Löschen"
}
},
"tabs": {
"maps": {
"actions": {
"add-maps": {
"text": "Hinzufügen"
},
"link-maps": {
"tooltips": {
"link": "Maps Verknüpfen",
"unlink": "Maps Verknüpfung aufheben"
}
}
},
"empty-maps": {
"text": "Keine Maps",
"button": "Maps Herunterladen"
}
}
}
},
"mods": {
"loading-mods": "Lade Mods...",
"no-internet": "Kein Internet",
"mods-not-available": "Für diese Version von Beat Saber sind noch keine Mods verfügbar",
"buttons": {
"more-infos": "Mehr Infos",
"install-or-update": "Installieren oder aktualisieren"
},
"mods-grid": {
"header-bar": {
"name": "Name",
"installed": "Installiert",
"latest": "Neueste",
"description": "Beschreibung",
"dropdown": {
"uninstall-all": "Alle deinstallieren"
}
}
}
},
"dropdown": {
"open-folder": "Ordner Öffnen",
"verify-files": "Daten Prüfen",
"clone": "Klonen",
"edit": "Bearbeiten",
"uninstall": "Entfernen",
"create-shortcut": "Verknüpfung erstellen",
"shared-folders": "Geteilte Ordner"
}
},
"available-versions": {
"title": "Wähle eine Version",
"steam-release": "Versions Seite",
"dropdown": {
"refresh": "Liste aktualisieren",
"import-version": "Importiere eine Version"
}
},
"settings": {
"steam": {
"title": "Steam",
"description": "Wenn Du dich von Steam abmeldest, musst Du dich erneut anmelden, um eine neue Version von Beat Saber herunterzuladen.",
"logout": "Abmelden"
},
"appearance": {
"title": "Aussehen",
"description": "Wähle Zwei von den Hauptfarben von BSManager",
"reset": "Zurücksetzen",
"sub-title": "Design",
"themes": {
"dark": "Dunkel",
"light": "Hell",
"os": "Mit Computer Synchronisieren"
}
},
"installation-folder": {
"title": "Installations Ordner",
"description": "Ändern Sie den Standardordner für Beat Saber-Versionen und andere kommende Funktionen.",
"choose-folder": "Ordner Wählen"
},
"additional-content": {
"title": "Zusätzlicher Inhalt",
"description": "Mit zusätzlichen Inhalten kannst du BeatSaber anpassen!",
"deep-links": {
"sub-title": "OneClick-Installationen"
}
},
"language": {
"title": "Sprache",
"description": "Wähle eine Sprache.",
"languages": {
"en-EN": "English, UK",
"en-US": "English, US",
"fr-FR": "Français",
"es-ES": "Español",
"de-DE": "Deutsch",
"ru-RU": "Русский",
"translated": {
"en-EN": "Englisch, Vereinigtes Königreich",
"en-US": "Englisch, USA",
"fr-FR": "Französisch",
"es-ES": "Spanisch",
"de-DE": "Deutsch",
"ru-RU": "Russisch"
}
}
},
"patreon": {
"title": "BSManager Unterstützen 💖",
"description": "Unterstütze das Projekt und helfe uns, BSManager kontinuierlich zu verbessern.",
"buttons": {
"support": "BSManager Unterstützen 🥰",
"supporters": "Unterstützer 👀"
},
"view": {
"no-supporters": "Noch keine Unterstützer",
"sponsors": "Sponsoren",
"supporters": "Unterstützer"
}
},
"discord": {
"description": "Trete der BSManager-Community bei, indem Du uns in unseren sozialen Medien folgst!"
},
"contribution": {
"description": "Schlage neue Funktionen vor, oder melde einen Fehler und BSManager zu verbessern!",
"buttons": {
"request-features": "Funktion Vorschlagen",
"report-bug": "Fehler melden",
"open-logs": "Protokolle öffnen"
}
}
}
},
"notifications": {
"types": {
"error": "🚨 Fehler",
"warning": "⚠️ Warnung",
"success": "🎉 Erfolg"
},
"common": {
"msg": {
"error-occurred": "Ein Fehler ist aufgetreten"
}
},
"shared": {
"errors": {
"titles": {
"operation-running": "Vorgang läuft",
"no-internet": "Kein Internet"
},
"msg": {
"operation-running": "Warte auf das Ende des Aktuellen Vorgangs und versuche es erneut",
"no-internet": "Überprüfe deine Verbindung und versuche es erneut."
}
}
},
"bs-download": {
"success": {
"titles": {
"download-success": "Erfolgreich Heruntergeladen",
"verification-finished": "Verifikation Erfolgreich"
}
},
"warnings": {
"msg": {
"ManifestChecksum": "Die zuvor heruntergeladene Manifest stimmt nicht mit dem neuen überein 🤔",
"ConnectionTimeout": "Deine Internetverbindung scheint instabil zu sein 🥶",
"ConnectionLost": "Die Verbindung wurde unterbrochen, versuche es erneut...",
"ConnectionError": "Kann keine Verbindung zu Steam herstellen, versuche es erneut...",
"Unknown": "Etwas Seltsames ist passiert 🤔 Deine Verbindung ist wahrscheinlich instabil."
}
},
"errors": {
"titles": {
"dotnet-required": ".NET 6 Benötigt"
},
"msg": {
"401": "Steam scheint uns BeatSaber nicht herunterladen zu lassen 😢",
"404": "Steam-Server können nicht kontaktiert werden.",
"Password": "Passwort ist ungültig.",
"InvalidCredentials": "Ungültige Anmeldedaten, nicht genehmigte Verbindung oder zu viele Anmeldeversuche.",
"NoManifest": "Es wurde keine Manifest gefunden",
"DirectoryCreate": "Die erforderlichen Ordner können nicht installiert werden.",
"NotAvailableApp": "Versuchst du, Beat Saber herunterzuladen, wenn Du es nicht hast? 🤣",
"DepotNotFound": "BeatSaber kann nicht heruntergeladen werden 😥 versuche es später noch einmal 😕",
"NotCompleted": "Der Download konnte nicht beendet werden ¯\\_(ツ)_/¯",
"InvalidManifest": "BeatSaber kann nicht heruntergeladen werden 😥 versuche es später noch einmal 😕",
"NoValidKey": "BeatSaber kann nicht heruntergeladen werden 😥 versuche es später noch einmal 😕",
"NoManifestCode": "BeatSaber kann nicht heruntergeladen werden 😥 versuche es später noch einmal 😕",
"Unknown": "Ein Unbekannter Fehler ist aufgetreten ¯\\_(ツ)_/¯",
"NoServer": "Steam-Server können nicht kontaktiert werden.",
"NotAllowed": "Anscheinend darfst Du BeatSaber nicht herunterladen 🥱",
"ConnectionTimeout": "Kann keine Verbindung zu Steam herstellen 😕",
"SteamLib": "Wenn dieser Fehler auftritt, melde den Fehler auf Github mit Protokollen, bitte.",
"ConnectionError": "Kann nach 10 Versuchen keine Verbindung zu Steam herstellen 🤯",
"LicenceError": "Die Liste der Lizenzen kann nicht abgerufen werden.",
"RateLimitExceeded": "Du hast es zu oft versucht, warte eine Weile und versuche es später erneut.",
"TokenRejected": "Ihr Anmeldetoken wurde abgelehnt 😕 Bitte versuchen Sie es erneut.",
"AccessDenied": "Der Zugang zu Steam wurde verweigert.",
"dotnet-required": ".NET 6 Runtime muss installiert sein, um eine Version von BeatSaber herunterzuladen. Lade es herunter, indem Du auf die Schaltfläche unten klickst."
},
"actions": {
"download-dotnet": ".NET 6 Herunterladen"
}
}
},
"bs-import-version": {
"success": {
"start-import": {
"title": "Import im Gange 👌",
"desc": "Der Import kann je nach Konfiguration einige Minuten dauern."
},
"imported": {
"title": "Versionen Importiert 🎉"
}
},
"errors": {
"import-error": {
"desc": "Überprüfe, ob der ausgewählte Ordner eine BeatSaber-Installation ist."
}
}
},
"settings": {
"move-folder": {
"success": {
"titles": {
"transfer-started": "Übertragung läuft",
"transfer-finished": "Transfer abgeschlossen"
},
"descs": {
"transfer-started": "Die Übertragung hat begonnen und kann je nach Konfiguration mehrere Minuten dauern."
}
},
"errors": {
"titles": {
"transfer-failed": "Transfer fehlgeschlagen 😕"
},
"descs": {
"COPY_TO_SUBPATH": "Der Zielordner darf kein Unterordner des Quellordners sein.",
"restore-linked-folders": "Beim Wiederherstellen von freigegebenen Ordnern ist ein Fehler aufgetreten. Du kannst sie dennoch manuell über das Menü 'Freigegebene Ordner' auf der Versionsseite wiederherstellen."
}
}
},
"steam": {
"success": {
"titles": {
"logout": "Von Steam getrennt."
}
}
},
"additional-content": {
"deep-link": {
"select-all": "Alle Auswählen",
"activation": {
"success": {
"title": "OneClick aktiviert!",
"description": "OneClick-Installationen wurden aktiviert."
},
"error": {
"description": "OneClick-Installationen konnten nicht aktiviert werden."
}
},
"deactivation": {
"success": {
"title": "OneClick deaktiviert!",
"description": "OneClick-Installationen wurden deaktiviert."
},
"error": {
"description": "Ein Unbekannter Fehler ist aufgetreten."
}
},
"check-all-enabled": {
"title": "OneClick deaktiviert",
"description": "Eine oder mehrere OneClick-Installationen sind deaktiviert. Gehe in die Einstellungen, um sie zu aktivieren.",
"actions": {
"settings": "Einstellungen",
"not-remind": "Erinnere mich nicht"
}
}
}
}
},
"bs-launch": {
"success": {
"titles": {
"BS_LAUNCHING": "Starte...🚀",
"STEAM_LAUNCHING": "Steam startet!"
},
"msg": {
"BS_LAUNCHING": "Vergiss nicht, dich aufzuwärmen 😉",
"STEAM_LAUNCHING": "Beat Saber wird automatisch nach Steam gestartet."
}
},
"errors": {
"titles": {
"UNKNOWN_ERROR": "Start nicht möglich",
"STEAM_NOT_RUNNING": "Steam läuft nicht",
"OCULUS_NOT_RUNNING": "Oculus läuft nicht",
"BS_ALREADY_RUNNING": "BeatSaber läuft bereits",
"EXE_NOT_FINDED": "Dateien Fehlen",
"EXIT": "Abrupter Stop"
},
"msg": {
"UNKNOWN_ERROR": "Ein unbekannter Fehler ist aufgetreten.",
"STEAM_NOT_RUNNING": "Steam muss laufen, um BeatSaber zu starten.",
"OCULUS_NOT_RUNNING": "Oculus muss ausgeführt werden, um BeatSaber zu starten.",
"BS_ALREADY_RUNNING": "Schließe BeatSaber, bevor Du es erneut startest.",
"EXE_NOT_FINDED": "Einige Dateien scheinen zu fehlen, versuche die Dateien zu überprüfen.",
"EXIT": "BeatSaber stoppte abrupt, versuche die Dateien zu überprüfen."
},
"actions": {
"STEAM_NOT_RUNNING": "Starte Steam"
}
}
},
"steam": {
"steam-launching": {
"title": "Steam startet!",
"description": "Beat Saber wird automatisch nach Steam gestartet."
}
},
"custom-version": {
"errors": {
"titles": {
"CantEditSteam": "Kann nicht bearbeitet werden",
"CantRename": "Umbenennen unmöglich",
"VersionAlreadExist": "Diese Version existiert bereits",
"CantClone": "Klonen unmöglich"
},
"msg": {
"CantEditSteam": "Die Steam-Version kann nicht bearbeitet werden. Du kannst es aber klonen."
}
},
"success": {
"titles": {
"CloningFinished": "Klonen abgeschlossen 🎉"
}
}
},
"mods": {
"install-mods": {
"titles": {
"success": "Mods Installiert 🎉",
"warning": "Mods Installiert 🤔"
},
"msg": {
"success": "Alle Mods wurden installiert.",
"warning": "Eine oder mehr Mods konnten nicht installiert werden.",
"errors": {
"no-mods": "Keine Mods zum installieren.",
"cannot-install-bsipa": "BSIPA installation fehlgeschlagen 😨"
}
}
},
"uninstall-mod": {
"titles": {
"success": "Mod entfernt 🎉"
},
"msg": {
"errors": {
"no-mods": "Diese Mod kann nicht installiert werden 😑"
}
}
},
"uninstall-all-mods": {
"titles": {
"success": "Mods entfernt 🎉"
},
"msg": {
"success": "Alle Mods wurden entfernt.",
"errors": {
"no-mods": "Keine Mods sind in dieser Version installiert 😑"
}
}
}
},
"maps": {
"one-click-install": {
"success": "Map installation abegschlossen",
"error": "Ein Fehler ist aufgetreten während der installation der Map"
}
},
"playlists": {
"one-click-install": {
"success": "Playlist installation abgeschlossen",
"error": "Ein Fehler ist aufgetreten während der installation der Playlist"
}
},
"models": {
"one-click-install": {
"success": "Modell installation abgeschlossen",
"error": "Ein Fehler ist aufgetreten während der installation des Modells"
}
},
"shared-folder": {
"info": {
"userdata-backup-created": {
"title": "Sicherung erstellt",
"msg": "Das Freigeben des Ordners „UserData“ kann zu Fehlern führen. Bei Problemen trenne den Ordner, um die Sicherung wiederherzustellen"
}
}
},
"create-launch-shortcut": {
"success": {
"title": "Verknüpfung erstellt",
"msg": "Die Verknüpfung wurde auf dem Desktop erstellt."
},
"error": {
"msg": "Beim Erstellen der Verknüpfung ist ein Fehler aufgetreten."
}
}
},
"modals": {
"misc": {
"remember-my-choice": "Merke meine Wahl"
},
"guard": {
"title": "Steam Guard",
"inputs": {
"guard-code": {
"label": "Guard-Code",
"placeholder": "Gebe deinen Guard-Code ein"
}
},
"buttons": {
"submit": "Anmelden"
}
},
"steam-login": {
"title": "Steam Anmeldung",
"inputs": {
"username": {
"label": "Mit Accountnamen anmelden",
"placeholder": "Geben Sie Ihren Accountnamen ein"
},
"password": {
"label": "Passwort",
"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":{
"label": "Oder mit einem QR-Code",
"note":{
"use-the":"Anmelden Sie sich über die ",
"steam-mobile-app": "Steam-Mobile-App",
"to-connect-with-qr": " per QR-Code an."
}
},
"stay": "Angemeldet bleiben"
},
"why-credentials": "Warum sind meine Anmeldedaten notwendig?",
"need-help-to-connect": "Ich brauche Hilfe, um auf mein Konto zuzugreifen!",
"buttons": {
"submit": "Anmelden"
}
},
"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...",
"not-access-to-steam-app": "Ich habe keinen Zugang zur Steam Mobile-App"
},
"steam-credentials": {
"title": "Steam Anmeldeinformationen",
"p-1": "Die Anmeldeinformationen werden nur zum Herunterladen des Spiels verwendet, da Steam überprüfen muss, ob Du das Spiel bezahlt hast, um es herunterladen zu dürfen. Sie werden nicht gespeichert und direkt an DepotDownloader weitergegeben. Wenn Du deine Anmeldeinformationen nicht eingeben möchtest, kannst Du diesem Tutorial folgen:",
"p-2": "und klicke dann auf das Zahnradsymbol in der oberen rechten Ecke und wähle \"Version importieren\", wähle den Ordner aus, in den Beat Saber heruntergeladen wurde (Wenn Du dem obigen Tutorial folgst, solltest Du den richtigen Speicherort haben)"
},
"bs-import-version": {
"title": "Importiere eine Version",
"description": "Importiert eine Version von BeatSaber zur Verwendung mit BSManager. Der Import kopiert den ausgewählten BeatSaber-Installationsordner in den BSManager-Versionsordner.",
"buttons": {
"submit": "Importiere eine Version"
}
},
"bs-uninstall": {
"title": "Deinstallieren",
"description": "Möchtest du BeatSaber {version} wirklich deinstallieren? Du musst es erneut herunterladen, um es zu spielen.",
"buttons": {
"submit": "Deinstallieren"
}
},
"install-folder": {
"title": "Installation Ordner",
"description": "Das Ändern des Standardinstallationsordners führt dazu, dass alle installierten Daten in den neuen Ordner verschoben werden.",
"buttons": {
"submit": "Ordner Wählen"
}
},
"edit-version": {
"title": "Version ändern",
"buttons": {
"submit": "Ändern"
}
},
"clone-version": {
"title": "Version Klonen",
"description": "Durch das Klonen der Version kannst Du zusätzlichen BeatSaber-Inhalt zwischen zwei Versionen trennen.",
"inputs": {
"name": {
"label": "Name",
"placeholder": "Versions Name"
},
"color": {
"label": "Farbe"
}
},
"buttons": {
"submit": "Klonen"
}
},
"uninstall-mod": {
"title": "Entfernen",
"description": "Bist du sicher das du die Mod {mod} entfernen möchtest? Es könnte dafür sorgen, dass andere installationen nicht mehr richtig funktionieren.",
"description-bsipa": "Bist du sicher, dass du BSIPA entfernen möchtest? Dannach werden deine Mods nicht mehr funktionieren."
},
"uninstall-all-mods": {
"title": "Entferne Alle Mods",
"description": "Bist du sicher das du alle Mods von der Version {version} entfernen möchtest? Diese Aktion kann nicht rückgängig gemacht werden."
},
"maps-actions": {
"delete-maps": {
"title": {
"single": "Map Entfernen?",
"multiple": "Maps Entfernen?"
},
"desc": {
"single": "Bist du sicher das du die Map {name} entfernen willst?",
"multiple": "Bist du sicher das du alle {nb} maps entfernen willst?"
},
"info": {
"desc": {
"single": "Diese Map ist teil der geteilten Maps",
"multiple": "Diese Maps sind teil der geteilten Maps"
},
"title": {
"single": "Diese Map wird auch aus Versionen entfernt, die geteilte Maps verwenden",
"multiple": "Diese Maps werden auch aus Versionen entfernt, die geteilte Maps verwenden"
}
}
},
"link-maps": {
"title": "Maps Verknüpfen",
"desc": "Das Verknüpfen von Maps ermöglicht es, Maps zwischen allen Versionen zu teilen. Nach der Verknüpfung profitiert diese Version von den geteilten Maps",
"info": "Das Hinzufügen und Löschen von Maps wird ebenfalls geteilt",
"keep-maps": {
"label": "Maps behalten",
"title": "Maps behalten verschiebt die Maps der aktuellen Version in den geteilten Maps. Andernfalls gehen sie verloren."
},
"valid-btn": "Maps Verknüpfen"
},
"unlink-maps": {
"title": "Maps Verknüpfung aufheben",
"desc": "Bitte beachte, dass das Aufheben der Verknüpfung von Maps die Verwendung von geteilten Maps für diese Version nicht zulässt.",
"keep-maps": {
"label": "Maps behalten",
"title": "Maps behalten verschiebt die Maps der aktuellen Version in den geteilten Maps. Andernfalls gehen sie verloren."
},
"valid-btn": "Verknüpfung aufheben"
}
},
"download-maps": {
"search-btn": "Suchen",
"loading-maps": "Lade Maps...",
"no-maps-found": "Keine Maps gefunden",
"no-internet": "Kein Internet"
},
"mods-disclaimer": {
"title": "Haftungsausschluss",
"p-1": "Indem Du dich für die Verwendung von Mods entscheiden, verstehst Du Folgendes:",
"li-1": "Möglicherweise treten Probleme auf, die im Vanilla-Spiel nicht vorhanden sind. 99.9% der Fehler, Abstürze und Verzögerungen sind auf Mods zurückzuführen.",
"li-2": "Mods können durch Updates beschädigt werden und das ist normal - sei geduldig und respektvoll, wenn dies passiert, da Modder Freiwillige mit echtem Leben sind.",
"li-3": "Beat Games versuchen nicht absichtlich, Mods kaputt zu machen. Sie möchten an der Codebasis arbeiten und manchmal macht dies Mods kaputt, aber sie sind nicht darauf aus, Mods zu verbieten.",
"p-2": "Greife die Spieleentwickler nicht wegen Problemen im Zusammenhang mit Mods an und umgekehrt - Modder und Spieleentwickler sind zwei getrennte Gruppen. Sei einfach nicht gemein, okay?"
},
"shared-folders": {
"title": "Geteilte Ordner",
"description": "Verknüpfe BeatSaber-Ordner, um ihre Inhalte mit freigegebenen Ordnern in anderen Versionen zu synchronisieren. Beachte, dass auch das Löschen von Inhalten geteilt wird.",
"buttons": {
"add-folder": "Ordner Hinzufügen",
"link-folder": "Ordner Verknüpfen",
"unlink-folder": "Ordner Verknüpfung Aufheben",
"link-all": "Alle verlinken"
}
},
"create-launch-shortcut": {
"title": "Verknüpfung erstellen",
"desc": "Das Erstellen einer Verknüpfung ermöglicht es Ihnen, Beat Saber mit den ausgewählten Optionen zu starten, ohne durch BSManager zu gehen.",
"launch-options": "Startoptionen",
"advanced-launch": "Erweiterte Start",
"valid-btn": "Verknüpfung erstellen"
}
},
"maps": {
"map-filter-panel": {
"duration": "Länge",
"tags": "Stichworte",
"specificities": "Allgemein",
"requirements": "Anforderungen"
},
"map-types": {
"accuracy": "Präzision",
"balanced": "Ausgeglichen",
"challenge": "Herausforderung",
"dancestyle": "Tanz",
"fitness": "Fitness",
"speed": "Geschwindigkeit",
"tech": "Tech"
},
"map-styles": {
"dance": "Tanz",
"swing": "Swing",
"nightcore": "Nightcore",
"folk": "Folk",
"family": "Familie",
"ambient": "umgebung",
"funk": "Funk",
"jazz": "Jazz",
"soul": "Soul",
"speedcore": "Speedcore",
"punk": "Punk",
"rb": "R&B",
"holiday": "Urlaub",
"vocaloid": "Vokaloid",
"jrock": "J-Rock",
"trance": "Trance",
"drumbass": "Basstrommel",
"comedy": "Komödie",
"instrumental": "Instrumental",
"hardcore": "Hardcore",
"kpop": "K-Pop",
"indie": "Indie",
"techno": "Techno",
"house": "House",
"game": "Videospiele",
"film": "Filme",
"alt": "Alternativ",
"dubstep": "Dubstep",
"metal": "Metal",
"anime": "Anime",
"hiphop": "HipHop",
"jpop": "J-Pop",
"rock": "Rock",
"pop": "Pop",
"electronic": "Elektronisch",
"classical-orchestral": "Klassisch & Orchestra"
},
"map-specificities": {
"automapper": "KI",
"ranked": "ranked",
"curated": "curated",
"verified": "verifiziert",
"fullSpread": "full spread"
},
"difficulties": {
"Easy": "einfach",
"Normal": "normal",
"Hard": "hard",
"Expert": "expert",
"ExpertPlus": "expert+"
},
"map-item": {
"by": "Von {songAutor}",
"mapped-by": "Gemapped von"
}
},
"models": {
"types": {
"singular": {
"avatar": "Avatar",
"saber": "Säbel",
"platform": "Plattform",
"bloq": "Block"
},
"plural": {
"avatar": "Avatare",
"saber": "Säbel",
"platform": "Plattformen",
"bloq": "Blöcke"
}
},
"sorts": {
"name": "Name",
"date": "Datum",
"author": "Autor"
},
"panel": {
"actions": {
"search": "Ein Modell suchen",
"drop-down": {
"delete": "Modelle löschen",
"export": "Modelle exportieren"
},
"link-models": "Modelle verlinken",
"unlink-models": "Modelle trennen"
},
"grid": {
"loading": "Modelle laden...",
"no-models": "Keine Modelle",
"download-models": "Modelle herunterladen"
}
},
"modals": {
"delete-model": {
"title": "Das Modell löschen",
"desc": "Sind Sie sicher, dass Sie das Modell {modelName} löschen möchten?",
"linked-annotation": "Dieses Modell wird aus allen verlinkten Versionen entfernt."
},
"delete-models": {
"title": "Modelle löschen",
"desc": "Sind Sie sicher, dass Sie die {nb} Modelle löschen möchten?",
"linked-annotation": "Diese Modelle werden aus allen verlinkten Versionen entfernt."
},
"download-models": {
"search-btn": "Suche",
"search-placeholder": "Ein Modell suchen",
"search-tips": {
"header": {
"tag": "Tag",
"desc": "Beschreibung"
},
"author-desc": "Nur Modelle vom angegebenen Autor anzeigen.",
"hash-desc": "Nur Modelle mit dem angegebenen Hash anzeigen.",
"tag-desc": "Nur Modelle mit dem angegebenen Tag anzeigen.",
"name-desc": "Nur Modelle mit dem angegebenen Namen anzeigen.",
"discordid-desc": "Nur Modelle vom angegebenen Discord-Benutzer anzeigen.",
"status-desc": "Nur Modelle mit dem angegebenen Status anzeigen. (nur Profil, und nur für den Autor)"
},
"no-models": "Keine Modelle gefunden.",
"no-internet": "Keine Internetverbindung.",
"error-occured": "Ein Fehler ist aufgetreten, versuche es später erneut."
},
"link-models": {
"avatar": {
"title": "Avatare verbinden",
"desc": "Das Verbinden von Avataren ermöglicht das Teilen von Avataren zwischen allen Versionen. Sobald verbunden, wird diese Version von den geteilten Avataren profitieren",
"info": "Das Hinzufügen und Entfernen von Avataren wird ebenfalls geteilt",
"keep-models": {
"label": "Avatare behalten",
"title": "Das Behalten der Avatare wird die Avatare der aktuellen Version in den Ordner der geteilten Avatare verschieben. Andernfalls gehen sie verloren"
},
"valid-btn": "Avatare verbinden"
},
"saber": {
"title": "Säbel verbinden",
"desc": "Das Verbinden von Säbeln ermöglicht das Teilen von Säbeln zwischen allen Versionen. Sobald verbunden, wird diese Version von den geteilten Säbeln profitieren",
"info": "Das Hinzufügen und Entfernen von Säbeln wird ebenfalls geteilt",
"keep-models": {
"label": "Säbel behalten",
"title": "Das Behalten der Säbel wird die Säbel der aktuellen Version in den Ordner der geteilten Säbel verschieben. Andernfalls gehen sie verloren"
},
"valid-btn": "Säbel verbinden"
},
"platform": {
"title": "Plattformen verbinden",
"desc": "Das Verbinden von Plattformen ermöglicht das Teilen von Plattformen zwischen allen Versionen. Sobald verbunden, wird diese Version von den geteilten Plattformen profitieren",
"info": "Das Hinzufügen und Entfernen von Plattformen wird ebenfalls geteilt",
"keep-models": {
"label": "Plattformen behalten",
"title": "Das Behalten der Plattformen wird die Plattformen der aktuellen Version in den Ordner der geteilten Plattformen verschieben. Andernfalls gehen sie verloren"
},
"valid-btn": "Plattformen verbinden"
},
"bloq": {
"title": "Bloqs verbinden",
"desc": "Das Verbinden von Bloqs ermöglicht das Teilen von Bloqs zwischen allen Versionen. Sobald verbunden, wird diese Version von den geteilten Bloqs profitieren",
"info": "Das Hinzufügen und Entfernen von Bloqs wird ebenfalls geteilt",
"keep-models": {
"label": "Bloqs behalten",
"title": "Das Behalten der Bloqs wird die Bloqs der aktuellen Version in den Ordner der geteilten Bloqs verschieben. Andernfalls gehen sie verloren"
},
"valid-btn": "Bloqs verbinden"
}
},
"unlink-models": {
"avatar": {
"title": "Avatare trennen",
"desc": "Achtung, das Trennen der Avatare wird die Nutzung der geteilten Avatare für diese Version nicht mehr ermöglichen.",
"keep-models": {
"label": "Avatare behalten",
"title": "Das Behalten der Avatare wird eine Kopie der geteilten Avatare für die aktuelle Version erstellen. Andernfalls wird kein Avatar für diese Version aufbewahrt."
},
"valid-btn": "Avatare trennen"
},
"saber": {
"title": "Säbel trennen",
"desc": "Achtung, das Trennen der Säbel wird die Nutzung der geteilten Säbel für diese Version nicht mehr ermöglichen.",
"keep-models": {
"label": "Säbel behalten",
"title": "Das Behalten der Säbel wird eine Kopie der geteilten Säbel für die aktuelle Version erstellen. Andernfalls wird kein Säbel für diese Version aufbewahrt."
},
"valid-btn": "Säbel trennen"
},
"platform": {
"title": "Plattformen trennen",
"desc": "Achtung, das Trennen der Plattformen wird die Nutzung der geteilten Plattformen für diese Version nicht mehr ermöglichen.",
"keep-models": {
"label": "Plattformen behalten",
"title": "Das Behalten der Plattformen wird eine Kopie der geteilten Plattformen für die aktuelle Version erstellen. Andernfalls wird keine Plattform für diese Version aufbewahrt."
},
"valid-btn": "Plattformen trennen"
},
"bloq": {
"title": "Bloqs trennen",
"desc": "Achtung, das Trennen der Bloqs wird die Nutzung der geteilten Bloqs für diese Version nicht mehr ermöglichen.",
"keep-models": {
"label": "Bloqs behalten",
"title": "Das Behalten der Bloqs wird eine Kopie der geteilten Bloqs für die aktuelle Version erstellen. Andernfalls wird kein Bloq für diese Version aufbewahrt."
},
"valid-btn": "Bloqs trennen"
}
}
},
"notifications": {
"prevent-for-mods": {
"title": "Erforderliche Mods",
"desc": "Stellen Sie sicher, dass Sie die notwendigen Mods installiert haben, um Modelle in BeatSaber zu verwenden",
"go-to-mods": "Gehe zu Mods",
"not-remind": "Erinnere mich nicht"
},
"prevent-for-models-breaks": {
"title": "Gebrochene Modelle",
"desc": "Seit dem Update des BeatSaber-Motors sind Modelle für diese Version nicht mehr funktional."
},
"export-success": {
"title": "Export abgeschlossen 🎉"
}
}
},
"beat-saver": {
"maps-sorts": {
"Latest": "Neueste",
"Relevance": "Relevanz",
"Rating": "Bewertung",
"Curated": "Curated"
}
},
"auto-update": {
"checking": "Prüfe auf Updates",
"downloading": "Lade Updates Herunter"
},
"bs-shortcut-launch": {
"beat-saber-launching": "Start von Beat Saber",
"launching": "Starten",
"open-bsmanager": "BSManager öffnen",
"status-text": {
"init": "Initialisierung...",
"success": {
"BS_LAUNCHING": "Start von Beat Saber...",
"STEAM_LAUNCHING": "Start von Steam...",
"STEAM_LAUNCHED": "Steam erfolgreich gestartet!",
"UNABLE_TO_LAUNCH_STEAM": "Steam kann nicht gestartet werden, erzwungener Start von Beat Saber..."
}
}
},
"dateformat": {
"dayNames": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
"monthNames": ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
"timeNames": ["a", "p", "am", "pm", "A", "P", "AM", "PM"]
}
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+913
View File
@@ -0,0 +1,913 @@
{
"misc": {
"download": "Скачать",
"add": "Добавить",
"verify": "Проверить",
"launch": "Запустить",
"mods": "Моды",
"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": "Если вы используете Beat Saber через Steam, это позволит использовать Oculus's VR в обход SteamVR, для потенциального прироста производительности. Это необязательно для шлемов Oculus.",
"desktop": "Режим FPFC",
"desktop-description": "Режим Летающих контроллеров от первого лица(FPFC) позволит вам использовать меню с помощью WASD и мышки. Это облегчает тестирование модов, потому что вам не нужно подключать шлем!",
"debug": "Режим отладки",
"debug-description": "Включает окно логов для IPA. В окне будут отображаться логи модов.",
"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": "Загрузка модов...",
"no-internet": "Нет интернета",
"mods-not-available": "Не найдены моды для этой версии Beat Saber",
"buttons": {
"more-infos": "Подробнее",
"install-or-update": "Установить или обновить"
},
"mods-grid": {
"header-bar": {
"name": "Имя",
"installed": "Установлено",
"latest": "Latest",
"description": "Описание",
"dropdown": {
"uninstall-all": "Удалить всё"
}
}
}
},
"dropdown": {
"open-folder": "Открыть папку",
"verify-files": "Проверить файлы",
"clone": "Клонировать",
"edit": "Редактировать",
"uninstall": "Удалить",
"create-shortcut": "Создать ярлык",
"shared-folders": "Общие папки"
}
},
"available-versions": {
"title": "Выберите версию",
"steam-release": "Список изменений",
"dropdown": {
"refresh": "Обновить список",
"import-version": "Импорт версии"
}
},
"settings": {
"steam": {
"title": "Steam",
"description": "Если вы выйдете из Steam, вам придётся снова войти, если вы хотите скачать другие версии Beat Saber.",
"logout": "Выйти"
},
"appearance": {
"title": "Персонализация",
"description": "Выберите два основных цвета для BSManager.",
"reset": "Сброс",
"sub-title": "Тема",
"themes": {
"dark": "Тёмная",
"light": "Светлая",
"os": "Как на компьютере"
}
},
"installation-folder": {
"title": "Папка установок",
"description": "Измените стандартную папку, где будут версии Beat Saber и прочее.",
"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": "Русский",
"translated": {
"en-EN": "Английский, Великобритания",
"en-US": "Английский, США",
"fr-FR": "Французский",
"es-ES": "Испанский",
"de-DE": "Немецкий",
"ru-RU": "Русский"
}
}
},
"patreon": {
"title": "Поддержи BSManager 💖",
"description": "Поддержи проект, чтобы мы могли дальше улучшать BSManager.",
"buttons": {
"support": "Поддержать BSManager 🥰",
"supporters": "Поддержавшие 👀"
},
"view": {
"no-supporters": "Пока нет поддержавших",
"sponsors": "Спонсоры",
"supporters": "Поддержавшие"
}
},
"discord": {
"description": "Присоединяйся к сообществу BSManager в социальных сетях!"
},
"contribution": {
"description": "Предложите улучшения или сообщите о баге!",
"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": "Проверка завершена"
}
},
"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": "Не удалось подключиться к Steam за 10 попыток 🤯",
"LicenceError": "Не удалось проверить наличие лицензии.",
"RateLimitExceeded": "Слишком много попыток, вернитесь позже и попробуйте снова.",
"TokenRejected": "Ваш токен для входа был отклонен 😕 Пожалуйста, попробуйте снова.",
"AccessDenied": "Доступ к Steam был отклонен.",
"dotnet-required": "Среда запуска .NET 6 должна быть установлена, чтобы скачать Beat Saber. Скачайте её с помощью кнопки ниже."
},
"actions": {
"download-dotnet": "Скачать .NET 6"
}
}
},
"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": "The destination folder cannot be a subfolder of the source folder.",
"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": "Один или более вариантов 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": "Вылет"
},
"msg": {
"UNKNOWN_ERROR": "Возникла неизвестная ошибка.",
"STEAM_NOT_RUNNING": "Steam должен быть запущен, чтобы запустить BeatSaber.",
"OCULUS_NOT_RUNNING": "Oculus должен быть запущен, чтобы запустить BeatSaber.",
"BS_ALREADY_RUNNING": "Закройте BeatSaber, чтобы запустить его.",
"EXE_NOT_FINDED": "Некоторые файлы отсутствуют, пробуем их проверить.",
"EXIT": "BeatSaber вылетел, пытаемся проверить файлы."
},
"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": "Моды установлены 🎉",
"warning": "Моды установлены 🤔"
},
"msg": {
"success": "Все моды были установлены.",
"warning": "Лишь часть модов была установлена.",
"errors": {
"no-mods": "Нет модов для установки.",
"cannot-install-bsipa": "Ошибка установки BSIPA 😨"
}
}
},
"uninstall-mod": {
"titles": {
"success": "Мод удалён 🎉"
},
"msg": {
"errors": {
"no-mods": "Этот мод не установлен 😑"
}
}
},
"uninstall-all-mods": {
"titles": {
"success": "Моды удалены 🎉"
},
"msg": {
"success": "Все моды были удалены.",
"errors": {
"no-mods": "Для этой версии не было установлено модов 😑"
}
}
}
},
"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": "Запомнить выбор"
},
"guard": {
"title": "Steam Guard",
"inputs": {
"guard-code": {
"label": "Код Steam Guard",
"placeholder": "Введите код Steam Guard"
}
},
"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",
"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": "Данные входа используются только при скачивании, чтобы проверить наличие у вас Beat Saber, это нужно Steam, чтобы разрешить скачивание. Они не сохраняются и напрямую передаются в DepotDownloader. Если вы не хотите вводить данные для входа, воспользуйтесь руководством(Оно на английском языке) :",
"p-2": "Нажмите на шестерню справа вверху и выберите \"Импорт версии\", выберите папку со скачанным Beat Saber (Если вы воспользовались руководством, у вас должен быть корректный путь к папке)"
},
"bs-import-version": {
"title": "Импорт версии",
"description": "Импортировать версию Beat Saber, чтобы использоваться BSManager. Beat Saber будет скопирован в папку версий BSManager.",
"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": "Клонирование версий позволит вам установить разный контент для каждой копии Beat Saber.",
"inputs": {
"name": {
"label": "Имя",
"placeholder": "Имя версии"
},
"color": {
"label": "Цвет"
}
},
"buttons": {
"submit": "Клонировать"
}
},
"uninstall-mod": {
"title": "Удаление мода",
"description": "Вы точно хотите удалить {mod}? Другие моды могут перестать работать.",
"description-bsipa": "AВы точно хотите удалить BSIPA? Все моды перестануть работать."
},
"uninstall-all-mods": {
"title": "Удаление всех модов",
"description": "Вы точно хотите удалить все моды для версии {version}? Это необратимое действие."
},
"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": "Играя с модами, вы соглашаетесь, что:",
"li-1": "У вам могут быть проблемы, которых нет в оригинальной игре. 99.9% багов, вылетов и лагов из-за модов.",
"li-2": "Моды могут быть несовместимы с обновлениями и это норма - будьте терпеливы и уважайте мододелов, они волонтёры со своими личными жизнями.",
"li-3": "Beat Games не специально ломают моды. Они лишь обновляют код, что иногда ломает коды. Они не хотят уничтожить моды",
"p-2": "Не спамьте разработчикам игры из-за проблем с модами и наоборот - мододелы и разработчики игры - разные группы людей. Не будьте идиотами."
},
"shared-folders": {
"title": "Общие папки",
"description": "Свяжите папки Beat Saber, чтобы они стали общими и их содержимое было в других версиях. Заметьте, что удаление файлов так же будет общим.",
"buttons": {
"add-folder": "Добавить папку",
"link-folder": "Связать папку",
"unlink-folder": "Отвязать папку",
"link-all": "Связать всё"
}
},
"create-launch-shortcut": {
"title": "Создать ярлык",
"desc": "Ярлык позволит вам запустить Beat Saber без помощи BSManager.",
"launch-options": "Параметры запуска",
"advanced-launch": "Расширенный запуск",
"valid-btn": "Создать ярлык"
}
},
"maps": {
"map-filter-panel": {
"duration": "Длительность",
"tags": "тэги",
"specificities": "основное",
"requirements": "требуемые моды"
},
"map-types": {
"accuracy": "точность",
"balanced": "баланс",
"challenge": "испытание",
"dancestyle": "танец",
"fitness": "фитнес",
"speed": "скорость",
"tech": "техника"
},
"map-styles": {
"dance": "танец",
"swing": "свинг",
"nightcore": "найткор",
"folk": "народные",
"family": "семейные",
"ambient": "эмбиент",
"funk": "фанк",
"jazz": "джаз",
"soul": "соул",
"speedcore": "спидкор",
"punk": "панк",
"rb": "ар-н-би",
"holiday": "праздник",
"vocaloid": "вокалоиды",
"jrock": "джей-рок",
"trance": "транс",
"drumbass": "драм-н-бейс",
"comedy": "комедия",
"instrumental": "инструментальные",
"hardcore": "хардкор",
"kpop": "кей-поп",
"indie": "инди",
"techno": "техно",
"house": "хаус",
"game": "видеоигры",
"film": "фильмы",
"alt": "альтернативные",
"dubstep": "дапстеп",
"metal": "метал",
"anime": "аниме",
"hiphop": "хипхоп",
"jpop": "джей-поп",
"rock": "прк",
"pop": "поп",
"electronic": "электроника",
"classical-orchestral": "Классика и Оркестр"
},
"map-specificities": {
"automapper": "ИИ",
"ranked": "с рейтингом",
"curated": "оценённые куратором",
"verified": "проверенные авторы",
"fullSpread": "полный набор"
},
"difficulties": {
"Easy": "легко",
"Normal": "нормально",
"Hard": "сложно",
"Expert": "эксперт",
"ExpertPlus": "эксперт+"
},
"map-item": {
"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": "Все мечи из этой версии станут общими. Если не включить, то мечи этой версии будут потеряны."
},
"valid-btn": "Связать мечи"
},
"platform": {
"title": "Связать платформы",
"desc": "Общие платформы доступны во всех версиях игры с этой функцией. Пока связь есть, эта версия будет иметь общие платформы.",
"info": "Добавление и удаление платформ так же будут общими",
"keep-models": {
"label": "Оставить платформы",
"title": "Все платформы из этой версии станут общими. Если не включить, то платформы этой версии будут потеряны."
},
"valid-btn": "Связать платформы"
},
"bloq": {
"title": "Связать кубы",
"desc": "Общие кубы доступны во всех версиях игры с этой функцией. Пока связь есть, эта версия будет иметь общие кубы.",
"info": "Adding and deleting bloqs will also be shared",
"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": "Требуемые моды",
"desc": "Убедитесь, что вы установили все нужные моды, чтобы использовать модели в Beat Saber",
"go-to-mods": "Перейти к модам",
"not-remind": "Больше не напоминать"
},
"prevent-for-models-breaks": {
"title": "Сломанные модели",
"desc": "После обновления движка Beat Saber, модели не работают с этой версией."
},
"export-success": {
"title": "Экспорт завершен 🎉"
}
}
},
"beat-saver": {
"maps-sorts": {
"Latest": "Недавние",
"Relevance": "Релевантные",
"Rating": "Рейтинг",
"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": ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авн", "Сен", "Окт", "Ноя", "Дек", "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
"timeNames": ["д", "п", "дп", "пп", "Д", "П", "ДП", "ПП"]
}
}
@@ -6,10 +6,11 @@
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"DepotDownloader/2.4.6": {
"DepotDownloader/2.5.0": {
"dependencies": {
"SteamKit2": "2.4.1",
"protobuf-net": "3.0.101"
"QRCoder": "1.4.3",
"SteamKit2": "2.5.0-Beta.1",
"protobuf-net": "3.2.16"
},
"runtime": {
"DepotDownloader.dll": {}
@@ -22,37 +23,60 @@
"System.Security.Principal.Windows": "5.0.0"
}
},
"protobuf-net/3.0.101": {
"protobuf-net/3.2.16": {
"dependencies": {
"protobuf-net.Core": "3.0.101"
"protobuf-net.Core": "3.2.16"
},
"runtime": {
"lib/net5.0/protobuf-net.dll": {
"lib/net6.0/protobuf-net.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.0.101.59408"
"fileVersion": "3.2.16.54102"
}
}
},
"protobuf-net.Core/3.0.101": {
"protobuf-net.Core/3.2.16": {
"dependencies": {
"System.Collections.Immutable": "7.0.0"
},
"runtime": {
"lib/net5.0/protobuf-net.Core.dll": {
"lib/net6.0/protobuf-net.Core.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.0.101.59408"
"fileVersion": "3.2.16.54102"
}
}
},
"SteamKit2/2.4.1": {
"QRCoder/1.4.3": {
"runtime": {
"lib/net6.0/QRCoder.dll": {
"assemblyVersion": "1.4.3.0",
"fileVersion": "1.4.3.0"
}
}
},
"SteamKit2/2.5.0-Beta.1": {
"dependencies": {
"Microsoft.Win32.Registry": "5.0.0",
"protobuf-net": "3.0.101"
"protobuf-net": "3.2.16"
},
"runtime": {
"lib/net6.0/SteamKit2.dll": {
"assemblyVersion": "2.4.1.0",
"fileVersion": "2.4.1.10"
"assemblyVersion": "2.5.0.0",
"fileVersion": "2.5.0.0"
}
}
},
"System.Collections.Immutable/7.0.0": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"runtime": {
"lib/net6.0/System.Collections.Immutable.dll": {
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
}
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
"System.Security.AccessControl/5.0.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0",
@@ -63,7 +87,7 @@
}
},
"libraries": {
"DepotDownloader/2.4.6": {
"DepotDownloader/2.5.0": {
"type": "project",
"serviceable": false,
"sha512": ""
@@ -82,26 +106,47 @@
"path": "microsoft.win32.registry/5.0.0",
"hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512"
},
"protobuf-net/3.0.101": {
"protobuf-net/3.2.16": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mLm8VGfGylp9q+rbJDp3uw0BOeNzfGENecVz/EYGlzq3ss7tfajGXHCMoZm/GxJ9vSn9pcK22UXWZnQ5GJQMjA==",
"path": "protobuf-net/3.0.101",
"hashPath": "protobuf-net.3.0.101.nupkg.sha512"
"sha512": "sha512-W6RM2B2f5O7SigBGfkXFYzI/a7Mks+rCHtuGlE/b5O3NMupDon7I0akjCLhrfcnqIfdWDkDafseav/MnIzUSHA==",
"path": "protobuf-net/3.2.16",
"hashPath": "protobuf-net.3.2.16.nupkg.sha512"
},
"protobuf-net.Core/3.0.101": {
"protobuf-net.Core/3.2.16": {
"type": "package",
"serviceable": true,
"sha512": "sha512-gf9QIF0RlctfjmOjbE6eOyMulkNEsH7tHncjKj/4BTu9tkuTyrH3fv5I+35GnolJqKJ6fh9kYaezvNRL3t75+Q==",
"path": "protobuf-net.core/3.0.101",
"hashPath": "protobuf-net.core.3.0.101.nupkg.sha512"
"sha512": "sha512-ZFoY0lfMUWGJ4RoyI0oNj2o2l8t08n3k27YyDD0kYWQ+vXj0hTbWEwYWOpGAfCWvyUPkq9Jcc/4uR74GICZL2g==",
"path": "protobuf-net.core/3.2.16",
"hashPath": "protobuf-net.core.3.2.16.nupkg.sha512"
},
"SteamKit2/2.4.1": {
"QRCoder/1.4.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-t9yptysn/2YY6KZaI123vOOnumS+ZCFcC6MhFEkTiQ04mdpZ/EWhk5RVY7jU36IQHyTQUXotmn7taKFCXMKp4g==",
"path": "steamkit2/2.4.1",
"hashPath": "steamkit2.2.4.1.nupkg.sha512"
"sha512": "sha512-fWuFqjm8GTlEb2GqBl3Hi8HZZeZQwBSHxvRPtPjyNbT82H0ff0JwavKRBmMaXCno1Av6McPC8aJzri0Mj2w9Jw==",
"path": "qrcoder/1.4.3",
"hashPath": "qrcoder.1.4.3.nupkg.sha512"
},
"SteamKit2/2.5.0-Beta.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fwwdF0cZZEIdNpcUc1+B9zbP5Q48A3DFOAclPhBh2dMTU03aROaIDktFW+Ww/NN1Z/Emp/LwVqHB+hCM8uxS4Q==",
"path": "steamkit2/2.5.0-beta.1",
"hashPath": "steamkit2.2.5.0-beta.1.nupkg.sha512"
},
"System.Collections.Immutable/7.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==",
"path": "system.collections.immutable/7.0.0",
"hashPath": "system.collections.immutable.7.0.0.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
},
"System.Security.AccessControl/5.0.0": {
"type": "package",
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+33563 -13170
View File
File diff suppressed because it is too large Load Diff
+305 -277
View File
@@ -1,283 +1,311 @@
{
"name": "bs-manager",
"description": "Manage maps, mods and more for Beat Saber",
"scripts": {
"build": "concurrently \"npm run build:main\" \"npm run build:renderer\"",
"build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts",
"build:renderer": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.prod.ts",
"rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir release/app",
"lint": "cross-env NODE_ENV=development eslint . --ext .js,.jsx,.ts,.tsx",
"package": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build --publish never",
"postinstall": "ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.ts && opencollective-postinstall",
"start": "ts-node ./.erb/scripts/check-port-in-use.js && npm run start:renderer",
"start:main": "cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only ./src/main/main.ts",
"start:preload": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.preload.dev.ts",
"start:renderer": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./.erb/configs/webpack.config.renderer.dev.ts",
"test": "jest",
"publish": "npm run build && electron-builder --publish always --win --x64"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"cross-env NODE_ENV=development eslint --cache"
],
"*.json,.{eslintrc,prettierrc}": [
"prettier --ignore-path .eslintignore --parser json --write"
],
"*.{css,scss}": [
"prettier --ignore-path .eslintignore --single-quote --write"
],
"*.{html,md,yml}": [
"prettier --ignore-path .eslintignore --single-quote --write"
]
},
"build": {
"extraResources": [
"./assets/**"
],
"productName": "BSManager",
"appId": "org.erb.BSManager",
"asar": false,
"asarUnpack": "**\\*.{node,dll}",
"files": [
"dist/**/*",
"node_modules",
"package.json"
],
"afterSign": ".erb/scripts/notarize.js",
"mac": {
"target": {
"target": "default",
"arch": [
"arm64",
"x64"
]
},
"type": "distribution",
"hardenedRuntime": true,
"entitlements": "assets/entitlements.mac.plist",
"entitlementsInherit": "assets/entitlements.mac.plist",
"gatekeeperAssess": false
"name": "bs-manager",
"description": "Manage maps, mods and more for Beat Saber",
"scripts": {
"build": "concurrently \"npm run build:main\" \"npm run build:renderer\"",
"build:main": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.main.prod.ts",
"build:renderer": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.prod.ts",
"rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir release/app",
"lint": "cross-env NODE_ENV=development eslint . --ext .js,.jsx,.ts,.tsx",
"package": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build --publish never",
"postinstall": "ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.ts && opencollective-postinstall",
"start": "ts-node ./.erb/scripts/check-port-in-use.js && npm run start:renderer",
"start:main": "cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only ./src/main/main.ts",
"start:preload": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.preload.dev.ts",
"start:renderer": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./.erb/configs/webpack.config.renderer.dev.ts",
"test": "jest",
"publish": "npm run build && electron-builder -c.win.certificateSha1=842a817a51e2a1d360fcd62f54bf5f9193e919e1 --publish always --win --x64"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": [
"nsis"
],
"icon": "assets/favicon.ico"
},
"linux": {
"target": [
"AppImage"
],
"category": "Development"
},
"directories": {
"app": "release/app",
"buildResources": "assets",
"output": "release/build"
},
"publish": {
"provider": "github",
"owner": "Zagrios"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/Zagrios/bs-manager.git"
},
"author": {
"name": "Zagrios",
"email": "peroz.mathieu@gmail.com",
"url": "https://github.com/Zagrios"
},
"contributors": [],
"license": "MIT",
"bugs": {
"url": "https://github.com/Zagrios/bs-manager/issues"
},
"keywords": [
"downgrade",
"launcher-application",
"beatsaber",
"beat-saber"
],
"homepage": "https://github.com/Zagrios/bs-manager#readme",
"jest": {
"testURL": "http://localhost/",
"testEnvironment": "jsdom",
"transform": {
"\\.(ts|tsx|js|jsx)$": "ts-jest"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/.erb/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx",
"json"
],
"moduleDirectories": [
"node_modules",
"release/app/node_modules"
],
"testPathIgnorePatterns": [
"release/app/dist"
],
"setupFiles": [
"./.erb/scripts/check-build-exists.ts"
]
},
"devDependencies": {
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
"@teamsupercell/typings-for-css-modules-loader": "^2.5.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@types/archiver": "^5.3.1",
"@types/dateformat": "^5.0.0",
"@types/jest": "^27.5.2",
"@types/node": "17.0.23",
"@types/react": "^17.0.48",
"@types/react-dom": "^17.0.17",
"@types/react-outside-click-handler": "^1.3.1",
"@types/react-test-renderer": "^17.0.2",
"@types/terser-webpack-plugin": "^5.0.4",
"@types/use-double-click": "^1.0.1",
"@types/uuid": "^8.3.4",
"@types/webpack-bundle-analyzer": "^4.4.2",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.34.0",
"@typescript-eslint/parser": "^5.34.0",
"autoprefixer": "^10.4.8",
"browserslist-config-erb": "^0.0.3",
"chalk": "^4.1.2",
"concurrently": "^7.2.2",
"core-js": "^3.24.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.1.0",
"detect-port": "^1.3.0",
"electron": "^20.0.3",
"electron-builder": "^23.3.3",
"electron-devtools-installer": "^3.2.0",
"electron-notarize": "^1.2.1",
"electron-rebuild": "^3.2.9",
"electronmon": "^2.0.2",
"eslint": "^8.22.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-erb": "^4.0.3",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.8.7",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"lint-staged": "^12.5.0",
"mini-css-extract-plugin": "^2.6.1",
"opencollective-postinstall": "^2.0.3",
"postcss": "^8.4.16",
"postcss-loader": "^6.2.1",
"prettier": "^2.7.1",
"react-refresh": "^0.12.0",
"react-refresh-typescript": "^2.0.7",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"sass": "^1.54.5",
"sass-loader": "^12.6.0",
"style-loader": "^3.3.1",
"tailwind-scrollbar": "^2.0.1",
"tailwindcss": "^3.1.8",
"terser-webpack-plugin": "^5.3.5",
"ts-jest": "^27.1.5",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.2",
"typescript": "^4.7.4",
"url-loader": "^4.1.1",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.6.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@node-steam/vdf": "^2.2.0",
"archiver": "^5.3.1",
"dateformat": "^5.0.3",
"dot-prop": "^7.2.0",
"electron-debug": "^3.2.0",
"electron-log": "^4.4.8",
"electron-store": "^8.1.0",
"electron-updater": "^5.2.4",
"framer-motion": "^7.2.1",
"history": "^5.3.0",
"is-online": "^9.0.1",
"md5-file": "^5.0.0",
"node-stream-zip": "^1.15.0",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "^18.2.0",
"react-fitty": "^1.0.1",
"react-outside-click-handler": "^1.3.0",
"react-router-dom": "^6.3.0",
"react-visibility-sensor": "^5.1.1",
"regedit": "^5.1.1",
"rxjs": "^7.5.6",
"semver": "^7.3.8",
"tailwind-scrollbar-hide": "^1.1.7",
"tailwindcss-scoped-groups": "^2.0.0",
"use-double-click": "^1.0.5",
"uuid": "^9.0.0"
},
"devEngines": {
"node": ">=14.x",
"npm": ">=7.x"
},
"collective": {
"url": "https://www.patreon.com/bsmanager"
},
"browserslist": [],
"prettier": {
"overrides": [
{
"files": [
".prettierrc",
".eslintrc"
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"cross-env NODE_ENV=development eslint --cache"
],
"options": {
"parser": "json"
"*.json,.{eslintrc,prettierrc}": [
"prettier --ignore-path .eslintignore --parser json --write"
],
"*.{css,scss}": [
"prettier --ignore-path .eslintignore --single-quote --write"
],
"*.{html,md,yml}": [
"prettier --ignore-path .eslintignore --single-quote --write"
]
},
"build": {
"extraResources": [
"./assets/**"
],
"productName": "BSManager",
"appId": "org.erb.BSManager",
"asarUnpack": "**\\*.{node,dll}",
"files": [
"dist/**/*",
"node_modules",
"package.json"
],
"afterSign": ".erb/scripts/notarize.js",
"mac": {
"target": {
"target": "default",
"arch": [
"arm64",
"x64"
]
},
"type": "distribution",
"hardenedRuntime": true,
"entitlements": "assets/entitlements.mac.plist",
"entitlementsInherit": "assets/entitlements.mac.plist",
"gatekeeperAssess": false
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": [
"nsis",
"nsis-web"
],
"icon": "assets/favicon.ico"
},
"linux": {
"target": [
"AppImage"
],
"category": "Development"
},
"directories": {
"app": "release/app",
"buildResources": "assets",
"output": "release/build"
},
"publish": {
"provider": "github",
"owner": "Zagrios"
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/Zagrios/bs-manager.git"
},
"author": {
"name": "Zagrios",
"email": "peroz.mathieu@gmail.com",
"url": "https://github.com/Zagrios"
},
"contributors": [],
"license": "MIT",
"bugs": {
"url": "https://github.com/Zagrios/bs-manager/issues"
},
"keywords": [
"downgrade",
"launcher-application",
"beatsaber",
"beat-saber"
],
"singleQuote": true
},
"electronmon": {
"patterns": [
"!src/__tests__/**",
"!release/**",
"!assets/**"
],
"logLevel": "quiet"
}
"homepage": "https://github.com/Zagrios/bs-manager#readme",
"jest": {
"testURL": "http://localhost/",
"testEnvironment": "jsdom",
"transform": {
"\\.(ts|tsx|js|jsx)$": "ts-jest"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/.erb/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx",
"json"
],
"moduleDirectories": [
"node_modules",
"src"
],
"testPathIgnorePatterns": [
"release/app/dist"
],
"setupFiles": [
"./.erb/scripts/check-build-exists.ts"
]
},
"devDependencies": {
"@electron/rebuild": "^3.2.13",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.5",
"@teamsupercell/typings-for-css-modules-loader": "^2.5.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@types/archiver": "^5.3.1",
"@types/color": "^3.0.3",
"@types/dateformat": "^5.0.0",
"@types/jest": "^27.5.2",
"@types/node": "17.0.23",
"@types/node-fetch": "^2.6.3",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@types/react-outside-click-handler": "^1.3.1",
"@types/react-test-renderer": "^17.0.2",
"@types/react-virtualized-auto-sizer": "^1.0.1",
"@types/react-window": "^1.8.5",
"@types/recursive-readdir": "^2.2.1",
"@types/terser-webpack-plugin": "^5.0.4",
"@types/to-ico": "^1.1.1",
"@types/use-double-click": "^1.0.1",
"@types/webpack-bundle-analyzer": "^4.4.2",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.34.0",
"@typescript-eslint/parser": "^5.34.0",
"autoprefixer": "^10.4.8",
"browserslist-config-erb": "^0.0.3",
"chalk": "^4.1.2",
"concurrently": "^7.2.2",
"core-js": "^3.24.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.1.0",
"detect-port": "^1.3.0",
"electron": "^26.2.1",
"electron-builder": "^24.6.3",
"electron-devtools-installer": "^3.2.0",
"electron-notarize": "^1.2.1",
"electronmon": "^2.0.2",
"eslint": "^8.22.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-erb": "^4.0.3",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.8.7",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.6.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"lint-staged": "^12.5.0",
"mini-css-extract-plugin": "^2.6.1",
"opencollective-postinstall": "^2.0.3",
"postcss": "^8.4.16",
"postcss-loader": "^6.2.1",
"prettier": "^2.7.1",
"ps-scrollbar-tailwind": "0.0.1",
"react-refresh": "^0.12.0",
"react-refresh-typescript": "^2.0.7",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"sass": "^1.54.5",
"sass-loader": "^12.6.0",
"style-loader": "^3.3.1",
"tailwind-scrollbar": "^2.0.1",
"tailwindcss": "^3.3.1",
"terser-webpack-plugin": "^5.3.5",
"ts-jest": "^27.1.5",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.2",
"typescript": "^4.7.4",
"url-loader": "^4.1.1",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.6.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.10.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@node-steam/vdf": "^2.2.0",
"@tippyjs/react": "^4.2.6",
"archiver": "^6.0.1",
"color": "^4.2.3",
"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.4",
"fast-deep-equal": "^3.1.3",
"framer-motion": "^10.16.4",
"fs-extra": "^11.1.1",
"history": "^5.3.0",
"jszip": "^3.10.1",
"md5-file": "^5.0.0",
"node-abi": "^3.47.0",
"node-fetch": "^2.6.7",
"node-stream-zip": "^1.15.0",
"ps-list": "^7.2.0",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "^18.2.0",
"react-range": "^1.8.14",
"react-router-dom": "^6.3.0",
"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",
"semver": "^7.5.4",
"striptags": "^4.0.0-alpha.4",
"tailwind-scrollbar-hide": "^1.1.7",
"tailwindcss-scoped-groups": "^2.0.0",
"tippy.js": "^6.3.7",
"to-ico": "^1.1.5",
"use-double-click": "^1.0.5",
"use-fit-text": "^2.4.0"
},
"devEngines": {
"node": ">=14.x",
"npm": ">=7.x"
},
"collective": {
"url": "https://www.patreon.com/bsmanager"
},
"browserslist": [],
"prettier": {
"printWidth": 1000,
"bracketSameLine": false,
"arrowParens": "avoid",
"semi": true,
"singleQuote": false,
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"tabWidth": 4,
"overrides": [
{
"files": [
".prettierrc",
".eslintrc"
],
"options": {
"parser": "json"
}
}
]
},
"electronmon": {
"patterns": [
"!src/__tests__/**",
"!release/**",
"!assets/**"
],
"logLevel": "quiet"
}
}
+6
View File
@@ -0,0 +1,6 @@
const tailwindcss = require("tailwindcss");
const autoprefixer = require("autoprefixer");
module.exports = {
plugins: [tailwindcss, autoprefixer],
};
+60
View File
@@ -0,0 +1,60 @@
<!--
Please use the content below as a template for your pull request.
Feel free to remove sections which do not make sense.
-->
## Scope
<!-- Brief description of WHAT youre doing and WHY. -->
[closes TICKET-###](https://link-to-your-ticket)
## Implementation
<!--
Some description of HOW you achieved it. Perhaps give a high level description of the program flow. Did you need to refactor something? What tradeoffs did you take? Are there things in here which youd particularly like people to pay close attention to?
-->
## Screenshots
| before | after |
| ------ | ----- |
| | |
## How to Test
<!--
A straightforward scenario of how to test your changes could help colleagues that are not familiar with the part of the code that you are changing but want to see it in action. This section can include a description or step-by-step instructions of how to get to the state of v2 that your change affects.
A "How To Test" section can look something like this:
- Sign in with a user with tracks
- Activate `show_awesome_cat_gifs` feature (add `?feature.show_awesome_cat_gifs=1` to your URL)
- You should see a GIF with cats dancing
-->
## Emoji Guide
**For reviewers: Emojis can be added to comments to call out blocking versus non-blocking feedback.**
E.g: Praise, minor suggestions, or clarifying questions that dont block merging the PR.
> 🟢 Nice refactor!
> 🟡 Why was the default value removed?
E.g: Blocking feedback must be addressed before merging.
> 🔴 This change will break something important
| | | |
| ------------ | -------------- | ----------------------------------- |
| Blocking | 🔴 ❌ 🚨 | RED |
| Non-blocking | 🟡 💡 🤔 💭 | Yellow, thinking, etc |
| Praise | 🟢 💚 😍 👍 🙌 | Green, hearts, positive emojis, etc |
+776 -760
View File
File diff suppressed because it is too large Load Diff
+5 -4
View File
@@ -1,11 +1,11 @@
{
"name": "bs-manager",
"version": "0.2.0",
"description": "A foundation for scalable desktop apps",
"version": "1.3.1",
"description": "BSManager",
"main": "./dist/main/main.js",
"author": {
"name": "Zagrios",
"email": "electronreactboilerplate@gmail.com",
"email": "admin@bsmanager.io",
"url": "https://github.com/Zagrios/bs-manager"
},
"scripts": {
@@ -14,7 +14,8 @@
"postinstall": "npm run electron-rebuild && npm run link-modules"
},
"dependencies": {
"ctrlc-windows": "^2.0.0"
"ps-list": "^7.2.0",
"sharp": "^0.32.6"
},
"license": "MIT"
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 KiB

Before

Width:  |  Height:  |  Size: 337 KiB

After

Width:  |  Height:  |  Size: 337 KiB

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 197 KiB

Before

Width:  |  Height:  |  Size: 353 KiB

After

Width:  |  Height:  |  Size: 353 KiB

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 3.4 MiB

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 2.0 MiB

+7 -7
View File
@@ -1,9 +1,9 @@
import '@testing-library/jest-dom';
import { render } from '@testing-library/react';
import App from '../renderer/App';
import "@testing-library/jest-dom";
import { render } from "@testing-library/react";
import App from "../renderer/windows/App";
describe('App', () => {
it('should render', () => {
expect(render(<App />)).toBeTruthy();
});
describe("App", () => {
it("should render", () => {
expect(render(<App />)).toBeTruthy();
});
});
+10
View File
@@ -1,3 +1,13 @@
import { app } from "electron";
import path from "path";
export const BS_EXECUTABLE = "Beat Saber.exe";
export const OCULUS_BS_DIR = "hyperbolic-magnetism-beat-saber";
export const BS_APP_ID = "620980";
export const BS_DEPOT = "620981";
export const APP_NAME = "BSManager";
export const STEAMVR_APP_ID = "250820";
export const IMAGE_CACHE_FOLDER = "imagescache";
export const IMAGE_CACHE_PATH = path.join(app.getPath("userData"), IMAGE_CACHE_FOLDER);
+13
View File
@@ -0,0 +1,13 @@
import { ProviderPlatform } from "shared/models/provider-platform.enum";
export function execOnOs<T>(executions: { [key in ProviderPlatform]?: () => T }, noError = false): T {
if(executions[process.platform as ProviderPlatform]) {
return executions[process.platform as ProviderPlatform]();
}
if(!noError) {
throw new Error(`No execution found for platform ${process.platform}`);
}
return undefined;
}
+160
View File
@@ -0,0 +1,160 @@
import { CopyOptions, copy, ensureDir, move, symlink } from "fs-extra";
import { access, mkdir, rm, readdir, unlink, lstat, readlink } from "fs/promises";
import path from "path";
import { Observable } from "rxjs";
import log from "electron-log";
import { BsmException } from "shared/models/bsm-exception.model";
export async function pathExist(path: string): Promise<boolean> {
try {
await access(path);
return true;
} catch (e) {
return false;
}
}
export async function ensureFolderExist(path: string): Promise<void> {
if (await pathExist(path)) {
return Promise.resolve();
}
return mkdir(path, { recursive: true })
.catch(log.error)
.then(() => {});
}
export async function deleteFolder(folderPath: string): Promise<void> {
if (!(await pathExist(folderPath))) {
return;
}
return rm(folderPath, { recursive: true, force: true });
}
export async function unlinkPath(path: string): Promise<void> {
if (!(await pathExist(path))) {
return;
}
return unlink(path);
}
export async function getFoldersInFolder(folderPath: string, opts?: { ignoreSymlinkTargetError?: boolean }): Promise<string[]> {
if (!(await pathExist(folderPath))) {
return [];
}
const files = await readdir(folderPath, { withFileTypes: true });
const promises = files.map(async file => {
if (file.isDirectory()) {
return path.join(folderPath, file.name);
}
if (!file.isSymbolicLink()) {
return undefined;
}
try {
const targetPath = await readlink(path.join(folderPath, file.name));
return (await lstat(targetPath)).isDirectory() ? path.join(folderPath, file.name) : undefined;
} catch (e: any) {
if (e.code === "ENOENT" && opts?.ignoreSymlinkTargetError === true && !path.extname(file.name)) {
return path.join(folderPath, file.name);
}
return undefined;
}
});
return (await Promise.all(promises)).filter(folder => folder);
}
export async function getFilesInFolder(folderPath: string): Promise<string[]> {
if (!(await pathExist(folderPath))) {
return [];
}
const dirEntries = await readdir(folderPath, { withFileTypes: true });
return dirEntries.filter(entry => entry.isFile()).map(file => path.join(folderPath, file.name));
}
export function moveFolderContent(src: string, dest: string): Observable<Progression> {
const progress: Progression = { current: 0, total: 0 };
return new Observable<Progression>(subscriber => {
subscriber.next(progress);
(async () => {
const srcExist = await pathExist(src);
if (!srcExist) {
return subscriber.complete();
}
ensureFolderExist(dest);
const files = await readdir(src, { encoding: "utf-8" });
progress.total = files.length;
const promises = files.map(async file => {
const srcFullPath = path.join(src, file);
const destFullPath = path.join(dest, file);
if (await pathExist(destFullPath)) {
progress.current++;
return subscriber.next(progress);
}
await move(srcFullPath, destFullPath);
progress.current++;
subscriber.next(progress);
});
Promise.allSettled(promises).then(() => subscriber.complete());
})();
});
}
export function isSubdirectory(parent: string, child: string): boolean {
const parentNormalized = path.resolve(parent);
const childNormalized = path.resolve(child);
if (parentNormalized === childNormalized) {
return false;
}
const relativePath = path.relative(parentNormalized, childNormalized);
if (path.parse(parentNormalized).root !== path.parse(childNormalized).root) {
return false;
}
return relativePath && !relativePath.startsWith("..") && !path.isAbsolute(relativePath);
}
export async function copyDirectoryWithJunctions(src: string, dest: string, options?: CopyOptions): Promise<void> {
if (isSubdirectory(src, dest)) {
throw { message: `Cannot copy directory '${src}' into itself '${dest}'.`, code: "COPY_TO_SUBPATH" } as BsmException;
}
await ensureDir(dest);
const items = await readdir(src, { withFileTypes: true });
for (const item of items) {
const sourcePath = path.join(src, item.name);
const destinationPath = path.join(dest, item.name);
if (item.isDirectory()) {
await copyDirectoryWithJunctions(sourcePath, destinationPath, options);
} else if (item.isFile()) {
await copy(sourcePath, destinationPath, options);
} else if (item.isSymbolicLink()) {
if (options?.overwrite) {
await unlinkPath(destinationPath);
}
const symlinkTarget = await readlink(sourcePath);
const relativePath = path.relative(src, symlinkTarget);
const newTarget = path.join(dest, relativePath);
await symlink(newTarget, destinationPath, "junction");
}
}
}
export interface Progression<T = unknown> {
total: number;
current: number;
data?: T;
}
+28
View File
@@ -0,0 +1,28 @@
import JSZip from "jszip";
import { pathExist } from "./fs.helpers";
import path from "path";
import { mkdir, writeFile } from "fs/promises";
export async function extractZip(zip: JSZip, dest: string): Promise<string[]> {
if (!(await pathExist(dest))) {
throw new Error(`Path ${dest} does not exist`);
}
const files: string[] = [];
for (const [relativePath, entry] of Object.entries(zip.files)) {
if (entry.dir) {
continue;
}
const content = await entry.async("nodebuffer");
const outPath = path.join(dest, relativePath);
const outDir = path.dirname(outPath);
await mkdir(outDir, { recursive: true });
await writeFile(outPath, content);
files.push(outPath);
}
return files;
}
+63
View File
@@ -0,0 +1,63 @@
import { ipcMain } from "electron";
import { UtilsService } from "../services/utils.service";
import { IpcRequest } from "shared/models/ipc";
import { SearchParams } from "shared/models/maps/beat-saver.model";
import { BeatSaverService } from "../services/thrid-party/beat-saver/beat-saver.service";
import log from "electron-log";
ipcMain.on("bsv-search-map", async (event, request: IpcRequest<SearchParams>) => {
const utlis = UtilsService.getInstance();
const bsvService = BeatSaverService.getInstance();
bsvService
.searchMaps(request.args)
.then(maps => {
utlis.ipcSend(request.responceChannel, { success: true, data: maps });
})
.catch(e => {
utlis.ipcSend(request.responceChannel, { success: false, error: e });
});
});
ipcMain.on("bsv-get-map-details-from-hashs", async (event, request: IpcRequest<string[]>) => {
const utlis = UtilsService.getInstance();
const bsvService = BeatSaverService.getInstance();
bsvService
.getMapDetailsFromHashs(request.args)
.then(maps => {
utlis.ipcSend(request.responceChannel, { success: true, data: maps });
})
.catch(e => {
log.error(e);
utlis.ipcSend(request.responceChannel, { success: false, error: e });
});
});
ipcMain.on("bsv-get-map-details-by-id", async (event, request: IpcRequest<string>) => {
const utlis = UtilsService.getInstance();
const bsvService = BeatSaverService.getInstance();
bsvService
.getMapDetailsById(request.args)
.then(maps => {
utlis.ipcSend(request.responceChannel, { success: true, data: maps });
})
.catch(e => {
utlis.ipcSend(request.responceChannel, { success: false, error: e });
});
});
ipcMain.on("bsv-get-playlist-details-by-id", async (event, request: IpcRequest<string>) => {
const utlis = UtilsService.getInstance();
const bsvService = BeatSaverService.getInstance();
bsvService
.getPlaylistPage(request.args)
.then(maps => {
utlis.ipcSend(request.responceChannel, { success: true, data: maps });
})
.catch(e => {
utlis.ipcSend(request.responceChannel, { success: false, error: e });
});
});
+39 -46
View File
@@ -1,58 +1,51 @@
import { ipcMain } from 'electron';
import { BSVersion } from 'shared/bs-version.interface';
import { BSInstallerService, DownloadEventType } from '../services/bs-installer.service';
import { IpcRequest } from 'shared/models/ipc';
import { InstallationLocationService } from '../services/installation-location.service';
import { UtilsService } from '../services/utils.service';
import { BsmException } from 'shared/models/bsm-exception.model';
import { BSInstallerService, DownloadInfo } from "../services/bs-installer.service";
import { InstallationLocationService } from "../services/installation-location.service";
import { IpcService } from "../services/ipc.service";
import { from, of } from "rxjs";
const ipc = IpcService.getInstance();
export interface InitDownloadInfoInterface {
cwd: string ,
folder: string,
app: string,
depot: string,
manifest: string,
username: string,
stay: boolean
}
export interface DownloadInfo {
bsVersion: BSVersion,
username: string,
password?: string,
stay?: boolean
}
ipcMain.on('bs-download.start', async (event, request: IpcRequest<DownloadInfo>) => {
BSInstallerService.getInstance().downloadBsVersion(request.args).then(res => {
UtilsService.getInstance().ipcSend(request.responceChannel, {success: true, data: res});
}).catch(e => {
UtilsService.getInstance().ipcSend(request.responceChannel, {success: false, data: e});
});
ipc.on("is-dotnet-6-installed", (_, reply) => {
const installer = BSInstallerService.getInstance();
reply(from(installer.isDotNet6Installed()));
});
ipcMain.on(`bs-download.${"[2FA]" as DownloadEventType}`, async (event, args: IpcRequest<string>) => {
BSInstallerService.getInstance().sendInputProcess(args.args);
ipc.on("bs-download.installation-folder", (_, reply) => {
const installLocation = InstallationLocationService.getInstance();
reply(from(installLocation.installationDirectory()));
});
ipcMain.on('bs-download.kill', async (event, request: IpcRequest<void>) => {
const res = await BSInstallerService.getInstance().killDownloadProcess();
if(request.responceChannel){ UtilsService.getInstance().ipcSend(request.responceChannel, {success: res}); }
ipc.on<string>("bs-download.set-installation-folder", (req, reply) => {
const installerService = InstallationLocationService.getInstance();
reply(from(installerService.setInstallationDirectory(req.args)));
});
ipcMain.on('bs-download.installation-folder', async (event, request: IpcRequest<void>) => {
const installationFolder = InstallationLocationService.getInstance().installationDirectory;
UtilsService.getInstance().ipcSend(request.responceChannel, {success: true, data: installationFolder});
ipc.on<string>("bs-download.import-version", (req, reply) => {
const installer = BSInstallerService.getInstance();
reply(from(installer.importVersion(req.args)));
});
ipcMain.on('bs-download.set-installation-folder', (event, request: IpcRequest<string>) => {
const installerService = InstallationLocationService.getInstance();
installerService.setInstallationDirectory(request.args).then(res => {
UtilsService.getInstance().ipcSend(request.responceChannel, {success: true, data: res});
}).catch((err: BsmException) => {
UtilsService.getInstance().ipcSend(request.responceChannel, {success: false, error: err});
});
})
ipc.on<DownloadInfo>("auto-download-bs-version", (req, reply) => {
const bsInstaller = BSInstallerService.getInstance();
reply(bsInstaller.autoDownloadBsVersion(req.args));
});
ipc.on<DownloadInfo>("download-bs-version", (req, reply) => {
const bsInstaller = BSInstallerService.getInstance();
reply(bsInstaller.downloadBsVersion(req.args))
});
ipc.on<DownloadInfo>("download-bs-version-qr", (req, reply) => {
const bsInstaller = BSInstallerService.getInstance();
reply(bsInstaller.downloadBsVersionWithQRCode(req.args))
});
ipc.on("stop-download-bs-version", (_, reply) => {
const bsInstaller = BSInstallerService.getInstance();
reply(of(bsInstaller.stopDownload()));
});
ipc.on<string>("send-input-bs-download", (req, reply) => {
const bsInstaller = BSInstallerService.getInstance();
reply(of(bsInstaller.sendInput(req.args)));
});
+19 -13
View File
@@ -1,17 +1,23 @@
import { ipcMain } from 'electron';
import { UtilsService } from '../services/utils.service'
import { LauchOption } from "shared/models/bs-launch";
import { LaunchOption } from "shared/models/bs-launch";
import { BSLauncherService } from "../services/bs-launcher.service"
import { IpcRequest } from 'shared/models/ipc';
import { BsmException } from 'shared/models/bsm-exception.model';
import { IpcService } from '../services/ipc.service';
import { from } from "rxjs";
ipcMain.on('bs-launch.launch', (event, request: IpcRequest<LauchOption>) => {
const launcherService = BSLauncherService.getInstance();
const utilsService = UtilsService.getInstance();
const ipc = IpcService.getInstance();
launcherService.launch(request.args).then(res => {
utilsService.ipcSend(request.responceChannel, {success: true, data: res});
}).catch((err: BsmException) => {
utilsService.ipcSend(request.responceChannel, {success: false, error: err});
})
ipc.on<LaunchOption>('bs-launch.launch', (req, reply) => {
const bsLauncher = BSLauncherService.getInstance();
reply(bsLauncher.launch(req.args));
});
ipc.on<LaunchOption>("create-launch-shortcut", (req, reply) => {
const bsLauncher = BSLauncherService.getInstance();
reply(from(bsLauncher.createLaunchShortcut(req.args)));
});
ipc.on<void>("bs-launch.restore-steamvr", (_, reply) => {
const bsLauncher = BSLauncherService.getInstance();
reply(from(bsLauncher.restoreSteamVR()));
});
+117
View File
@@ -0,0 +1,117 @@
import { LocalMapsManagerService } from "../services/additional-content/local-maps-manager.service";
import { UtilsService } from "../services/utils.service";
import { BSVersion } from "shared/bs-version.interface";
import { IpcRequest } from "shared/models/ipc";
import { BsmLocalMap } from "shared/models/maps/bsm-local-map.interface";
import { BsvMapDetail } from "shared/models/maps";
import { IpcService } from "../services/ipc.service";
import { from } from "rxjs";
const ipc = IpcService.getInstance();
ipc.on("load-version-maps", async (request: IpcRequest<BSVersion>, reply) => {
const localMaps = LocalMapsManagerService.getInstance();
reply(localMaps.getMaps(request.args));
});
ipc.on("verion-have-maps-linked", async (request: IpcRequest<BSVersion>) => {
const utils = UtilsService.getInstance();
const maps = LocalMapsManagerService.getInstance();
utils.ipcSend<boolean>(request.responceChannel, { success: true, data: await maps.versionIsLinked(request.args) });
});
ipc.on("link-version-maps", async (request: IpcRequest<{ version: BSVersion; keepMaps: boolean }>) => {
const utils = UtilsService.getInstance();
const maps = LocalMapsManagerService.getInstance();
maps.linkVersionMaps(request.args.version, request.args.keepMaps)
.then(() => {
utils.ipcSend<void>(request.responceChannel, { success: true });
})
.catch(err => {
utils.ipcSend<void>(request.responceChannel, { success: true, error: err });
});
});
ipc.on("unlink-version-maps", async (request: IpcRequest<{ version: BSVersion; keepMaps: boolean }>) => {
const utils = UtilsService.getInstance();
const maps = LocalMapsManagerService.getInstance();
maps.unlinkVersionMaps(request.args.version, request.args.keepMaps)
.then(() => {
utils.ipcSend<void>(request.responceChannel, { success: true });
})
.catch(err => {
utils.ipcSend<void>(request.responceChannel, { success: true, error: err });
});
});
ipc.on("delete-maps", async (request: IpcRequest<BsmLocalMap[]>, reply) => {
const maps = LocalMapsManagerService.getInstance();
reply(maps.deleteMaps(request.args));
});
ipc.on("export-maps", async (request: IpcRequest<{ version: BSVersion; maps: BsmLocalMap[]; outPath: string }>, reply) => {
const maps = LocalMapsManagerService.getInstance();
reply(await maps.exportMaps(request.args.version, request.args.maps, request.args.outPath));
});
ipc.on("download-map", async (request: IpcRequest<{ map: BsvMapDetail; version: BSVersion }>, reply) => {
const maps = LocalMapsManagerService.getInstance();
reply(from(maps.downloadMap(request.args.map, request.args.version)));
});
ipc.on("one-click-install-map", async (request: IpcRequest<BsvMapDetail>) => {
const utils = UtilsService.getInstance();
const maps = LocalMapsManagerService.getInstance();
maps.oneClickDownloadMap(request.args)
.then(() => {
utils.ipcSend(request.responceChannel, { success: true });
})
.catch(err => {
utils.ipcSend(request.responceChannel, { success: false, error: err });
});
});
ipc.on("register-maps-deep-link", async (request: IpcRequest<void>) => {
const maps = LocalMapsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.enableDeepLinks();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
ipc.on("unregister-maps-deep-link", async (request: IpcRequest<void>) => {
const maps = LocalMapsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.disableDeepLinks();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
ipc.on("is-map-deep-links-enabled", async (request: IpcRequest<void>) => {
const maps = LocalMapsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.isDeepLinksEnabled();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
ipc.on("get-version-maps-path", async (req: IpcRequest<BSVersion>, reply) => {
const maps = LocalMapsManagerService.getInstance();
reply(from(maps.getMapsFolderPath(req.args)));
});
+82
View File
@@ -0,0 +1,82 @@
import { ipcMain } from "electron";
import { UtilsService } from "../services/utils.service";
import { IpcRequest } from "shared/models/ipc";
import { MSModel, MSModelType } from "shared/models/models/model-saber.model";
import { LocalModelsManagerService } from "../services/additional-content/local-models-manager.service";
import { IpcService } from "../services/ipc.service";
import { BSVersion } from "shared/bs-version.interface";
import { BsmLocalModel } from "shared/models/models/bsm-local-model.interface";
import { ModelDownload } from "renderer/services/models-management/models-downloader.service";
const ipc = IpcService.getInstance();
ipcMain.on("one-click-install-model", async (event, request: IpcRequest<MSModel>) => {
const utils = UtilsService.getInstance();
const models = LocalModelsManagerService.getInstance();
models
.oneClickDownloadModel(request.args)
.then(() => {
utils.ipcSend(request.responceChannel, { success: true });
})
.catch(e => {
utils.ipcSend(request.responceChannel, { success: false, error: e });
});
});
ipcMain.on("register-models-deep-link", async (event, request: IpcRequest<void>) => {
const maps = LocalModelsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.enableDeepLinks();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
ipcMain.on("unregister-models-deep-link", async (event, request: IpcRequest<void>) => {
const maps = LocalModelsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.disableDeepLinks();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
ipcMain.on("is-models-deep-links-enabled", async (event, request: IpcRequest<void>) => {
const maps = LocalModelsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.isDeepLinksEnabled();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
ipc.on<ModelDownload>("download-model", async (req, reply) => {
const models = LocalModelsManagerService.getInstance();
reply(models.downloadModel(req.args.model, req.args.version));
});
ipc.on<{ version: BSVersion; type: MSModelType }>("get-version-models", async (req, reply) => {
const models = LocalModelsManagerService.getInstance();
const res = await models.getModels(req.args.type, req.args.version);
reply(res);
});
ipc.on<{ version: BSVersion; models: BsmLocalModel[]; outPath: string }>("export-models", async (req, reply) => {
const models = LocalModelsManagerService.getInstance();
reply(models.exportModels(req.args.outPath, req.args.version, req.args.models));
});
ipc.on<BsmLocalModel[]>("delete-models", async (req, reply) => {
const models = LocalModelsManagerService.getInstance();
reply(models.deleteModels(req.args));
});
+38 -39
View File
@@ -6,63 +6,62 @@ import { IpcRequest } from "shared/models/ipc";
import { Mod } from "shared/models/mods/mod.interface";
import { InstallModsResult } from "shared/models/mods";
import log from "electron-log";
import { IpcService } from "../services/ipc.service";
import { from } from "rxjs";
ipcMain.on("get-available-mods", (event, request: IpcRequest<BSVersion>) => {
const utils = UtilsService.getInstance();
const ipc = IpcService.getInstance();
ipc.on<BSVersion>("get-available-mods", (req, reply) => {
const modsManager = BsModsManagerService.getInstance();
modsManager.getAvailableMods(request.args).then(mods => {
utils.ipcSend(request.responceChannel, {success: true, data: mods});
}).catch(err =>{
utils.ipcSend(request.responceChannel, {success: false});
log.error("ipc", "get-available-mods", err, request);
});
reply(from(modsManager.getAvailableMods(req.args)));
});
ipcMain.on("get-installed-mods", (event, request: IpcRequest<BSVersion>) => {
const utils = UtilsService.getInstance();
ipc.on<BSVersion>("get-installed-mods", (req, reply) => {
const modsManager = BsModsManagerService.getInstance();
modsManager.getInstalledMods(request.args).then(mods => {
utils.ipcSend(request.responceChannel, {success: true, data: mods});
}).catch(err => {
utils.ipcSend(request.responceChannel, {success: false});
log.error("ipc", "get-installed-mods", err, request);
});
reply(from(modsManager.getInstalledMods(req.args)));
});
ipcMain.on("install-mods", (event, request: IpcRequest<{mods: Mod[], version: BSVersion}>) => {
ipcMain.on("install-mods", (event, request: IpcRequest<{ mods: Mod[]; version: BSVersion }>) => {
const utils = UtilsService.getInstance();
const modsManager = BsModsManagerService.getInstance();
modsManager.installMods(request.args.mods, request.args.version).then(nbInstalled => {
utils.ipcSend<InstallModsResult>(request.responceChannel, {success: true, data: nbInstalled})
}).catch(err => {
utils.ipcSend(request.responceChannel, {success: false, error: err});
log.error("ipc", "install-mods", err, request);
})
modsManager
.installMods(request.args.mods, request.args.version)
.then(nbInstalled => {
utils.ipcSend<InstallModsResult>(request.responceChannel, { success: true, data: nbInstalled });
})
.catch(err => {
utils.ipcSend(request.responceChannel, { success: false, error: err });
log.error("ipc", "install-mods", err, request);
});
});
ipcMain.on("uninstall-mods", (event, request: IpcRequest<{mods: Mod[], version: BSVersion}>) => {
ipcMain.on("uninstall-mods", (event, request: IpcRequest<{ mods: Mod[]; version: BSVersion }>) => {
const utils = UtilsService.getInstance();
const modsManager = BsModsManagerService.getInstance();
modsManager.uninstallMods(request.args.mods, request.args.version).then(nbInstalled => {
utils.ipcSend(request.responceChannel, {success: true, data: nbInstalled})
}).catch(err => {
utils.ipcSend(request.responceChannel, {success: false, error: err});
log.error("ipc", "uninstall-mods", err, request);
})
modsManager
.uninstallMods(request.args.mods, request.args.version)
.then(nbInstalled => {
utils.ipcSend(request.responceChannel, { success: true, data: nbInstalled });
})
.catch(err => {
utils.ipcSend(request.responceChannel, { success: false, error: err });
log.error("ipc", "uninstall-mods", err, request);
});
});
ipcMain.on("uninstall-all-mods", (event, request: IpcRequest<BSVersion>) => {
const utils = UtilsService.getInstance();
const modsManager = BsModsManagerService.getInstance();
modsManager.uninstallAllMods(request.args).then(nbInstalled => {
utils.ipcSend(request.responceChannel, {success: true, data: nbInstalled})
}).catch(err => {
utils.ipcSend(request.responceChannel, {success: false, error: err});
log.error("ipc", "uninstall-all-mods", err, request);
})
});
modsManager
.uninstallAllMods(request.args)
.then(nbInstalled => {
utils.ipcSend(request.responceChannel, { success: true, data: nbInstalled });
})
.catch(err => {
utils.ipcSend(request.responceChannel, { success: false, error: err });
log.error("ipc", "uninstall-all-mods", err, request);
});
});
+54
View File
@@ -0,0 +1,54 @@
import { ipcMain } from "electron";
import { IpcRequest } from "shared/models/ipc";
import { LocalPlaylistsManagerService } from "../services/additional-content/local-playlists-manager.service";
import { UtilsService } from "../services/utils.service";
ipcMain.on("one-click-install-playlist", async (event, request: IpcRequest<string>) => {
const utils = UtilsService.getInstance();
const playlists = LocalPlaylistsManagerService.getInstance();
playlists
.oneClickInstallPlaylist(request.args)
.then(() => {
utils.ipcSend(request.responceChannel, { success: true });
})
.catch(e => {
utils.ipcSend(request.responceChannel, { success: false, error: e });
});
});
ipcMain.on("register-playlists-deep-link", async (event, request: IpcRequest<void>) => {
const maps = LocalPlaylistsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.enableDeepLinks();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
ipcMain.on("unregister-playlists-deep-link", async (event, request: IpcRequest<void>) => {
const maps = LocalPlaylistsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.disableDeepLinks();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
ipcMain.on("is-playlists-deep-links-enabled", async (event, request: IpcRequest<void>) => {
const maps = LocalPlaylistsManagerService.getInstance();
const utils = UtilsService.getInstance();
try {
const res = maps.isDeepLinksEnabled();
utils.ipcSend(request.responceChannel, { success: true, data: res });
} catch (e) {
utils.ipcSend(request.responceChannel, { success: false });
}
});
+7 -11
View File
@@ -1,16 +1,12 @@
import { ipcMain } from "electron";
import { BSVersion } from 'shared/bs-version.interface';
import { UtilsService } from "../services/utils.service";
import { IpcRequest } from "shared/models/ipc";
import { BSVersion } from "shared/bs-version.interface";
import { BSLocalVersionService } from "../services/bs-local-version.service";
import { IpcService } from "../services/ipc.service";
import { from } from "rxjs";
ipcMain.on('bs.uninstall', async (event, request: IpcRequest<BSVersion>) => {
const ipc = IpcService.getInstance();
ipc.on<BSVersion>("bs.uninstall", (req, reply) => {
const bsLocalVersionService = BSLocalVersionService.getInstance();
const utilsService = UtilsService.getInstance();
if(!request.args){ utilsService.ipcSend(request.responceChannel, {success: false}); }
const res = await bsLocalVersionService.deleteVersion(request.args);
utilsService.ipcSend(request.responceChannel, {success: res});
});
reply(from(bsLocalVersionService.deleteVersion(req.args)));
});
+163 -40
View File
@@ -1,50 +1,173 @@
import { ipcMain } from 'electron';
import { UtilsService } from '../services/utils.service';
import { BSVersionLibService } from '../services/bs-version-lib.service'
import { BSVersion } from 'shared/bs-version.interface';
import path from 'path';
import { exec } from 'child_process';
import { SteamService } from '../services/steam.service';
import { BS_APP_ID } from '../constants';
import { IpcRequest } from 'shared/models/ipc';
import { BSLocalVersionService } from '../services/bs-local-version.service';
import { InstallationLocationService } from '../services/installation-location.service';
import { BsmException } from 'shared/models/bsm-exception.model';
import { ipcMain, shell } from "electron";
import { UtilsService } from "../services/utils.service";
import { BSVersionLibService } from "../services/bs-version-lib.service";
import { BSVersion } from "shared/bs-version.interface";
import { IpcRequest } from "shared/models/ipc";
import { BSLocalVersionService } from "../services/bs-local-version.service";
import { BsmException } from "shared/models/bsm-exception.model";
import { IpcService } from "../services/ipc.service";
import { from } from "rxjs";
import path from "path";
import { pathExist } from "../helpers/fs.helpers";
import { FolderLinkerService, LinkOptions } from "../services/folder-linker.service";
import { LocalMapsManagerService } from "../services/additional-content/local-maps-manager.service";
import { readJSON, writeJSON } from "fs-extra";
import log from "electron-log";
import { VersionLinkerAction } from "renderer/services/version-folder-linker.service";
import { VersionFolderLinkerService } from "../services/version-folder-linker.service";
ipcMain.on('bs-version.get-version-dict', (event, req: IpcRequest<void>) => {
BSVersionLibService.getInstance().getAvailableVersions().then(versions => {
UtilsService.getInstance().ipcSend(req.responceChannel, {success: true, data: versions});
}).catch(() => {
UtilsService.getInstance().ipcSend(req.responceChannel, {success: false});
})
const ipc = IpcService.getInstance();
ipcMain.on("bs-version.get-version-dict", (_event, req: IpcRequest<void>) => {
BSVersionLibService.getInstance()
.getAvailableVersions()
.then(versions => {
UtilsService.getInstance().ipcSend(req.responceChannel, { success: true, data: versions });
})
.catch(() => {
UtilsService.getInstance().ipcSend(req.responceChannel, { success: false });
});
});
ipcMain.on('bs-version.installed-versions', async (event, req: IpcRequest<void>) => {
BSLocalVersionService.getInstance().getInstalledVersions().then(versions => {
UtilsService.getInstance().ipcSend(req.responceChannel, {success: true, data: versions});
}).catch(() => {
UtilsService.getInstance().ipcSend(req.responceChannel, {success: false});
})
ipcMain.on("bs-version.installed-versions", async (_event, req: IpcRequest<void>) => {
BSLocalVersionService.getInstance()
.getInstalledVersions()
.then(versions => {
UtilsService.getInstance().ipcSend(req.responceChannel, { success: true, data: versions });
})
.catch(() => {
UtilsService.getInstance().ipcSend(req.responceChannel, { success: false });
});
});
ipcMain.on("bs-version.open-folder", async (event, req: IpcRequest<BSVersion>) => {
const localVersionService = BSLocalVersionService.getInstance();
const versionFolder = await localVersionService.getVersionPath(req.args);
UtilsService.getInstance().pathExist(versionFolder) && exec(`start "" "${versionFolder}"`);
ipcMain.on("bs-version.open-folder", async (_event, req: IpcRequest<BSVersion>) => {
const localVersionService = BSLocalVersionService.getInstance();
const versionFolder = await localVersionService.getVersionPath(req.args);
if (!(await pathExist(versionFolder))) return;
shell.openPath(versionFolder);
});
ipcMain.on("bs-version.edit", async (event, req: IpcRequest<{version: BSVersion, name: string, color: string}>) => {
BSLocalVersionService.getInstance().editVersion(req.args.version, req.args.name, req.args.color).then(res => {
UtilsService.getInstance().ipcSend(req.responceChannel, {success: !!res, data: res});
}).catch((error: BsmException) => {
UtilsService.getInstance().ipcSend(req.responceChannel, {success: false, error});
});
ipcMain.on("bs-version.edit", async (__event, req: IpcRequest<{ version: BSVersion; name: string; color: string }>) => {
BSLocalVersionService.getInstance()
.editVersion(req.args.version, req.args.name, req.args.color)
.then(res => {
UtilsService.getInstance().ipcSend(req.responceChannel, { success: !!res, data: res });
})
.catch((error: BsmException) => {
UtilsService.getInstance().ipcSend(req.responceChannel, { success: false, error });
});
});
ipcMain.on("bs-version.clone", async (event, req: IpcRequest<{version: BSVersion, name: string, color: string}>) => {
BSLocalVersionService.getInstance().cloneVersion(req.args.version, req.args.name, req.args.color).then(res => {
UtilsService.getInstance().ipcSend(req.responceChannel, {success: !!res, data: res});
}).catch((error: BsmException) => {
UtilsService.getInstance().ipcSend(req.responceChannel, {success: false, error});
});
ipcMain.on("bs-version.clone", async (_event, req: IpcRequest<{ version: BSVersion; name: string; color: string }>) => {
BSLocalVersionService.getInstance()
.cloneVersion(req.args.version, req.args.name, req.args.color)
.then(res => {
UtilsService.getInstance().ipcSend(req.responceChannel, { success: !!res, data: res });
})
.catch((error: BsmException) => {
UtilsService.getInstance().ipcSend(req.responceChannel, { success: false, error });
});
});
ipc.on("get-version-full-path", async (req: IpcRequest<BSVersion>, reply) => {
const localVersions = BSLocalVersionService.getInstance();
reply(from(localVersions.getVersionPath(req.args)));
});
ipc.on("relative-version-path-to-full", async (req: IpcRequest<{ version: BSVersion; relative: string }>, reply) => {
path.isAbsolute(req.args.relative) && reply(from(Promise.resolve(req.args.relative)));
const localVersions = BSLocalVersionService.getInstance();
const promise = localVersions
.getVersionPath(req.args.version)
.catch(() => null)
.then(versionPath => {
return path.join(versionPath, req.args.relative);
});
reply(from(promise));
});
ipc.on("full-version-path-to-relative", async (req: IpcRequest<{ version: BSVersion; fullPath: string }>, reply) => {
const localVersions = BSLocalVersionService.getInstance();
const promise = localVersions
.getVersionPath(req.args.version)
.catch(() => null)
.then(versionPath => {
return path.relative(versionPath, req.args.fullPath);
});
reply(from(promise));
});
ipc.on("get-linked-folders", async (req: IpcRequest<{ version: BSVersion; options?: { relative?: boolean } }>, reply) => {
const versionLinker = VersionFolderLinkerService.getInstance();
reply(from(versionLinker.getLinkedFolders(req.args.version, req.args.options)));
});
ipc.on("link-folder", async (req: IpcRequest<{ folder: string; options?: LinkOptions }>, reply) => {
req.args.options ??= {};
const linker = FolderLinkerService.getInstance();
const relativeMapsFolder = path.join(LocalMapsManagerService.LEVELS_ROOT_FOLDER, LocalMapsManagerService.CUSTOM_LEVELS_FOLDER);
if (req.args.folder.includes(relativeMapsFolder)) {
return reply(from(linker.linkFolder(req.args.folder, { keepContents: req.args.options?.keepContents, intermediateFolder: LocalMapsManagerService.SHARED_MAPS_FOLDER })));
}
if (req.args.folder.includes("UserData")) {
req.args.options = { ...req.args.options, backup: true };
}
const res = from(linker.linkFolder(req.args.folder, req.args.options));
const jsonIPAPath = path.join(req.args.folder, "Beat Saber IPA.json");
if (!(await pathExist(jsonIPAPath))) {
return reply(res);
}
await res.toPromise();
try {
const ipaData = (await readJSON(jsonIPAPath)) ?? ({} as any);
ipaData.YeetMods = false;
await writeJSON(jsonIPAPath, ipaData, { spaces: 4 });
} catch (e) {
log.error("Disable YeetMods", e);
}
reply(res);
});
ipc.on("link-version-folder-action", async (req: IpcRequest<VersionLinkerAction>, reply) => {
const versionLinker = VersionFolderLinkerService.getInstance();
reply(from(versionLinker.doAction(req.args)));
});
ipc.on("is-version-folder-linked", async (req: IpcRequest<{ version: BSVersion; relativeFolder: string }>, reply) => {
const versionLinker = VersionFolderLinkerService.getInstance();
reply(from(versionLinker.isFolderLinked(req.args.version, req.args.relativeFolder)));
});
ipc.on("unlink-folder", async (req: IpcRequest<{ folder: string; options?: LinkOptions }>, reply) => {
req.args.options ??= {};
const linker = FolderLinkerService.getInstance();
const relativeMapsFolder = path.join(LocalMapsManagerService.LEVELS_ROOT_FOLDER, LocalMapsManagerService.CUSTOM_LEVELS_FOLDER);
if (req.args.folder.includes(relativeMapsFolder)) {
return reply(from(linker.unlinkFolder(req.args.folder, { ...req.args.options, intermediateFolder: LocalMapsManagerService.SHARED_MAPS_FOLDER })));
}
if (req.args.folder.includes("UserData")) {
req.args.options = { ...req.args.options, backup: true };
}
reply(from(linker.unlinkFolder(req.args.folder, req.args.options)));
});
ipc.on("relink-all-versions-folders", async (req: IpcRequest<void>, reply) => {
const versionLinker = VersionFolderLinkerService.getInstance();
reply(from(versionLinker.relinkAllVersionsFolders()));
});
+14 -10
View File
@@ -1,10 +1,14 @@
import './bs-download-ipcs';
import './os-controls-ipcs';
import './bs-launcher-ipcs';
import './bs-version-ipcs';
import './bs-uninstall-ipcs';
import './map-ipcs';
import './supporters-ipcs';
import './launcher-ipcs';
import './window-manager-ipcs';
import './bs-mods-ipcs';
import "./bs-download-ipcs";
import "./os-controls-ipcs";
import "./bs-launcher-ipcs";
import "./bs-version-ipcs";
import "./bs-uninstall-ipcs";
import "./supporters-ipcs";
import "./launcher-ipcs";
import "./window-manager-ipcs";
import "./bs-mods-ipcs";
import "./bs-maps-ipcs";
import "./beat-saver-ipcs";
import "./bs-playlist-ipcs";
import "./model-saber.ipcs";
import "./bs-model-ipcs";
+11 -14
View File
@@ -2,30 +2,27 @@ import { ipcMain } from "electron";
import { AutoUpdaterService } from "../services/auto-updater.service";
import { IpcRequest } from "shared/models/ipc";
import { UtilsService } from "../services/utils.service";
import { IpcService } from "../services/ipc.service";
import { from } from "rxjs";
const ipc = IpcService.getInstance();
ipcMain.on("download-update", async (event, request: IpcRequest<void>) => {
const updaterService = AutoUpdaterService.getInstance();
const utilsService = UtilsService.getInstance();
updaterService.downloadUpdate().then(res => utilsService.ipcSend(request.responceChannel, {success: res}))
.catch(() => utilsService.ipcSend(request.responceChannel, {success: false}));
updaterService
.downloadUpdate()
.then(res => utilsService.ipcSend(request.responceChannel, { success: res }))
.catch(() => utilsService.ipcSend(request.responceChannel, { success: false }));
});
ipcMain.on("check-update", async (event, request: IpcRequest<void>) => {
ipc.on("check-update", (_, reply) => {
const updaterService = AutoUpdaterService.getInstance();
const utilsService = UtilsService.getInstance();
updaterService.isUpdateAvailable().then(updateAvailable => {
utilsService.ipcSend(request.responceChannel, {success: true, data: updateAvailable});
})
.catch(() => utilsService.ipcSend(request.responceChannel, {success: false}));
reply(from(updaterService.isUpdateAvailable()));
});
ipcMain.on("install-update", async (event, request: IpcRequest<void>) => {
const updaterService = AutoUpdaterService.getInstance();
updaterService.quitAndInstall();
});
});
-13
View File
@@ -1,13 +0,0 @@
import { ipcMain} from 'electron';
import { MapService } from '../services/map.service';
import { UtilsService } from '../services/utils.service';
import { IpcRequest } from 'shared/models/ipc';
import { ExportVersionMapsOption } from 'shared/models/maps/export-version-maps.model';
ipcMain.on("map.export-version", (event, request: IpcRequest<ExportVersionMapsOption>) => {
const utils = UtilsService.getInstance();
const mapService = MapService.getInstance();
mapService.exportVersionMaps(request.args.version, request.args.path).then(() => {
utils.ipcSend(request.responceChannel, {success: true});
}).catch(() => utils.ipcSend(request.responceChannel, {success: false, error: {title: "", msg: ""}}));
});
+26
View File
@@ -0,0 +1,26 @@
import { ipcMain } from "electron";
import { IpcRequest } from "shared/models/ipc";
import { ModelSaberService } from "../services/thrid-party/model-saber/model-saber.service";
import { UtilsService } from "../services/utils.service";
import { IpcService } from "../services/ipc.service";
import { MSGetQuery } from "shared/models/models/model-saber.model";
const ipc = IpcService.getInstance();
ipcMain.on("ms-get-model-by-id", async (event, request: IpcRequest<string | number>) => {
const utils = UtilsService.getInstance();
const ms = ModelSaberService.getInstance();
ms.getModelById(request.args)
.then(model => {
utils.ipcSend(request.responceChannel, { success: true, data: model });
})
.catch(e => {
utils.ipcSend(request.responceChannel, { success: false, error: e });
});
});
ipc.on<MSGetQuery>("search-models", async (req, reply) => {
const ms = ModelSaberService.getInstance();
reply(ms.searchModels(req.args));
});
+48 -27
View File
@@ -1,54 +1,75 @@
import { ipcMain, shell, dialog, app } from 'electron';
import { UtilsService } from '../services/utils.service';
import { IpcRequest } from 'shared/models/ipc';
import { ipcMain, shell, dialog, app } from "electron";
import { UtilsService } from "../services/utils.service";
import { IpcRequest } from "shared/models/ipc";
import { SystemNotificationOptions } from "shared/models/notification/system-notification.model";
import { NotificationService } from "../services/notification.service";
import { SteamService } from "../services/steam.service";
import { IpcService } from "../services/ipc.service";
import { from, of } from "rxjs";
ipcMain.on('window.close', async () => {
// TODO IMPROVE WINDOW CONTROL BY USING WINDOW SERVICE
const ipc = IpcService.getInstance();
ipcMain.on("window.maximize", async () => {
const utils = UtilsService.getInstance();
utils.getMainWindow()?.close();
utils.getMainWindows("index.html")?.maximize();
});
ipcMain.on('window.maximize', async () => {
ipcMain.on("window.minimize", async () => {
const utils = UtilsService.getInstance();
utils.getMainWindow()?.maximize();
utils.getMainWindows("index.html")?.minimize();
});
ipcMain.on('window.minimize', async () => {
ipcMain.on("window.reset", async () => {
const utils = UtilsService.getInstance();
utils.getMainWindow()?.minimize();
utils.getMainWindows("index.html")?.restore();
});
ipcMain.on('window.reset', async () => {
const utils = UtilsService.getInstance();
utils.getMainWindow()?.restore();
});
ipcMain.on('new-window', async (event, request: IpcRequest<string>) => {
ipcMain.on("new-window", async (event, request: IpcRequest<string>) => {
shell.openExternal(request.args);
});
ipcMain.on('choose-folder', async (event, request: IpcRequest<void>) => {
dialog.showOpenDialog({properties: ['openDirectory']}).then(res => {
UtilsService.getInstance().ipcSend(request.responceChannel, {success: true, data: res});
});
ipc.on<string>("choose-folder", async (req, reply) => {
reply(from(dialog.showOpenDialog({ properties: ["openDirectory"], defaultPath: req.args ?? "" })));
});
ipcMain.on("window.progression", async (event, request: IpcRequest<number>) => {
const utils = UtilsService.getInstance();
utils.getMainWindow().setProgressBar(request.args / 100);
utils.getMainWindows("index.html")?.setProgressBar(request.args / 100);
});
ipcMain.on('save-file', async (event, request: IpcRequest<{filename?: string, filters?: Electron.FileFilter[]}>) => {
dialog.showSaveDialog({properties: ['showOverwriteConfirmation'], defaultPath: request.args.filename, filters: request.args.filters}).then(res => {
ipcMain.on("save-file", async (event, request: IpcRequest<{ filename?: string; filters?: Electron.FileFilter[] }>) => {
dialog.showSaveDialog({ properties: ["showOverwriteConfirmation"], defaultPath: request.args.filename, filters: request.args.filters }).then(res => {
const utils = UtilsService.getInstance();
if(res.canceled || !res.filePath){ utils.ipcSend(request.responceChannel, {success: false}); }
UtilsService.getInstance().ipcSend(request.responceChannel, {success: true, data: res.filePath});
})
if (res.canceled || !res.filePath) {
utils.ipcSend(request.responceChannel, { success: false });
}
UtilsService.getInstance().ipcSend(request.responceChannel, { success: true, data: res.filePath });
});
});
ipcMain.on("current-version", async (event, request: IpcRequest<void>) => {
UtilsService.getInstance().ipcSend(request.responceChannel, {success: true, data: app.getVersion()});
ipc.on("current-version", (_, reply) => {
reply(of(app.getVersion()));
});
ipcMain.on("open-logs", async (event, request: IpcRequest<void>) => {
shell.openPath(app.getPath("logs"));
});
ipcMain.on("notify-system", async (event, request: IpcRequest<SystemNotificationOptions>) => {
NotificationService.getInstance().notify(request.args);
});
ipcMain.on("open-steam", async (event, request: IpcRequest<void>) => {
const steam = SteamService.getInstance();
const utils = UtilsService.getInstance();
steam
.openSteam()
.then(res => {
utils.ipcSend(request.responceChannel, { success: true, data: res });
})
.catch(e => {
utils.ipcSend(request.responceChannel, { success: false, error: e });
});
});
+10 -7
View File
@@ -1,15 +1,18 @@
import { ipcMain } from "electron";
import { SupportersService } from "../services/supporters.service";
import { IpcRequest } from "shared/models/ipc";
import { UtilsService } from '../services/utils.service';
import { UtilsService } from "../services/utils.service";
ipcMain.on("get-supporters", (event, request: IpcRequest<void>) => {
const utils = UtilsService.getInstance();
const supportersService = SupportersService.getInstance();
supportersService.getSupporters().then(supporters => {
utils.ipcSend(request.responceChannel, {success: true, data: supporters});
}).catch(() => {
utils.ipcSend(request.responceChannel, {success: false});
});
});
supportersService
.getSupporters()
.then(supporters => {
utils.ipcSend(request.responceChannel, { success: true, data: supporters });
})
.catch(() => {
utils.ipcSend(request.responceChannel, { success: false });
});
});

Some files were not shown because too many files have changed in this diff Show More