Skip to content

Commit 3459264

Browse files
committed
Add diagram images to website for hosting
1 parent b12ed7c commit 3459264

File tree

3 files changed

+88
-94
lines changed

3 files changed

+88
-94
lines changed
Lines changed: 87 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,96 @@
11
{
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",
1448
{
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+
]
2956
},
30-
"assetProtocol": {
31-
"enable": true,
32-
"scope": [
33-
"**"
34-
]
57+
{
58+
"identifier": "opener:allow-open-url",
59+
"allow": [
60+
{
61+
"url": "https://*"
62+
}
63+
]
3564
},
36-
"capabilities": [
65+
"opener:allow-reveal-item-in-dir",
66+
{
67+
"identifier": "opener:allow-open-path",
68+
"allow": [
3769
{
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": "*"
7971
}
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+
]
10175
}
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": "-"
10294
}
95+
}
10396
}
55.1 KB
Loading

apps/website/src/features/docs/pdf_component/pdf_component_wrapped.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export const PdfComponentWrapped = (
3939
if (width < 0) {
4040
return;
4141
}
42+
4243
return (
4344
<Document
4445
/* className="w-[calc(100%-4rem)]" */

0 commit comments

Comments
 (0)