Fix csp causing blank screen in release mode

This commit is contained in:
lights0123 2021-11-13 12:42:10 -05:00
parent 89a613d25a
commit 0472908ef4
No known key found for this signature in database
GPG key ID: 28F315322E37972F
2 changed files with 4 additions and 2 deletions

View file

@ -8,3 +8,5 @@ WixTools
config.json config.json
bundle.json bundle.json
/.cargo

View file

@ -13,7 +13,7 @@
], ],
"resources": [], "resources": [],
"externalBin": [], "externalBin": [],
"copyright": "Copyright (c) 2020 Ben Schattinger. Licensed under GPL-3.0", "copyright": "Copyright (c) 2021 Ben Schattinger. Licensed under GPL-3.0",
"category": "Utility", "category": "Utility",
"shortDescription": "Free, cross-platform, CX-II compatible computer linking program for the TI-Nspire", "shortDescription": "Free, cross-platform, CX-II compatible computer linking program for the TI-Nspire",
"longDescription": "Free, cross-platform, CX-II compatible computer linking program for the TI-Nspire", "longDescription": "Free, cross-platform, CX-II compatible computer linking program for the TI-Nspire",
@ -52,7 +52,7 @@
} }
], ],
"security": { "security": {
"csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'" "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
} }
} }
} }