Skip to content

Commit

Permalink
Merge branch 'master' into chore/add-beatsaber-desktop-version-info
Browse files Browse the repository at this point in the history
  • Loading branch information
Zagrios committed Feb 25, 2025
2 parents 14f079b + 3f10d59 commit ea7527d
Show file tree
Hide file tree
Showing 21 changed files with 157 additions and 72 deletions.
6 changes: 6 additions & 0 deletions assets/jsons/patreons.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,11 @@
{
"username": "Arts Rimuro Suraimu",
"type": "gold"
},
{
"username": "Ricardo Boss"
},
{
"username": "Jesper Norsted"
}
]
5 changes: 5 additions & 0 deletions assets/jsons/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Name",
"size": "Größe",
"installed": "Installiert",
"latest": "Neueste",
"description": "Beschreibung",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "Alle deinstallieren",
"unselect-all": "Alle abwählen"
}
},
"mod-item": {
"this-is-a-large-mod": "Das ist ein großer Mod!",
"this-is-a-very-large-mod": "Das ist ein sehr großer Mod!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Name",
"size": "Size",
"installed": "Installed",
"latest": "Latest",
"description": "Description",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "Uninstall all",
"unselect-all": "Unselect all"
}
},
"mod-item":{
"this-is-a-large-mod": "This is a large mod!",
"this-is-a-very-large-mod": "This is a very large mod!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Nombre",
"size": "Tamaño",
"installed": "Instalado",
"latest": "Último",
"description": "Descripción",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "Desinstalar todos",
"unselect-all": "Deseleccionar todo"
}
},
"mod-item": {
"this-is-a-large-mod": "¡Este es un mod grande!",
"this-is-a-very-large-mod": "¡Este es un mod muy grande!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Nom",
"size": "Taille",
"installed": "Installé",
"latest": "Récent",
"description": "Description",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "Tout désinstaller",
"unselect-all": "Tout désélectionner"
}
},
"mod-item": {
"this-is-a-large-mod": "C'est un mod volumineux !",
"this-is-a-very-large-mod": "C'est un mod très volumineux !"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Nome",
"size": "Dimensione",
"installed": "Installata",
"latest": "Ultima Versione",
"description": "Descrizione",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "Disinstalla tutto",
"unselect-all": "Deseleziona tutto"
}
},
"mod-item": {
"this-is-a-large-mod": "Questo è un mod grande!",
"this-is-a-very-large-mod": "Questo è un mod molto grande!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "名前",
"size": "サイズ",
"installed": "インストール済み",
"latest": "最新",
"description": "說明",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "全てアンインストールする",
"unselect-all": "すべて選択解除"
}
},
"mod-item": {
"this-is-a-large-mod": "これは大きなModです!",
"this-is-a-very-large-mod": "これは非常に大きなModです!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "이름",
"size": "크기",
"installed": "설치됨",
"latest": "최신",
"description": "설명",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "모두 제거",
"unselect-all": "모두 선택 해제"
}
},
"mod-item": {
"this-is-a-large-mod": "이것은 큰 모드입니다!",
"this-is-a-very-large-mod": "이것은 매우 큰 모드입니다!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Nome",
"size": "tamanho",
"installed": "Instalado",
"latest": "Mais recente",
"description": "Descrição",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "Desinstalar todos",
"unselect-all": "Desmarcar todos"
}
},
"mod-item": {
"this-is-a-large-mod": "Este é um mod grande!",
"this-is-a-very-large-mod": "Este é um mod muito grande!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Имя",
"size": "Размер",
"installed": "Установлено",
"latest": "Latest",
"description": "Описание",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "Удалить всё",
"unselect-all": "Снять все выделения"
}
},
"mod-item": {
"this-is-a-large-mod": "Это большой мод!",
"this-is-a-very-large-mod": "Это очень большой мод!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/tl.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Pangalan",
"size": "laki",
"installed": "Naka-install",
"latest": "Pinakabago",
"description": "Deskripsyon",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "I-uninstall ang lahat",
"unselect-all": "I-unselect and lahat"
}
},
"mod-item": {
"this-is-a-large-mod": "Ito ay isang malaking mod!",
"this-is-a-very-large-mod": "Ito ay isang napakalaking mod!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "Назва",
"size": "розмір",
"installed": "Встановлено",
"latest": "Остання",
"description": "Опис",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "Видалити всі",
"unselect-all": "Зняти виділення з всіх"
}
},
"mod-item": {
"this-is-a-large-mod": "Це великий мод!",
"this-is-a-very-large-mod": "Це дуже великий мод!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "名稱",
"size": "大小",
"installed": "已安裝",
"latest": "最新",
"description": "描述",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "全部移除",
"unselect-all": "取消全選"
}
},
"mod-item": {
"this-is-a-large-mod": "這是一個大型Mod!",
"this-is-a-very-large-mod": "這是一個非常大型的Mod!"
}
},
"notifications": {
Expand Down
5 changes: 5 additions & 0 deletions assets/jsons/translations/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
"mods-grid": {
"header-bar": {
"name": "名称",
"size": "大小",
"installed": "已安装",
"latest": "最新",
"description": "描述",
Expand All @@ -152,6 +153,10 @@
"uninstall-all": "全部卸载",
"unselect-all": "取消全选"
}
},
"mod-item": {
"this-is-a-large-mod": "这是一个大型Mod!",
"this-is-a-very-large-mod": "这是一个非常大型的Mod!"
}
},
"notifications": {
Expand Down
67 changes: 0 additions & 67 deletions src/main/decorators/log.decorator.ts

This file was deleted.

3 changes: 1 addition & 2 deletions src/main/helpers/fs.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { access, mkdir, readdir, lstat, readlink } from "fs/promises";
import path from "path";
import { Observable, concatMap, from } from "rxjs";
import log from "electron-log";
import { BsmException } from "shared/models/bsm-exception.model";
import crypto from "crypto";
import { execSync } from "child_process";
import { tryit } from "../../shared/helpers/error.helpers";
Expand Down Expand Up @@ -181,7 +180,7 @@ export function isSubdirectory(parent: string, child: string): boolean {

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;
throw new CustomError(`Cannot copy directory '${src}' into itself '${dest}'.`, "COPY_TO_SUBPATH");
}

await ensureDir(dest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export class SongCacheService {
private readonly mapsInfoCache: JsonCache<CachedMapInfoWithHash>;

private constructor(){
console.log(this.MAPS_INFO_CACHE_PATH);
this.mapsInfoCache = new JsonCache(this.MAPS_INFO_CACHE_PATH);
}

Expand Down
Loading

0 comments on commit ea7527d

Please sign in to comment.