fix: csp font-src rule, remove debug log

This commit is contained in:
HorizonCode committed 2026-05-28 22:52:46 +02:00
1 parent 29359c9242
commit d5e5fd4c43
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1239,7 +1239,7 @@ dependencies = [
[[package]] [[package]]
name = "ezpplauncher" name = "ezpplauncher"
version = "3.2.1" version = "3.2.2"
dependencies = [ dependencies = [
"aes-gcm", "aes-gcm",
"anyhow", "anyhow",
+2
View File
@@ -36,6 +36,8 @@
"font-src": [ "font-src": [
"'self'", "'self'",
"asset:", "asset:",
"blob:",
"data:",
"http://asset.localhost", "http://asset.localhost",
"https://asset.localhost" "https://asset.localhost"
] ]
-1
View File
@@ -135,7 +135,6 @@
currentLoadingInfo.set('Checking osu installation path...'); currentLoadingInfo.set('Checking osu installation path...');
const config_osu_installation_path = config.value<string>('osu_installation_path'); const config_osu_installation_path = config.value<string>('osu_installation_path');
const osuInstallationPathVal = await config_osu_installation_path.get(''); const osuInstallationPathVal = await config_osu_installation_path.get('');
console.log('Checking osu! installation path:', osuInstallationPath);
const validFolder = await isValidOsuFolder(osuInstallationPathVal); const validFolder = await isValidOsuFolder(osuInstallationPathVal);
if (!validFolder) { if (!validFolder) {
await config_osu_installation_path.set(''); await config_osu_installation_path.set('');