Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
@@ -0,0 +1,5 @@
+---
+"cli.rs": patch
+
+Add `'self'` to default CSP because otherwise no joy on macOS.
@@ -18,7 +18,7 @@
}
],
"security": {
- "csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
+ "csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self'"
},
"updater": {
"active": false
@@ -78,7 +78,7 @@
- "csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' img-src: 'self'"
+ "csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
"systemTray": {
"iconPath": "../../.icons/icon.png"
@@ -47,7 +47,7 @@
@@ -39,7 +39,7 @@
@@ -48,7 +48,7 @@
@@ -42,7 +42,7 @@
"active": true,
@@ -61,7 +61,7 @@