Refactor repo to fix package name
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
package org.communiquons.moneymgr_mobile
 | 
			
		||||
package org.communiquons.moneymgr
 | 
			
		||||
 | 
			
		||||
import io.flutter.embedding.android.FlutterActivity
 | 
			
		||||
 | 
			
		||||
@@ -13,7 +13,7 @@
 | 
			
		||||
		<key>CFBundleInfoDictionaryVersion</key>
 | 
			
		||||
		<string>6.0</string>
 | 
			
		||||
		<key>CFBundleName</key>
 | 
			
		||||
		<string>moneymgr_mobile</string>
 | 
			
		||||
		<string>moneymgr</string>
 | 
			
		||||
		<key>CFBundlePackageType</key>
 | 
			
		||||
		<string>APPL</string>
 | 
			
		||||
		<key>CFBundleShortVersionString</key>
 | 
			
		||||
 
 | 
			
		||||
@@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
 | 
			
		||||
 | 
			
		||||
# The name of the executable created for the application. Change this to change
 | 
			
		||||
# the on-disk name of your application.
 | 
			
		||||
set(BINARY_NAME "moneymgr_mobile")
 | 
			
		||||
set(BINARY_NAME "moneymgr")
 | 
			
		||||
# The unique GTK application identifier for this application. See:
 | 
			
		||||
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
 | 
			
		||||
set(APPLICATION_ID "org.communiquons.moneymgr_mobile")
 | 
			
		||||
set(APPLICATION_ID "org.communiquons.moneymgr")
 | 
			
		||||
 | 
			
		||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
 | 
			
		||||
# versions of CMake.
 | 
			
		||||
 
 | 
			
		||||
@@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
 | 
			
		||||
  if (use_header_bar) {
 | 
			
		||||
    GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
 | 
			
		||||
    gtk_widget_show(GTK_WIDGET(header_bar));
 | 
			
		||||
    gtk_header_bar_set_title(header_bar, "moneymgr_mobile");
 | 
			
		||||
    gtk_header_bar_set_title(header_bar, "MoneyMgr");
 | 
			
		||||
    gtk_header_bar_set_show_close_button(header_bar, TRUE);
 | 
			
		||||
    gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
 | 
			
		||||
  } else {
 | 
			
		||||
    gtk_window_set_title(window, "moneymgr_mobile");
 | 
			
		||||
    gtk_window_set_title(window, "MoneyMgr");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  gtk_window_set_default_size(window, 1280, 720);
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@
 | 
			
		||||
// 'flutter create' template.
 | 
			
		||||
 | 
			
		||||
// The application's name. By default this is also the title of the Flutter window.
 | 
			
		||||
PRODUCT_NAME = moneymgr_mobile
 | 
			
		||||
PRODUCT_NAME = MoneyMgr
 | 
			
		||||
 | 
			
		||||
// The application's bundle identifier
 | 
			
		||||
PRODUCT_BUNDLE_IDENTIFIER = org.communiquons.moneymgrMobile
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "moneymgr_mobile",
 | 
			
		||||
    "short_name": "moneymgr_mobile",
 | 
			
		||||
    "name": "MoneyMgr",
 | 
			
		||||
    "short_name": "MoneyMgr",
 | 
			
		||||
    "start_url": ".",
 | 
			
		||||
    "display": "standalone",
 | 
			
		||||
    "background_color": "#0175C2",
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@ project(moneymgr_mobile LANGUAGES CXX)
 | 
			
		||||
 | 
			
		||||
# The name of the executable created for the application. Change this to change
 | 
			
		||||
# the on-disk name of your application.
 | 
			
		||||
set(BINARY_NAME "moneymgr_mobile")
 | 
			
		||||
set(BINARY_NAME "moneymgr")
 | 
			
		||||
 | 
			
		||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
 | 
			
		||||
# versions of CMake.
 | 
			
		||||
 
 | 
			
		||||
@@ -90,12 +90,12 @@ BEGIN
 | 
			
		||||
        BLOCK "040904e4"
 | 
			
		||||
        BEGIN
 | 
			
		||||
            VALUE "CompanyName", "org.communiquons" "\0"
 | 
			
		||||
            VALUE "FileDescription", "moneymgr_mobile" "\0"
 | 
			
		||||
            VALUE "FileDescription", "moneymgr" "\0"
 | 
			
		||||
            VALUE "FileVersion", VERSION_AS_STRING "\0"
 | 
			
		||||
            VALUE "InternalName", "moneymgr_mobile" "\0"
 | 
			
		||||
            VALUE "InternalName", "moneymgr" "\0"
 | 
			
		||||
            VALUE "LegalCopyright", "Copyright (C) 2025 Pierre HUBERT. All rights reserved." "\0"
 | 
			
		||||
            VALUE "OriginalFilename", "moneymgr_mobile.exe" "\0"
 | 
			
		||||
            VALUE "ProductName", "moneymgr_mobile" "\0"
 | 
			
		||||
            VALUE "OriginalFilename", "moneymgr.exe" "\0"
 | 
			
		||||
            VALUE "ProductName", "moneymgr" "\0"
 | 
			
		||||
            VALUE "ProductVersion", VERSION_AS_STRING "\0"
 | 
			
		||||
        END
 | 
			
		||||
    END
 | 
			
		||||
 
 | 
			
		||||
@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
 | 
			
		||||
  FlutterWindow window(project);
 | 
			
		||||
  Win32Window::Point origin(10, 10);
 | 
			
		||||
  Win32Window::Size size(1280, 720);
 | 
			
		||||
  if (!window.Create(L"moneymgr_mobile", origin, size)) {
 | 
			
		||||
  if (!window.Create(L"MoneyMgr", origin, size)) {
 | 
			
		||||
    return EXIT_FAILURE;
 | 
			
		||||
  }
 | 
			
		||||
  window.SetQuitOnClose(true);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user