|
1 | 1 | { |
2 | | - "productName": "Fluster", |
3 | | - "version": "0.3.21", |
4 | | - "identifier": "com.fluster.app", |
5 | | - "build": { |
6 | | - "beforeDevCommand": "pnpm dev", |
7 | | - "devUrl": "http://localhost:1420", |
8 | | - "beforeBuildCommand": "pnpm run build", |
9 | | - "frontendDist": "../dist" |
10 | | - }, |
11 | | - "app": { |
12 | | - "withGlobalTauri": true, |
13 | | - "windows": [ |
| 2 | + "productName": "Fluster", |
| 3 | + "version": "0.3.21", |
| 4 | + "identifier": "com.fluster.app", |
| 5 | + "build": { |
| 6 | + "beforeDevCommand": "pnpm dev", |
| 7 | + "devUrl": "http://localhost:1420", |
| 8 | + "beforeBuildCommand": "pnpm run build", |
| 9 | + "frontendDist": "../dist" |
| 10 | + }, |
| 11 | + "app": { |
| 12 | + "withGlobalTauri": true, |
| 13 | + "windows": [ |
| 14 | + { |
| 15 | + "label": "main", |
| 16 | + "title": "Fluster", |
| 17 | + "titleBarStyle": "Overlay", |
| 18 | + "maximized": true |
| 19 | + } |
| 20 | + ], |
| 21 | + "security": { |
| 22 | + "csp": { |
| 23 | + "default-src": "*", |
| 24 | + "connect-src": "'self' http: https: ws: wss: blob: ipc: http://ipc.localhost", |
| 25 | + "style-src": "'self' 'unsafe-inline'", |
| 26 | + "img-src": "*", |
| 27 | + "script-src": "'self' 'unsafe-inline' 'unsafe-eval' *", |
| 28 | + "frame-src": "*" |
| 29 | + }, |
| 30 | + "assetProtocol": { |
| 31 | + "enable": true, |
| 32 | + "scope": ["**"] |
| 33 | + }, |
| 34 | + "capabilities": [ |
| 35 | + { |
| 36 | + "identifier": "draggable-window", |
| 37 | + "windows": ["*"], |
| 38 | + "permissions": [ |
| 39 | + "core:default", |
| 40 | + "core:window:allow-start-dragging", |
| 41 | + "log:allow-log", |
| 42 | + "log:default", |
| 43 | + "dialog:allow-open", |
| 44 | + "dialog:allow-save", |
| 45 | + "clipboard-manager:allow-write-text", |
| 46 | + "clipboard-manager:allow-read-text", |
| 47 | + "clipboard-manager:allow-read-image", |
14 | 48 | { |
15 | | - "label": "main", |
16 | | - "title": "Fluster", |
17 | | - "titleBarStyle": "Overlay", |
18 | | - "maximized": true |
19 | | - } |
20 | | - ], |
21 | | - "security": { |
22 | | - "csp": { |
23 | | - "default-src": "*", |
24 | | - "connect-src": "'self' http: https: ws: wss: blob: ipc: http://ipc.localhost", |
25 | | - "style-src": "'self' 'unsafe-inline'", |
26 | | - "img-src": "*", |
27 | | - "script-src": "'self' 'unsafe-inline' 'unsafe-eval' *", |
28 | | - "frame-src": "*" |
| 49 | + "identifier": "shell:allow-spawn", |
| 50 | + "allow": [ |
| 51 | + { |
| 52 | + "name": "../src-python/fluster_sidecar_api/dist/fluster_python_sidecar", |
| 53 | + "sidecar": true |
| 54 | + } |
| 55 | + ] |
29 | 56 | }, |
30 | | - "assetProtocol": { |
31 | | - "enable": true, |
32 | | - "scope": [ |
33 | | - "**" |
34 | | - ] |
| 57 | + { |
| 58 | + "identifier": "opener:allow-open-url", |
| 59 | + "allow": [ |
| 60 | + { |
| 61 | + "url": "https://*" |
| 62 | + } |
| 63 | + ] |
35 | 64 | }, |
36 | | - "capabilities": [ |
| 65 | + "opener:allow-reveal-item-in-dir", |
| 66 | + { |
| 67 | + "identifier": "opener:allow-open-path", |
| 68 | + "allow": [ |
37 | 69 | { |
38 | | - "identifier": "draggable-window", |
39 | | - "windows": [ |
40 | | - "*" |
41 | | - ], |
42 | | - "permissions": [ |
43 | | - "core:default", |
44 | | - "core:window:allow-start-dragging", |
45 | | - "log:allow-log", |
46 | | - "log:default", |
47 | | - "dialog:allow-open", |
48 | | - "dialog:allow-save", |
49 | | - "clipboard-manager:allow-write-text", |
50 | | - "clipboard-manager:allow-read-text", |
51 | | - "clipboard-manager:allow-read-image", |
52 | | - { |
53 | | - "identifier": "shell:allow-spawn", |
54 | | - "allow": [ |
55 | | - { |
56 | | - "name": "../src-python/fluster_sidecar_api/dist/fluster_python_sidecar", |
57 | | - "sidecar": true |
58 | | - } |
59 | | - ] |
60 | | - }, |
61 | | - { |
62 | | - "identifier": "opener:allow-open-url", |
63 | | - "allow": [ |
64 | | - { |
65 | | - "url": "https://*" |
66 | | - } |
67 | | - ] |
68 | | - }, |
69 | | - "opener:allow-reveal-item-in-dir", |
70 | | - { |
71 | | - "identifier": "opener:allow-open-path", |
72 | | - "allow": [ |
73 | | - { |
74 | | - "path": "*" |
75 | | - } |
76 | | - ] |
77 | | - } |
78 | | - ] |
| 70 | + "path": "*" |
79 | 71 | } |
80 | | - ] |
81 | | - } |
82 | | - }, |
83 | | - "bundle": { |
84 | | - "active": true, |
85 | | - "targets": "all", |
86 | | - "category": "Education", |
87 | | - "createUpdaterArtifacts": false, |
88 | | - "shortDescription": "Free & open source academic note taking.", |
89 | | - "publisher": "Fluster", |
90 | | - "icon": [ |
91 | | - "icons/icon_bundle/fluster_profile_photo.png", |
92 | | - "icons/icon_bundle/1024-mac.icns", |
93 | | - "icons/icon_bundle/logo.ico" |
94 | | - ], |
95 | | - "resources": [ |
96 | | - "../public/**/*", |
97 | | - "./infoplist/*" |
98 | | - ], |
99 | | - "macOS": { |
100 | | - "signingIdentity": "-" |
| 72 | + ] |
| 73 | + } |
| 74 | + ] |
101 | 75 | } |
| 76 | + ] |
| 77 | + } |
| 78 | + }, |
| 79 | + "bundle": { |
| 80 | + "active": true, |
| 81 | + "targets": "all", |
| 82 | + "category": "Education", |
| 83 | + "createUpdaterArtifacts": false, |
| 84 | + "shortDescription": "Free & open source academic note taking.", |
| 85 | + "publisher": "Fluster", |
| 86 | + "icon": [ |
| 87 | + "icons/icon_bundle/fluster_profile_photo.png", |
| 88 | + "icons/icon_bundle/1024-mac.icns", |
| 89 | + "icons/icon_bundle/logo.ico" |
| 90 | + ], |
| 91 | + "resources": ["../public/**/*", "./infoplist/*"], |
| 92 | + "macOS": { |
| 93 | + "signingIdentity": "-" |
102 | 94 | } |
| 95 | + } |
103 | 96 | } |
0 commit comments