Version auf 0.9.8 gesetzt

This commit is contained in:
Arnold Ude PC2024 2025-11-24 19:58:44 +01:00
parent 6110da0a21
commit dcb997421f
9 changed files with 24 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -54,6 +54,29 @@ static void my_application_activate(GApplication* application) {
gtk_window_set_default_size(window, 1280, 720);
// Set the window and application icon from the bundled assets.
GError* icon_error = nullptr;
g_autofree gchar* executable_path =
g_file_read_link("/proc/self/exe", &icon_error);
if (icon_error != nullptr) {
g_warning("Failed to read executable path: %s", icon_error->message);
g_clear_error(&icon_error);
}
if (executable_path != nullptr) {
g_autofree gchar* executable_dir = g_path_get_dirname(executable_path);
g_autofree gchar* icon_path = g_build_filename(
executable_dir, "data", "flutter_assets", "assets", "app_icon.png",
nullptr);
gtk_window_set_icon_from_file(window, icon_path, &icon_error);
if (icon_error != nullptr) {
g_warning("Failed to load window icon: %s", icon_error->message);
g_clear_error(&icon_error);
} else {
gtk_window_set_default_icon_from_file(icon_path, nullptr);
}
}
g_autoptr(FlDartProject) project = fl_dart_project_new();
fl_dart_project_set_dart_entrypoint_arguments(
project, self->dart_entrypoint_arguments);

View File

@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.9.7
version: 0.9.8
environment:
sdk: ^3.10.1

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 364 KiB