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

+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);