From 39f56020cc79c11da81b250d37382079cdacc149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20Alz=C3=A9n?= Date: Wed, 8 Jan 2025 22:09:40 +0100 Subject: [PATCH 1/2] Add documentation for no_metadata tag --- explore/compiling.md | 1 + 1 file changed, 1 insertion(+) diff --git a/explore/compiling.md b/explore/compiling.md index 3f7eb8d..f1d59dc 100644 --- a/explore/compiling.md +++ b/explore/compiling.md @@ -21,4 +21,5 @@ Fyne will typically configure your application appropriately for the target plat | `mobile` | This tag runs an application in a simulated mobile window. Useful when you want to preview your app on a mobile platform without compiling and installing to the device. | | `no_animations` | Disable the non-essential animations in standard widgets and containers. | | `no_emoji` | Don't include the embedded emoji font. This will disable emoji in your app but will make the binary smaller. | +| `no_metadata` | Disable runtime lookup of metadata even when not packaging in release mode. | | `no_native_menus` | This flag is specifically for macOS and indicates that the application should not use the macOS native menus. Instead menus will be displayed inside the application window. Most useful for testing an application on macOS to simulate the behavior on Windows or Linux. | From 377dd2031ddda1fdcd29575fd0ef4101d3de74b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20Alz=C3=A9n?= Date: Thu, 9 Jan 2025 13:49:33 +0100 Subject: [PATCH 2/2] Use better wording from Andy --- explore/compiling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explore/compiling.md b/explore/compiling.md index f1d59dc..6226b4f 100644 --- a/explore/compiling.md +++ b/explore/compiling.md @@ -21,5 +21,5 @@ Fyne will typically configure your application appropriately for the target plat | `mobile` | This tag runs an application in a simulated mobile window. Useful when you want to preview your app on a mobile platform without compiling and installing to the device. | | `no_animations` | Disable the non-essential animations in standard widgets and containers. | | `no_emoji` | Don't include the embedded emoji font. This will disable emoji in your app but will make the binary smaller. | -| `no_metadata` | Disable runtime lookup of metadata even when not packaging in release mode. | +| `no_metadata` | Disable runtime lookup of metadata from FyneApp.toml source files. This is always disabled for release builds. | | `no_native_menus` | This flag is specifically for macOS and indicates that the application should not use the macOS native menus. Instead menus will be displayed inside the application window. Most useful for testing an application on macOS to simulate the behavior on Windows or Linux. |