From aeeae93b93eec959149d6bd5cf87c31e05bc9478 Mon Sep 17 00:00:00 2001 From: Oliver Rose Date: Sun, 7 Dec 2025 14:50:32 -0500 Subject: [PATCH 1/2] fix: update csp --- src-tauri/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 453f3b6e..530210c8 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -30,7 +30,7 @@ "$APPCONFIG/**" ] }, - "csp": "default-src 'self' ipc: http://ipc.localhost; style-src 'self' asset: http://asset.localhost" + "csp": "default-src 'self' https: ipc: http://ipc.localhost; style-src 'self' 'unsafe-inline' asset: http://asset.localhost" } }, "bundle": { From 1f4934f57e23d514169296ee33d1653b23b5c3e3 Mon Sep 17 00:00:00 2001 From: Oliver Rose Date: Sun, 7 Dec 2025 15:08:40 -0500 Subject: [PATCH 2/2] add img-src --- src-tauri/tauri.conf.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 530210c8..c3998b26 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -30,18 +30,27 @@ "$APPCONFIG/**" ] }, - "csp": "default-src 'self' https: ipc: http://ipc.localhost; style-src 'self' 'unsafe-inline' asset: http://asset.localhost" + "csp": "default-src 'self' https: ipc: http://ipc.localhost; style-src 'self' 'unsafe-inline' asset: http://asset.localhost; img-src 'self' data: https:" } }, "bundle": { "active": true, "targets": "all", "icon": [ + "icons/icon.icns", + "icons/icon.ico", "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", - "icons/icon.icns", - "icons/icon.ico" + "icons/icon.png", + "icons/Square30x30Logo.png", + "icons/Square44x44Logo.png", + "icons/Square71x71Logo.png", + "icons/Square89x89Logo.png", + "icons/Square150x150Logo.png", + "icons/Square284x284Logo.png", + "icons/Square310x310Logo.png", + "icons/StoreLogo.png" ] } }