feat(app): Synapse logo and app icons for Android, Windows and Linux

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-26 02:55:29 +01:00
1 parent f21ead9f98
commit 61abdb2e20
12 files changed
+19

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# Synapse
<p align="center"><img src="logo.png" alt="Synapse" width="640"></p>
A native, brain-like second brain: an outliner with linked pages, temporally chained journals,
semantic search, AI assistance and a self-hostable sync server. Runs natively on Android,
Linux and Windows (Rust core + Flutter UI, no webviews).
Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 47 KiB

+3
View File
@@ -97,6 +97,9 @@ install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}"
install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
COMPONENT Runtime)
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/runner/resources/app_icon.png"
DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime)
install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
COMPONENT Runtime)
+8
View File
@@ -54,6 +54,14 @@ static void my_application_activate(GApplication* application) {
gtk_window_set_default_size(window, 1280, 720);
// Window icon, installed next to the binary under data/ (see CMakeLists.txt).
g_autofree gchar* exe = g_file_read_link("/proc/self/exe", nullptr);
if (exe != nullptr) {
g_autofree gchar* dir = g_path_get_dirname(exe);
g_autofree gchar* icon = g_build_filename(dir, "data", "app_icon.png", nullptr);
gtk_window_set_icon_from_file(window, icon, nullptr);
}
g_autoptr(FlDartProject) project = fl_dart_project_new();
fl_dart_project_set_dart_entrypoint_arguments(
project, self->dart_entrypoint_arguments);
Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 121 KiB

+6
View File
@@ -36,6 +36,12 @@ flutter build windows --release # on Windows
The graph lives in the platform app-support dir (`~/.local/share/dev.dasemu.synapse/graph`
on Linux). Override it with `SYNAPSE_GRAPH=/path/to/graph`.
## Icons
The logo is `logo.png` (repo root). App icons are cut from its emblem: Android
`android/app/src/main/res/mipmap-*/ic_launcher.png`, Windows `windows/runner/resources/app_icon.ico`,
Linux `linux/runner/resources/app_icon.png` (installed to the bundle's `data/` and set as the
window icon in `my_application.cc`).
## After changing the FFI API
```bash
cd app && flutter_rust_bridge_codegen generate
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB