mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-06-28 11:59:52 +00:00
Changed linux build method
This commit is contained in:
parent
65708c48c3
commit
62cf4d0c7f
8 changed files with 59 additions and 10 deletions
|
@ -51,6 +51,13 @@ static void my_application_activate(GApplication* application) {
|
|||
gtk_widget_show(GTK_WIDGET(window));
|
||||
|
||||
g_autoptr(FlDartProject) project = fl_dart_project_new();
|
||||
|
||||
g_autoptr(GError) error = nullptr;
|
||||
gtk_window_set_icon_from_file(window, g_strconcat(fl_dart_project_get_assets_path(project), "/assets/icon/icon-circle-256.png", NULL), &error);
|
||||
if (error != nullptr) {
|
||||
g_warning("Failed to set icon: %s", error->message);
|
||||
}
|
||||
|
||||
fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
|
||||
|
||||
FlView* view = fl_view_new(project);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue