1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00
This commit is contained in:
Andrew Simachev 2020-11-24 01:14:06 +03:00
parent f488ed87d6
commit a9673b7f6a
2 changed files with 8 additions and 8 deletions

View file

@ -34,12 +34,12 @@ let tray = null;
let menu = null;
let csp = [
"default-src 'self' 'unsafe-eval'",
"img-src 'self' http://*:* https://*:* data: blob:",
"media-src 'self' http://*:* https://*:* data: blob:",
"style-src 'unsafe-inline' http://localhost:*",
"font-src data:",
"img-src 'self' http://*:* https://*:* data: blob: file://*",
"media-src 'self' http://*:* https://*:* data: blob: file://*",
"style-src 'unsafe-inline' http://localhost:* file://*",
"font-src data: file://*",
"connect-src http://localhost:* http://127.0.0.1:* ws://localhost:* https://sentry.anytype.io https://anytype.io https://api.amplitude.com/ devtools://devtools data:",
"script-src-elem http://localhost:* https://sentry.io devtools://devtools 'unsafe-inline'",
"script-src-elem file://* http://localhost:* https://sentry.io devtools://devtools 'unsafe-inline'",
"frame-src chrome-extension://react-developer-tools"
];
let autoUpdate = false;
@ -340,8 +340,8 @@ function menuInit () {
label: 'About Anytype',
click: () => {
openAboutWindow({
icon_path: __dirname + '/electron/icon.png',
css_path: __dirname + '/electron/about.css',
icon_path: path.join(__dirname, '/electron/icon.png'),
css_path: path.join(__dirname, '/electron/about.css'),
product_name: 'Anytype',
description: 'Anytype is a next generation software that breaks down barriers between applications, gives back privacy and data ownership to users.',
copyright: 'Copyright (c) 2020 Anytype',