Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit a8337c5

Browse files
authored
Merge branch 'develop' into develop
2 parents eb91834 + 2f9a75b commit a8337c5

File tree

89 files changed

+6936
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+6936
-121
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
paths-ignore:
99
- "docs/**"
1010
- "bin/**"
11+
workflow_dispatch:
1112

1213
concurrency:
1314
group: ${{ github.workflow }}-${{ github.ref }}

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@ data-test/
1616
tmp/
1717
.eslintcache
1818

19-
out/
19+
out/
20+
21+
images/app-icons/png/16x16.png
22+
images/app-icons/png/32x32.png
23+
images/app-icons/png/512x512.png
24+
images/app-icons/png/1024x1024.png
25+
images/app-icons/mac/*.png

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ See [screenshots](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) for q
1212

1313
[The original Trilium project is in maintenance mode](https://github.com/zadam/trilium/issues/4620)
1414

15-
## 🗭 Discuss with us
15+
## 💬 Discuss with us
1616

1717
Feel free to join our official discussions and community. We are focused on the development on Trilium, and would love to hear what features, suggestions, or issues you may have!
1818

bin/create-icons.sh

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/usr/bin/env bash
2+
3+
if ! command -v magick &> /dev/null; then
4+
echo "This tool requires ImageMagick to be installed in order to create the icons."
5+
exit 1
6+
fi
7+
8+
if ! command -v inkscape &> /dev/null; then
9+
echo "This tool requires Inkscape to be render sharper SVGs than ImageMagick."
10+
exit 1
11+
fi
12+
13+
if ! command -v icnsutil &> /dev/null; then
14+
echo "This tool requires icnsutil to be installed in order to generate macOS icons."
15+
exit 1
16+
fi
17+
18+
script_dir=$(realpath $(dirname $0))
19+
cd "${script_dir}/../images/app-icons"
20+
inkscape -w 180 -h 180 "../icon-color.svg" -o "./ios/apple-touch-icon.png"
21+
22+
# Build PNGs
23+
inkscape -w 128 -h 128 "../icon-color.svg" -o "./png/128x128.png"
24+
inkscape -w 256 -h 256 "../icon-color.svg" -o "./png/256x256.png"
25+
inkscape -w 256 -h 256 "../icon-purple.svg" -o "./png/256x256-dev.png"
26+
27+
# Build Mac .icns
28+
declare -a sizes=("16" "32" "512" "1024")
29+
for size in "${sizes[@]}"; do
30+
inkscape -w $size -h $size "../icon-color.svg" -o "./png/${size}x${size}.png"
31+
done
32+
33+
mkdir -p fakeapp.app
34+
npx iconsur set fakeapp.app -l -i "png/1024x1024.png" -o "mac/1024x1024.png" -s 0.8
35+
declare -a sizes=("16x16" "32x32" "128x128" "512x512")
36+
for size in "${sizes[@]}"; do
37+
magick "mac/1024x1024.png" -resize "${size}" "mac/${size}.png"
38+
done
39+
icnsutil compose -f "mac/icon.icns" ./mac/*.png
40+
41+
# Build Windows icon
42+
magick -background none "../icon-color.svg" -define icon:auto-resize=16,32,48,64,128,256 "./win/icon.ico"
43+
44+
# Build Squirrel splash image
45+
magick "./png/256x256.png" -background "#ffffff" -gravity center -extent 640x480 "./win/setup-banner.gif"

db/demo.zip

-5.3 KB
Binary file not shown.

docs/1l1f6WZbaBEZ.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,66 @@ <h1 id="title">Branch prefixes</h1>
277277

278278

279279

280+
</li>
281+
282+
<li>
283+
284+
<p>
285+
286+
287+
288+
<a class="type-text" href="WKn3hLGmKmiH.html">CKEditor</a>
289+
290+
</p>
291+
292+
293+
<ul>
294+
295+
<li>
296+
297+
<p>
298+
299+
300+
301+
<a class="type-text" href="MUGBo4n67kBI.html">Environment setup</a>
302+
303+
</p>
304+
305+
306+
307+
</li>
308+
309+
<li>
310+
311+
<p>
312+
313+
314+
315+
<a class="type-text" href="icQBu8R1ij57.html">Building &amp; updating</a>
316+
317+
</p>
318+
319+
320+
321+
</li>
322+
323+
<li>
324+
325+
<p>
326+
327+
328+
329+
<a class="type-text" href="zpR91YHYs6lL.html">Differences from upstream</a>
330+
331+
</p>
332+
333+
334+
335+
</li>
336+
337+
</ul>
338+
339+
280340
</li>
281341

282342
</ul>

docs/1pOWnHdGAuWR.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,66 @@ <h1 id="title">Widgets</h1>
312312

313313

314314

315+
</li>
316+
317+
<li>
318+
319+
<p>
320+
321+
322+
323+
<a class="type-text" href="WKn3hLGmKmiH.html">CKEditor</a>
324+
325+
</p>
326+
327+
328+
<ul>
329+
330+
<li>
331+
332+
<p>
333+
334+
335+
336+
<a class="type-text" href="MUGBo4n67kBI.html">Environment setup</a>
337+
338+
</p>
339+
340+
341+
342+
</li>
343+
344+
<li>
345+
346+
<p>
347+
348+
349+
350+
<a class="type-text" href="icQBu8R1ij57.html">Building &amp; updating</a>
351+
352+
</p>
353+
354+
355+
356+
</li>
357+
358+
<li>
359+
360+
<p>
361+
362+
363+
364+
<a class="type-text" href="zpR91YHYs6lL.html">Differences from upstream</a>
365+
366+
</p>
367+
368+
369+
370+
</li>
371+
372+
</ul>
373+
374+
315375
</li>
316376

317377
</ul>

docs/3eTu21fjtZkj.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,66 @@ <h1 id="title">Scripting</h1>
288288

289289

290290

291+
</li>
292+
293+
<li>
294+
295+
<p>
296+
297+
298+
299+
<a class="type-text" href="WKn3hLGmKmiH.html">CKEditor</a>
300+
301+
</p>
302+
303+
304+
<ul>
305+
306+
<li>
307+
308+
<p>
309+
310+
311+
312+
<a class="type-text" href="MUGBo4n67kBI.html">Environment setup</a>
313+
314+
</p>
315+
316+
317+
318+
</li>
319+
320+
<li>
321+
322+
<p>
323+
324+
325+
326+
<a class="type-text" href="icQBu8R1ij57.html">Building &amp; updating</a>
327+
328+
</p>
329+
330+
331+
332+
</li>
333+
334+
<li>
335+
336+
<p>
337+
338+
339+
340+
<a class="type-text" href="zpR91YHYs6lL.html">Differences from upstream</a>
341+
342+
</p>
343+
344+
345+
346+
</li>
347+
348+
</ul>
349+
350+
291351
</li>
292352

293353
</ul>

docs/3jc1nUXyteo0.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,66 @@ <h2>Server-side</h2><ul><li>There are two themes embedded in the application:<ul
279279

280280

281281

282+
</li>
283+
284+
<li>
285+
286+
<p>
287+
288+
289+
290+
<a class="type-text" href="WKn3hLGmKmiH.html">CKEditor</a>
291+
292+
</p>
293+
294+
295+
<ul>
296+
297+
<li>
298+
299+
<p>
300+
301+
302+
303+
<a class="type-text" href="MUGBo4n67kBI.html">Environment setup</a>
304+
305+
</p>
306+
307+
308+
309+
</li>
310+
311+
<li>
312+
313+
<p>
314+
315+
316+
317+
<a class="type-text" href="icQBu8R1ij57.html">Building &amp; updating</a>
318+
319+
</p>
320+
321+
322+
323+
</li>
324+
325+
<li>
326+
327+
<p>
328+
329+
330+
331+
<a class="type-text" href="zpR91YHYs6lL.html">Differences from upstream</a>
332+
333+
</p>
334+
335+
336+
337+
</li>
338+
339+
</ul>
340+
341+
282342
</li>
283343

284344
</ul>

0 commit comments

Comments
 (0)