From 3e9cf8efe6e7b17470690376b27474449f114a1e Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 14 Oct 2024 11:38:21 -0500 Subject: [PATCH 01/11] change RDNN --- .github/workflows/ci.yml | 2 +- README.md | 10 +++++----- data/app-generator.appdata.xml.in | 11 ++++++++--- data/app-generator.desktop.in | 4 ++-- data/app-generator.gresource.xml | 2 +- data/app-generator.gschema.xml | 2 +- io.github.ecommunity.app-generator.yml | 4 ++-- meson.build | 2 +- po/io.github.ecommunity.app-generator.pot | 4 ++-- src/Application.vala | 6 +++--- src/MainWindow.vala | 2 +- 11 files changed, 27 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eff087b..2db318f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: uses: flatpak/flatpak-github-actions/flatpak-builder@v6 with: bundle: AppGenerator.flatpak - manifest-path: io.github.ecommunity.app-generator.yml + manifest-path: io.github.ellie_commons.app-generator.yml run-tests: true repository-name: appcenter repository-url: https://flatpak.elementary.io/repo.flatpakrepo diff --git a/README.md b/README.md index 5f198cc..5cac395 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@

Create an elementary OS app using one of the pre-made app templates

-![Screenshot](https://raw.githubusercontent.com/elementary-community/app-generator/refs/heads/main/data/io.github.ecommunity.app-generator.png) +![Screenshot](https://raw.githubusercontent.com/elementary-community/app-generator/refs/heads/main/data/io.github.ellie_commons.app-generator.png) ## Building and Installation @@ -27,11 +27,11 @@ cd build ninja ``` -To install, use `ninja install`, then execute with `io.github.ecommunity.app-generator` +To install, use `ninja install`, then execute with `io.github.ellie_commons.app-generator` ```bash ninja install -io.github.ecommunity.app-generator +io.github.ellie_commons.app-generator ``` ## Flatpak @@ -39,11 +39,11 @@ io.github.ecommunity.app-generator Run `flatpak-builder` to configure the build environment, download dependencies, build, and install ```bash - flatpak-builder build io.github.ecommunity.app-generator.yml --user --install --force-clean --install-deps-from=appcenter + flatpak-builder build io.github.ellie_commons.app-generator.yml --user --install --force-clean --install-deps-from=appcenter ``` Then execute with ```bash - flatpak run io.github.ecommunity.app-generator + flatpak run io.github.ellie_commons.app-generator ``` \ No newline at end of file diff --git a/data/app-generator.appdata.xml.in b/data/app-generator.appdata.xml.in index 2c6c1a3..3acae72 100644 --- a/data/app-generator.appdata.xml.in +++ b/data/app-generator.appdata.xml.in @@ -1,6 +1,6 @@ - io.github.ecommunity.app-generator + io.github.ellie_commons.app-generator CC-BY-4.0 GPL-3.0-or-later App Generator @@ -12,7 +12,7 @@ - https://raw.githubusercontent.com/elementary-community/app-generator/refs/heads/main/data/io.github.ecommunity.app-generator.png + https://raw.githubusercontent.com/elementary-community/app-generator/refs/heads/main/data/io.github.ellie_commons.app-generator.png @@ -20,9 +20,14 @@ HiDpiIcon elementary Community + + + elementary, Inc. + + https://github.com/elementary-community/app-generator https://github.com/elementary-community/app-generator/issues - io.github.ecommunity.app-generator.desktop + io.github.ellie_commons.app-generator.desktop diff --git a/data/app-generator.desktop.in b/data/app-generator.desktop.in index f78e648..5c581f3 100644 --- a/data/app-generator.desktop.in +++ b/data/app-generator.desktop.in @@ -6,6 +6,6 @@ Name=App Generator Comment=Create an elementary OS app using one of the pre-made app templates. Categories=Development;Education; -Icon=io.github.ecommunity.app-generator -Exec=io.github.ecommunity.app-generator +Icon=io.github.ellie_commons.app-generator +Exec=io.github.ellie_commons.app-generator Terminal=false diff --git a/data/app-generator.gresource.xml b/data/app-generator.gresource.xml index 3fa9753..5c01957 100644 --- a/data/app-generator.gresource.xml +++ b/data/app-generator.gresource.xml @@ -1,6 +1,6 @@ - + Application.css \ No newline at end of file diff --git a/data/app-generator.gschema.xml b/data/app-generator.gschema.xml index ddb8631..e25bfc3 100644 --- a/data/app-generator.gschema.xml +++ b/data/app-generator.gschema.xml @@ -1,6 +1,6 @@ - + 700 Most recent window height diff --git a/io.github.ecommunity.app-generator.yml b/io.github.ecommunity.app-generator.yml index 4d94196..a2ba373 100644 --- a/io.github.ecommunity.app-generator.yml +++ b/io.github.ecommunity.app-generator.yml @@ -1,5 +1,5 @@ # This is the same ID that you've used in meson.build and other files -app-id: io.github.ecommunity.app-generator +app-id: io.github.ellie_commons.app-generator # Instead of manually specifying a long list of build and runtime dependencies, # we can use a convenient pre-made runtime and SDK. For this example, we'll be @@ -10,7 +10,7 @@ sdk: io.elementary.Sdk # This should match the exec line in your .desktop file and usually is the same # as your app ID -command: io.github.ecommunity.app-generator +command: io.github.ellie_commons.app-generator # Here we can specify the kinds of permissions our app needs to run. Since we're # not using hardware like webcams, making sound, or reading external files, we diff --git a/meson.build b/meson.build index 16ddf04..d396a23 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ # project name and programming language project( - 'io.github.ecommunity.app-generator', + 'io.github.ellie_commons.app-generator', 'vala', 'c', version: '0.1' ) diff --git a/po/io.github.ecommunity.app-generator.pot b/po/io.github.ecommunity.app-generator.pot index 9911c33..f6f52c5 100644 --- a/po/io.github.ecommunity.app-generator.pot +++ b/po/io.github.ecommunity.app-generator.pot @@ -1,12 +1,12 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the io.github.ecommunity.app-generator package. +# This file is distributed under the same license as the io.github.ellie_commons.app-generator package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: io.github.ecommunity.app-generator\n" +"Project-Id-Version: io.github.ellie_commons.app-generator\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-10-13 09:15+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" diff --git a/src/Application.vala b/src/Application.vala index 236ba57..04d5346 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -19,7 +19,7 @@ public class AppGenerator : Gtk.Application { public AppGenerator () { Object ( - application_id: "io.github.ecommunity.app-generator", + application_id: "io.github.ellie_commons.app-generator", flags: ApplicationFlags.FLAGS_NONE ); } @@ -55,7 +55,7 @@ public class AppGenerator : Gtk.Application { * Set maximize after height/width else window is min size on unmaximize * Bind maximize as SET else get get bad sizes */ - var settings = new Settings ("io.github.ecommunity.app-generator"); + var settings = new Settings ("io.github.ellie_commons.app-generator"); settings.bind ("window-height", main_window, "default-height", SettingsBindFlags.DEFAULT); settings.bind ("window-width", main_window, "default-width", SettingsBindFlags.DEFAULT); @@ -67,7 +67,7 @@ public class AppGenerator : Gtk.Application { // Use Css var provider = new Gtk.CssProvider (); - provider.load_from_resource ("/io/github/ecommunity/app-generator/Application.css"); + provider.load_from_resource ("/io/github/ellie_commons/app-generator/Application.css"); Gtk.StyleContext.add_provider_for_display ( Gdk.Display.get_default (), diff --git a/src/MainWindow.vala b/src/MainWindow.vala index d07afa1..29640ed 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -18,7 +18,7 @@ public class MainWindow : Gtk.ApplicationWindow { static construct { weak Gtk.IconTheme default_theme = Gtk.IconTheme.get_for_display (Gdk.Display.get_default ()); - default_theme.add_resource_path ("/io/github/ecommunity/app-generator/"); + default_theme.add_resource_path ("/io/github/ellie_commons/app-generator/"); } construct { From c52c0089b9bf1ea8c5d3db1c72cd72a5b2cd48fd Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 14 Oct 2024 11:43:54 -0500 Subject: [PATCH 02/11] change developer name --- data/app-generator.appdata.xml.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/data/app-generator.appdata.xml.in b/data/app-generator.appdata.xml.in index 3acae72..a2a2cdb 100644 --- a/data/app-generator.appdata.xml.in +++ b/data/app-generator.appdata.xml.in @@ -19,10 +19,9 @@ ModernToolkit HiDpiIcon - elementary Community - - elementary, Inc. + + elementary Community https://github.com/elementary-community/app-generator From 86b5d2ff79659d75d459ed9aa30bd548ea2ed62c Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 14 Oct 2024 11:48:29 -0500 Subject: [PATCH 03/11] fix tabs --- src/Application.vala | 94 ++++++------- src/MainWindow.vala | 242 +++++++++++++++++----------------- src/Services/FormControl.vala | 6 +- src/Services/FormGroup.vala | 2 +- src/Services/Validators.vala | 44 +++---- src/Views/Form.vala | 12 +- src/Views/Success.vala | 6 +- src/Widgets/Stepper.vala | 6 +- 8 files changed, 206 insertions(+), 206 deletions(-) diff --git a/src/Application.vala b/src/Application.vala index 04d5346..f11012a 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -4,9 +4,9 @@ */ public class AppGenerator : Gtk.Application { - public MainWindow main_window; + public MainWindow main_window; - public static AppGenerator _instance = null; + public static AppGenerator _instance = null; public static AppGenerator instance { get { if (_instance == null) { @@ -17,68 +17,68 @@ public class AppGenerator : Gtk.Application { } - public AppGenerator () { - Object ( - application_id: "io.github.ellie_commons.app-generator", - flags: ApplicationFlags.FLAGS_NONE - ); - } + public AppGenerator () { + Object ( + application_id: "io.github.ellie_commons.app-generator", + flags: ApplicationFlags.FLAGS_NONE + ); + } - protected override void startup () { - base.startup (); + protected override void startup () { + base.startup (); - Granite.init (); + Granite.init (); - Intl.setlocale (LocaleCategory.ALL, ""); - Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); - Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - Intl.textdomain (GETTEXT_PACKAGE); + Intl.setlocale (LocaleCategory.ALL, ""); + Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + Intl.textdomain (GETTEXT_PACKAGE); - var quit_action = new SimpleAction ("quit", null); + var quit_action = new SimpleAction ("quit", null); - add_action (quit_action); - set_accels_for_action ("app.quit", {"q"}); + add_action (quit_action); + set_accels_for_action ("app.quit", {"q"}); - quit_action.activate.connect (quit); - } + quit_action.activate.connect (quit); + } - protected override void activate () { - if (main_window != null) { + protected override void activate () { + if (main_window != null) { main_window.present (); return; } - var main_window = new MainWindow (this); + var main_window = new MainWindow (this); - /* - * This is very finicky. Bind size after present else set_titlebar gives us bad sizes - * Set maximize after height/width else window is min size on unmaximize - * Bind maximize as SET else get get bad sizes - */ - var settings = new Settings ("io.github.ellie_commons.app-generator"); - settings.bind ("window-height", main_window, "default-height", SettingsBindFlags.DEFAULT); - settings.bind ("window-width", main_window, "default-width", SettingsBindFlags.DEFAULT); + /* + * This is very finicky. Bind size after present else set_titlebar gives us bad sizes + * Set maximize after height/width else window is min size on unmaximize + * Bind maximize as SET else get get bad sizes + */ + var settings = new Settings ("io.github.ellie_commons.app-generator"); + settings.bind ("window-height", main_window, "default-height", SettingsBindFlags.DEFAULT); + settings.bind ("window-width", main_window, "default-width", SettingsBindFlags.DEFAULT); - if (settings.get_boolean ("window-maximized")) { - main_window.maximize (); - } + if (settings.get_boolean ("window-maximized")) { + main_window.maximize (); + } - settings.bind ("window-maximized", main_window, "maximized", SettingsBindFlags.SET); + settings.bind ("window-maximized", main_window, "maximized", SettingsBindFlags.SET); - // Use Css - var provider = new Gtk.CssProvider (); - provider.load_from_resource ("/io/github/ellie_commons/app-generator/Application.css"); + // Use Css + var provider = new Gtk.CssProvider (); + provider.load_from_resource ("/io/github/ellie_commons/app-generator/Application.css"); - Gtk.StyleContext.add_provider_for_display ( - Gdk.Display.get_default (), - provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION - ); + Gtk.StyleContext.add_provider_for_display ( + Gdk.Display.get_default (), + provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION + ); - main_window.present (); - } + main_window.present (); + } - public static int main (string[] args) { - AppGenerator app = AppGenerator.instance; + public static int main (string[] args) { + AppGenerator app = AppGenerator.instance; return app.run (args); - } + } } diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 29640ed..8fc4723 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -4,136 +4,136 @@ */ public class MainWindow : Gtk.ApplicationWindow { - private Gtk.Stack main_stack; - - public MainWindow (Gtk.Application application) { - Object ( - application: application, - default_height: 300, - default_width: 300, - icon_name: "applications-development", - title: _("App Generator") - ); - } - - static construct { + private Gtk.Stack main_stack; + + public MainWindow (Gtk.Application application) { + Object ( + application: application, + default_height: 300, + default_width: 300, + icon_name: "applications-development", + title: _("App Generator") + ); + } + + static construct { weak Gtk.IconTheme default_theme = Gtk.IconTheme.get_for_display (Gdk.Display.get_default ()); default_theme.add_resource_path ("/io/github/ellie_commons/app-generator/"); } - construct { - var headerbar = new Gtk.HeaderBar () { + construct { + var headerbar = new Gtk.HeaderBar () { title_widget = new Gtk.Label (null), hexpand = true }; - var project_icon = new Gtk.Image.from_icon_name ("applications-development") { - pixel_size = 96 - }; - - var title_label = new Gtk.Label (_("App Generator")); - title_label.add_css_class (Granite.STYLE_CLASS_H1_LABEL); - - var description_label = new Gtk.Label (_("Create an elementary OS app using one of the pre-made app templates")) { - wrap = true, - justify = CENTER - }; - description_label.add_css_class (Granite.STYLE_CLASS_DIM_LABEL); - - var left_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 6) { - valign = CENTER, - margin_start = 64, - margin_end = 64, - margin_bottom = 32 - }; - left_box.append (project_icon); - left_box.append (title_label); - left_box.append (description_label); - - var stepper = new Widgets.Stepper () { - margin_start = 24, - margin_end = 24, - margin_bottom = 24 - }; - stepper.add_step (_("Developer")); - stepper.add_step (_("Application")); - stepper.add_step (_("Finalized")); - - var developer_view = new Views.Developer (); - var form_view = new Views.Form (); - var success_view = new Views.Success (); - - main_stack = new Gtk.Stack () { - transition_type = Gtk.StackTransitionType.SLIDE_LEFT_RIGHT - }; - main_stack.add_named (developer_view, "developer"); - main_stack.add_named (form_view, "form"); - main_stack.add_named (success_view, "success"); - - var form_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); - form_box.append (stepper); - form_box.append (main_stack); - - var main_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) { - hexpand = true, - vexpand = true - }; - - main_box.append (left_box); - main_box.append (new Gtk.Separator (Gtk.Orientation.VERTICAL) { - margin_bottom = 32 - }); - main_box.append (form_box); - - var toolbar_view = new Adw.ToolbarView (); + var project_icon = new Gtk.Image.from_icon_name ("applications-development") { + pixel_size = 96 + }; + + var title_label = new Gtk.Label (_("App Generator")); + title_label.add_css_class (Granite.STYLE_CLASS_H1_LABEL); + + var description_label = new Gtk.Label (_("Create an elementary OS app using one of the pre-made app templates")) { + wrap = true, + justify = CENTER + }; + description_label.add_css_class (Granite.STYLE_CLASS_DIM_LABEL); + + var left_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 6) { + valign = CENTER, + margin_start = 64, + margin_end = 64, + margin_bottom = 32 + }; + left_box.append (project_icon); + left_box.append (title_label); + left_box.append (description_label); + + var stepper = new Widgets.Stepper () { + margin_start = 24, + margin_end = 24, + margin_bottom = 24 + }; + stepper.add_step (_("Developer")); + stepper.add_step (_("Application")); + stepper.add_step (_("Finalized")); + + var developer_view = new Views.Developer (); + var form_view = new Views.Form (); + var success_view = new Views.Success (); + + main_stack = new Gtk.Stack () { + transition_type = Gtk.StackTransitionType.SLIDE_LEFT_RIGHT + }; + main_stack.add_named (developer_view, "developer"); + main_stack.add_named (form_view, "form"); + main_stack.add_named (success_view, "success"); + + var form_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); + form_box.append (stepper); + form_box.append (main_stack); + + var main_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) { + hexpand = true, + vexpand = true + }; + + main_box.append (left_box); + main_box.append (new Gtk.Separator (Gtk.Orientation.VERTICAL) { + margin_bottom = 32 + }); + main_box.append (form_box); + + var toolbar_view = new Adw.ToolbarView (); toolbar_view.add_top_bar (headerbar); toolbar_view.content = main_box; - child = toolbar_view; - - // We need to hide the title area for the split headerbar - var null_title = new Gtk.Grid () { - visible = false - }; - set_titlebar (null_title); - - // Set default elementary thme - var gtk_settings = Gtk.Settings.get_default (); - gtk_settings.gtk_icon_theme_name = "elementary"; - if (!(gtk_settings.gtk_theme_name.has_prefix ("io.elementary.stylesheet"))) { - gtk_settings.gtk_theme_name = "io.elementary.stylesheet.blueberry"; - } - - form_view.created.connect ((project_naame, location) => { - success_view.project_location = location + "/" + project_naame; - - stepper.active_index = 2; - main_stack.visible_child_name = "success"; - success_view.animation = true; - - Timeout.add_once (1000, () => { - success_view.animation = false; - }); - }); - - form_view.back.connect (() => { - main_stack.visible_child_name = "developer"; - }); - - developer_view.next.connect ((name, email) => { - stepper.active_index = 1; - main_stack.visible_child_name = "form"; - - form_view.developer_name = name; - form_view.developer_email = email; - }); - - success_view.back.connect (() => { - stepper.active_index = 0; - main_stack.visible_child_name = "developer"; - - developer_view.reset_form (); - form_view.reset_form (); - }); - } + child = toolbar_view; + + // We need to hide the title area for the split headerbar + var null_title = new Gtk.Grid () { + visible = false + }; + set_titlebar (null_title); + + // Set default elementary thme + var gtk_settings = Gtk.Settings.get_default (); + gtk_settings.gtk_icon_theme_name = "elementary"; + if (!(gtk_settings.gtk_theme_name.has_prefix ("io.elementary.stylesheet"))) { + gtk_settings.gtk_theme_name = "io.elementary.stylesheet.blueberry"; + } + + form_view.created.connect ((project_naame, location) => { + success_view.project_location = location + "/" + project_naame; + + stepper.active_index = 2; + main_stack.visible_child_name = "success"; + success_view.animation = true; + + Timeout.add_once (1000, () => { + success_view.animation = false; + }); + }); + + form_view.back.connect (() => { + main_stack.visible_child_name = "developer"; + }); + + developer_view.next.connect ((name, email) => { + stepper.active_index = 1; + main_stack.visible_child_name = "form"; + + form_view.developer_name = name; + form_view.developer_email = email; + }); + + success_view.back.connect (() => { + stepper.active_index = 0; + main_stack.visible_child_name = "developer"; + + developer_view.reset_form (); + form_view.reset_form (); + }); + } } diff --git a/src/Services/FormControl.vala b/src/Services/FormControl.vala index 16e6e17..985c996 100644 --- a/src/Services/FormControl.vala +++ b/src/Services/FormControl.vala @@ -10,13 +10,13 @@ public class FormControl : GLib.Object { if (value == null) { return false; } - + foreach (Validator validator in validators) { if (!validator.validate (value)) { return false; } } - + return true; } } @@ -51,4 +51,4 @@ public class FormControl : GLib.Object { return null; } -} \ No newline at end of file +} diff --git a/src/Services/FormGroup.vala b/src/Services/FormGroup.vala index 8e3e716..d514b7d 100644 --- a/src/Services/FormGroup.vala +++ b/src/Services/FormGroup.vala @@ -30,4 +30,4 @@ public class FormGroup : GLib.Object { value_changed (control, new_value); }); } -} \ No newline at end of file +} diff --git a/src/Services/Validators.vala b/src/Services/Validators.vala index 5488941..c240eaf 100644 --- a/src/Services/Validators.vala +++ b/src/Services/Validators.vala @@ -1,31 +1,31 @@ public class Validator : GLib.Object { - public virtual bool validate (string value) { - return false; - } + public virtual bool validate (string value) { + return false; + } } public class Validators.Required : Validator { - public override bool validate (string value) { - return value.strip ().length > 0; - } + public override bool validate (string value) { + return value.strip ().length > 0; + } } public class Validators.Regex : Validator { - public GLib.Regex regex; + public GLib.Regex regex; - public Regex (string regex_arg) { - try { - regex = new GLib.Regex (regex_arg); - } catch (Error e) { - critical (e.message); - } - } + public Regex (string regex_arg) { + try { + regex = new GLib.Regex (regex_arg); + } catch (Error e) { + critical (e.message); + } + } - public override bool validate (string value) { - if (regex == null) { - return true; - } - - return regex.match (value); - } -} \ No newline at end of file + public override bool validate (string value) { + if (regex == null) { + return true; + } + + return regex.match (value); + } +} diff --git a/src/Views/Form.vala b/src/Views/Form.vala index 1993e3d..9b77c40 100644 --- a/src/Views/Form.vala +++ b/src/Views/Form.vala @@ -62,7 +62,7 @@ public class Views.Form : Adw.Bin { secondary_icon_name = "folder-symbolic", text = GLib.Environment.get_user_special_dir (GLib.UserDirectory.TEMPLATES) }; - + var spinner = new Gtk.Spinner () { valign = Gtk.Align.CENTER, halign = Gtk.Align.CENTER, @@ -193,7 +193,7 @@ public class Views.Form : Adw.Bin { } private void set_project_values (string destination_folder, string project_name, string application_id) { - string project_folder = GLib.Path.build_filename (destination_folder, project_name); + string project_folder = GLib.Path.build_filename (destination_folder, project_name); string application_id_schema = application_id.replace (".", "/"); // Readme File @@ -233,7 +233,7 @@ public class Views.Form : Adw.Bin { string new_gresource_file = GLib.Path.build_filename (project_folder, "data", project_name + ".gresource.xml"); rename_file (gresource_file, new_gresource_file); set_file_content (new_gresource_file, "{{APPLICATION_ID_GSCHEMA}}", application_id_schema); - + // Gschema Files string gschema_file = GLib.Path.build_filename (project_folder, "data", "{{PROJECT_NAME}}.gschema.xml"); string new_gschema_file = GLib.Path.build_filename (project_folder, "data", project_name + ".gschema.xml"); @@ -272,10 +272,10 @@ public class Views.Form : Adw.Bin { try { string content; FileUtils.get_contents (filename, out content); - + string new_content = content.replace (key, value); - - FileUtils.set_contents (filename, new_content, -1); + + FileUtils.set_contents (filename, new_content, -1); } catch (Error e) { debug (e.message); } diff --git a/src/Views/Success.vala b/src/Views/Success.vala index 99dd548..6bd1358 100644 --- a/src/Views/Success.vala +++ b/src/Views/Success.vala @@ -13,7 +13,7 @@ public class Views.Success : Adw.Bin { } else { success_icon.remove_css_class ("animation"); } - + } } @@ -95,7 +95,7 @@ public class Views.Success : Adw.Bin { }; var row_label = new Gtk.Label (title); - + var row_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6); row_box.append (row_icon); row_box.append (row_label); @@ -110,4 +110,4 @@ public class Views.Success : Adw.Bin { return row; } -} \ No newline at end of file +} diff --git a/src/Widgets/Stepper.vala b/src/Widgets/Stepper.vala index 1c3ae6a..e25a1df 100644 --- a/src/Widgets/Stepper.vala +++ b/src/Widgets/Stepper.vala @@ -18,7 +18,7 @@ public class Widgets.Stepper : Gtk.Grid { foreach (Gtk.Button button in stepper_map.values) { button.remove_css_class (Granite.STYLE_CLASS_SUGGESTED_ACTION); } - + if (stepper_map.has_key (value)) { stepper_map.get (value).add_css_class (Granite.STYLE_CLASS_SUGGESTED_ACTION); } @@ -68,8 +68,8 @@ public class Widgets.Stepper : Gtk.Grid { } main_box.append (button_box); - + stepper_map[index] = number_button; index++; } -} \ No newline at end of file +} From 4a6a35e651fb9d75e9e34128851a06f61fb3c5f5 Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 14 Oct 2024 11:50:09 -0500 Subject: [PATCH 04/11] fix tabs --- src/Application.vala | 154 ++++++++++---------- src/MainWindow.vala | 264 +++++++++++++++++------------------ src/Services/FormGroup.vala | 2 +- src/Services/Validators.vala | 40 +++--- src/Views/Form.vala | 2 +- 5 files changed, 231 insertions(+), 231 deletions(-) diff --git a/src/Application.vala b/src/Application.vala index f11012a..17d8b51 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -4,81 +4,81 @@ */ public class AppGenerator : Gtk.Application { - public MainWindow main_window; - - public static AppGenerator _instance = null; - public static AppGenerator instance { - get { - if (_instance == null) { - _instance = new AppGenerator (); - } - return _instance; - } - } - - - public AppGenerator () { - Object ( - application_id: "io.github.ellie_commons.app-generator", - flags: ApplicationFlags.FLAGS_NONE - ); - } - - protected override void startup () { - base.startup (); - - Granite.init (); - - Intl.setlocale (LocaleCategory.ALL, ""); - Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); - Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - Intl.textdomain (GETTEXT_PACKAGE); - - var quit_action = new SimpleAction ("quit", null); - - add_action (quit_action); - set_accels_for_action ("app.quit", {"q"}); - - quit_action.activate.connect (quit); - } - - protected override void activate () { - if (main_window != null) { - main_window.present (); - return; - } - - var main_window = new MainWindow (this); - - /* - * This is very finicky. Bind size after present else set_titlebar gives us bad sizes - * Set maximize after height/width else window is min size on unmaximize - * Bind maximize as SET else get get bad sizes - */ - var settings = new Settings ("io.github.ellie_commons.app-generator"); - settings.bind ("window-height", main_window, "default-height", SettingsBindFlags.DEFAULT); - settings.bind ("window-width", main_window, "default-width", SettingsBindFlags.DEFAULT); - - if (settings.get_boolean ("window-maximized")) { - main_window.maximize (); - } - - settings.bind ("window-maximized", main_window, "maximized", SettingsBindFlags.SET); - - // Use Css - var provider = new Gtk.CssProvider (); - provider.load_from_resource ("/io/github/ellie_commons/app-generator/Application.css"); - - Gtk.StyleContext.add_provider_for_display ( - Gdk.Display.get_default (), - provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION - ); - - main_window.present (); - } - - public static int main (string[] args) { - AppGenerator app = AppGenerator.instance; - return app.run (args); - } + public MainWindow main_window; + + public static AppGenerator _instance = null; + public static AppGenerator instance { + get { + if (_instance == null) { + _instance = new AppGenerator (); + } + return _instance; + } + } + + + public AppGenerator () { + Object ( + application_id: "io.github.ellie_commons.app-generator", + flags: ApplicationFlags.FLAGS_NONE + ); + } + + protected override void startup () { + base.startup (); + + Granite.init (); + + Intl.setlocale (LocaleCategory.ALL, ""); + Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); + Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + Intl.textdomain (GETTEXT_PACKAGE); + + var quit_action = new SimpleAction ("quit", null); + + add_action (quit_action); + set_accels_for_action ("app.quit", {"q"}); + + quit_action.activate.connect (quit); + } + + protected override void activate () { + if (main_window != null) { + main_window.present (); + return; + } + + var main_window = new MainWindow (this); + + /* + * This is very finicky. Bind size after present else set_titlebar gives us bad sizes + * Set maximize after height/width else window is min size on unmaximize + * Bind maximize as SET else get get bad sizes + */ + var settings = new Settings ("io.github.ellie_commons.app-generator"); + settings.bind ("window-height", main_window, "default-height", SettingsBindFlags.DEFAULT); + settings.bind ("window-width", main_window, "default-width", SettingsBindFlags.DEFAULT); + + if (settings.get_boolean ("window-maximized")) { + main_window.maximize (); + } + + settings.bind ("window-maximized", main_window, "maximized", SettingsBindFlags.SET); + + // Use Css + var provider = new Gtk.CssProvider (); + provider.load_from_resource ("/io/github/ellie_commons/app-generator/Application.css"); + + Gtk.StyleContext.add_provider_for_display ( + Gdk.Display.get_default (), + provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION + ); + + main_window.present (); + } + + public static int main (string[] args) { + AppGenerator app = AppGenerator.instance; + return app.run (args); + } } diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 8fc4723..c3ae825 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -4,136 +4,136 @@ */ public class MainWindow : Gtk.ApplicationWindow { - private Gtk.Stack main_stack; - - public MainWindow (Gtk.Application application) { - Object ( - application: application, - default_height: 300, - default_width: 300, - icon_name: "applications-development", - title: _("App Generator") - ); - } - - static construct { - weak Gtk.IconTheme default_theme = Gtk.IconTheme.get_for_display (Gdk.Display.get_default ()); - default_theme.add_resource_path ("/io/github/ellie_commons/app-generator/"); - } - - construct { - var headerbar = new Gtk.HeaderBar () { - title_widget = new Gtk.Label (null), - hexpand = true - }; - - var project_icon = new Gtk.Image.from_icon_name ("applications-development") { - pixel_size = 96 - }; - - var title_label = new Gtk.Label (_("App Generator")); - title_label.add_css_class (Granite.STYLE_CLASS_H1_LABEL); - - var description_label = new Gtk.Label (_("Create an elementary OS app using one of the pre-made app templates")) { - wrap = true, - justify = CENTER - }; - description_label.add_css_class (Granite.STYLE_CLASS_DIM_LABEL); - - var left_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 6) { - valign = CENTER, - margin_start = 64, - margin_end = 64, - margin_bottom = 32 - }; - left_box.append (project_icon); - left_box.append (title_label); - left_box.append (description_label); - - var stepper = new Widgets.Stepper () { - margin_start = 24, - margin_end = 24, - margin_bottom = 24 - }; - stepper.add_step (_("Developer")); - stepper.add_step (_("Application")); - stepper.add_step (_("Finalized")); - - var developer_view = new Views.Developer (); - var form_view = new Views.Form (); - var success_view = new Views.Success (); - - main_stack = new Gtk.Stack () { - transition_type = Gtk.StackTransitionType.SLIDE_LEFT_RIGHT - }; - main_stack.add_named (developer_view, "developer"); - main_stack.add_named (form_view, "form"); - main_stack.add_named (success_view, "success"); - - var form_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); - form_box.append (stepper); - form_box.append (main_stack); - - var main_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) { - hexpand = true, - vexpand = true - }; - - main_box.append (left_box); - main_box.append (new Gtk.Separator (Gtk.Orientation.VERTICAL) { - margin_bottom = 32 - }); - main_box.append (form_box); - - var toolbar_view = new Adw.ToolbarView (); - toolbar_view.add_top_bar (headerbar); - toolbar_view.content = main_box; - - child = toolbar_view; - - // We need to hide the title area for the split headerbar - var null_title = new Gtk.Grid () { - visible = false - }; - set_titlebar (null_title); - - // Set default elementary thme - var gtk_settings = Gtk.Settings.get_default (); - gtk_settings.gtk_icon_theme_name = "elementary"; - if (!(gtk_settings.gtk_theme_name.has_prefix ("io.elementary.stylesheet"))) { - gtk_settings.gtk_theme_name = "io.elementary.stylesheet.blueberry"; - } - - form_view.created.connect ((project_naame, location) => { - success_view.project_location = location + "/" + project_naame; - - stepper.active_index = 2; - main_stack.visible_child_name = "success"; - success_view.animation = true; - - Timeout.add_once (1000, () => { - success_view.animation = false; - }); - }); - - form_view.back.connect (() => { - main_stack.visible_child_name = "developer"; - }); - - developer_view.next.connect ((name, email) => { - stepper.active_index = 1; - main_stack.visible_child_name = "form"; - - form_view.developer_name = name; - form_view.developer_email = email; - }); - - success_view.back.connect (() => { - stepper.active_index = 0; - main_stack.visible_child_name = "developer"; - - developer_view.reset_form (); - form_view.reset_form (); - }); - } + private Gtk.Stack main_stack; + + public MainWindow (Gtk.Application application) { + Object ( + application: application, + default_height: 300, + default_width: 300, + icon_name: "applications-development", + title: _("App Generator") + ); + } + + static construct { + weak Gtk.IconTheme default_theme = Gtk.IconTheme.get_for_display (Gdk.Display.get_default ()); + default_theme.add_resource_path ("/io/github/ellie_commons/app-generator/"); + } + + construct { + var headerbar = new Gtk.HeaderBar () { + title_widget = new Gtk.Label (null), + hexpand = true + }; + + var project_icon = new Gtk.Image.from_icon_name ("applications-development") { + pixel_size = 96 + }; + + var title_label = new Gtk.Label (_("App Generator")); + title_label.add_css_class (Granite.STYLE_CLASS_H1_LABEL); + + var description_label = new Gtk.Label (_("Create an elementary OS app using one of the pre-made app templates")) { + wrap = true, + justify = CENTER + }; + description_label.add_css_class (Granite.STYLE_CLASS_DIM_LABEL); + + var left_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 6) { + valign = CENTER, + margin_start = 64, + margin_end = 64, + margin_bottom = 32 + }; + left_box.append (project_icon); + left_box.append (title_label); + left_box.append (description_label); + + var stepper = new Widgets.Stepper () { + margin_start = 24, + margin_end = 24, + margin_bottom = 24 + }; + stepper.add_step (_("Developer")); + stepper.add_step (_("Application")); + stepper.add_step (_("Finalized")); + + var developer_view = new Views.Developer (); + var form_view = new Views.Form (); + var success_view = new Views.Success (); + + main_stack = new Gtk.Stack () { + transition_type = Gtk.StackTransitionType.SLIDE_LEFT_RIGHT + }; + main_stack.add_named (developer_view, "developer"); + main_stack.add_named (form_view, "form"); + main_stack.add_named (success_view, "success"); + + var form_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); + form_box.append (stepper); + form_box.append (main_stack); + + var main_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0) { + hexpand = true, + vexpand = true + }; + + main_box.append (left_box); + main_box.append (new Gtk.Separator (Gtk.Orientation.VERTICAL) { + margin_bottom = 32 + }); + main_box.append (form_box); + + var toolbar_view = new Adw.ToolbarView (); + toolbar_view.add_top_bar (headerbar); + toolbar_view.content = main_box; + + child = toolbar_view; + + // We need to hide the title area for the split headerbar + var null_title = new Gtk.Grid () { + visible = false + }; + set_titlebar (null_title); + + // Set default elementary thme + var gtk_settings = Gtk.Settings.get_default (); + gtk_settings.gtk_icon_theme_name = "elementary"; + if (!(gtk_settings.gtk_theme_name.has_prefix ("io.elementary.stylesheet"))) { + gtk_settings.gtk_theme_name = "io.elementary.stylesheet.blueberry"; + } + + form_view.created.connect ((project_naame, location) => { + success_view.project_location = location + "/" + project_naame; + + stepper.active_index = 2; + main_stack.visible_child_name = "success"; + success_view.animation = true; + + Timeout.add_once (1000, () => { + success_view.animation = false; + }); + }); + + form_view.back.connect (() => { + main_stack.visible_child_name = "developer"; + }); + + developer_view.next.connect ((name, email) => { + stepper.active_index = 1; + main_stack.visible_child_name = "form"; + + form_view.developer_name = name; + form_view.developer_email = email; + }); + + success_view.back.connect (() => { + stepper.active_index = 0; + main_stack.visible_child_name = "developer"; + + developer_view.reset_form (); + form_view.reset_form (); + }); + } } diff --git a/src/Services/FormGroup.vala b/src/Services/FormGroup.vala index d514b7d..82a9d64 100644 --- a/src/Services/FormGroup.vala +++ b/src/Services/FormGroup.vala @@ -21,7 +21,7 @@ public class FormGroup : GLib.Object { } public FormGroup () { - controls = new Gee.ArrayList(); + controls = new Gee.ArrayList (); } public void add_control (FormControl control) { diff --git a/src/Services/Validators.vala b/src/Services/Validators.vala index c240eaf..6f8e79b 100644 --- a/src/Services/Validators.vala +++ b/src/Services/Validators.vala @@ -1,31 +1,31 @@ public class Validator : GLib.Object { - public virtual bool validate (string value) { - return false; - } + public virtual bool validate (string value) { + return false; + } } public class Validators.Required : Validator { - public override bool validate (string value) { - return value.strip ().length > 0; - } + public override bool validate (string value) { + return value.strip ().length > 0; + } } public class Validators.Regex : Validator { - public GLib.Regex regex; + public GLib.Regex regex; - public Regex (string regex_arg) { - try { - regex = new GLib.Regex (regex_arg); - } catch (Error e) { - critical (e.message); - } - } + public Regex (string regex_arg) { + try { + regex = new GLib.Regex (regex_arg); + } catch (Error e) { + critical (e.message); + } + } - public override bool validate (string value) { - if (regex == null) { - return true; - } + public override bool validate (string value) { + if (regex == null) { + return true; + } - return regex.match (value); - } + return regex.match (value); + } } diff --git a/src/Views/Form.vala b/src/Views/Form.vala index 9b77c40..6b825f9 100644 --- a/src/Views/Form.vala +++ b/src/Views/Form.vala @@ -290,4 +290,4 @@ public class Views.Form : Adw.Bin { debug (e.message); } } -} \ No newline at end of file +} From 57068a4d4ec16ea1a5a5e13e65ef342aed398179 Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 14 Oct 2024 11:50:54 -0500 Subject: [PATCH 05/11] fix tabs --- src/Views/Developer.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/Developer.vala b/src/Views/Developer.vala index ef06b2a..2a833cf 100644 --- a/src/Views/Developer.vala +++ b/src/Views/Developer.vala @@ -72,4 +72,4 @@ public class Views.Developer : Adw.Bin { name_entry.text = ""; email_entry.text = ""; } -} \ No newline at end of file +} From 8294496489f1d6c5745f842e4c3007deda35b9c2 Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 14 Oct 2024 11:54:43 -0500 Subject: [PATCH 06/11] fix ci --- ...app-generator.yml => io.github.ellie_commons.app-generator.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename io.github.ecommunity.app-generator.yml => io.github.ellie_commons.app-generator.yml (100%) diff --git a/io.github.ecommunity.app-generator.yml b/io.github.ellie_commons.app-generator.yml similarity index 100% rename from io.github.ecommunity.app-generator.yml rename to io.github.ellie_commons.app-generator.yml From 12d709424cd8fbdbb359d0687c61a940989223cc Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 14 Oct 2024 14:34:39 -0500 Subject: [PATCH 07/11] feat: update translate files --- ...ng => io.github.ellie_commons.app-generator.png} | Bin ...ot => io.github.ellie_commons.app-generator.pot} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename data/{io.github.ecommunity.app-generator.png => io.github.ellie_commons.app-generator.png} (100%) rename po/{io.github.ecommunity.app-generator.pot => io.github.ellie_commons.app-generator.pot} (100%) diff --git a/data/io.github.ecommunity.app-generator.png b/data/io.github.ellie_commons.app-generator.png similarity index 100% rename from data/io.github.ecommunity.app-generator.png rename to data/io.github.ellie_commons.app-generator.png diff --git a/po/io.github.ecommunity.app-generator.pot b/po/io.github.ellie_commons.app-generator.pot similarity index 100% rename from po/io.github.ecommunity.app-generator.pot rename to po/io.github.ellie_commons.app-generator.pot From 8da5447c2ebd18facaab68ce2885aa7a326e8b1b Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 14 Oct 2024 14:50:42 -0500 Subject: [PATCH 08/11] feat: update translate files --- po/de.po | 8 ++++---- po/es.po | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/po/de.po b/po/de.po index 026ab7a..06b1f19 100644 --- a/po/de.po +++ b/po/de.po @@ -1,11 +1,11 @@ -# German translations for io.github.elementary-community.app-generator package. -# Copyright (C) 2024 THE io.github.elementary-community.app-generator'S COPYRIGHT HOLDER -# This file is distributed under the same license as the io.github.elementary-community.app-generator package. +# German translations for io.github.ellie_commons.app-generator package. +# Copyright (C) 2024 THE io.github.ellie_commons.app-generator'S COPYRIGHT HOLDER +# This file is distributed under the same license as the io.github.ellie_commons.app-generator package. # Automatically generated, 2024. # msgid "" msgstr "" -"Project-Id-Version: io.github.elementary-community.app-generator\n" +"Project-Id-Version: io.github.ellie_commons.app-generator\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-10-13 09:15+0300\n" "PO-Revision-Date: 2024-09-19 11:25-0500\n" diff --git a/po/es.po b/po/es.po index 929c7e7..0f89877 100644 --- a/po/es.po +++ b/po/es.po @@ -1,11 +1,11 @@ -# Spanish translations for io.github.elementary-community.app-generator package. -# Copyright (C) 2024 THE io.github.elementary-community.app-generator'S COPYRIGHT HOLDER -# This file is distributed under the same license as the io.github.elementary-community.app-generator package. +# Spanish translations for io.github.ellie_commons.app-generator package. +# Copyright (C) 2024 THE io.github.ellie_commons.app-generator'S COPYRIGHT HOLDER +# This file is distributed under the same license as the io.github.ellie_commons.app-generator package. # Automatically generated, 2024. # msgid "" msgstr "" -"Project-Id-Version: io.github.elementary-community.app-generator\n" +"Project-Id-Version: io.github.ellie_commons.app-generator\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-10-13 09:15+0300\n" "PO-Revision-Date: 2024-09-19 11:25-0500\n" From 10ce1249d279eb852e61bd48a86f0e3084ef4762 Mon Sep 17 00:00:00 2001 From: Alain Date: Tue, 15 Oct 2024 05:53:41 -0500 Subject: [PATCH 09/11] feat: update app data --- data/app-generator.appdata.xml.in | 74 +++++++++++++++---------------- src/Config.vala.in | 2 +- 2 files changed, 37 insertions(+), 39 deletions(-) diff --git a/data/app-generator.appdata.xml.in b/data/app-generator.appdata.xml.in index a2a2cdb..a5e22a3 100644 --- a/data/app-generator.appdata.xml.in +++ b/data/app-generator.appdata.xml.in @@ -1,41 +1,39 @@ - io.github.ellie_commons.app-generator - CC-BY-4.0 - GPL-3.0-or-later - App Generator - Create an elementary OS app using one of the pre-made app templates - -

- App Generator streamlines the process of creating Vala and GTK projects, allowing you to quickly get started without having to configure everything from scratch. With just a few clicks, it generates a well-organized and functional project structure, optimizing your workflow and saving you from repetitive setup tasks. Perfect for developers who want to focus on coding without worrying about configuration details. -

-
- - - https://raw.githubusercontent.com/elementary-community/app-generator/refs/heads/main/data/io.github.ellie_commons.app-generator.png - - - - ModernToolkit - HiDpiIcon - - - - elementary Community - - - https://github.com/elementary-community/app-generator - https://github.com/elementary-community/app-generator/issues - io.github.ellie_commons.app-generator.desktop - - - -

First Release!!!

-
-
-
- - - #603461 - + io.github.ellie_commons.app-generator + CC-BY-4.0 + GPL-3.0-or-later + App Generator + Create an elementary OS app using one of the pre-made app templates + +

+ App Generator streamlines the process of creating Vala and GTK projects, allowing you to quickly get started without having to configure everything from scratch. With just a few clicks, it generates a well-organized and functional project structure, optimizing your workflow and saving you from repetitive setup tasks. Perfect for developers who want to focus on coding without worrying about configuration details. +

+
+ + + https://raw.githubusercontent.com/ellie-commons/app-generator/refs/heads/main/data/io.github.ellie_commons.app-generator.png + + + + ModernToolkit + HiDpiIcon + + + elementary Commons + + https://github.com/ellie-commons/app-generator + https://github.com/ellie-commons/app-generator/issues + io.github.ellie_commons.app-generator.desktop + + + +

First Release!!!

+
+
+
+ + + #603461 +
\ No newline at end of file diff --git a/src/Config.vala.in b/src/Config.vala.in index 5f9bcde..76c2a97 100644 --- a/src/Config.vala.in +++ b/src/Config.vala.in @@ -1,3 +1,3 @@ public const string GETTEXT_PACKAGE = @GETTEXT_PACKAGE@; public const string LOCALEDIR = @LOCALEDIR@; -public const string REPOSITORY_TEMPLATE_URL = "https://github.com/elementary-community/elementary-app-template.git"; +public const string REPOSITORY_TEMPLATE_URL = "https://github.com/ellie-commons/elementary-app-template.git"; From c3e8cdb3db23d2a62568b82f71381d20c48763f3 Mon Sep 17 00:00:00 2001 From: Alain Date: Tue, 15 Oct 2024 11:02:35 +0000 Subject: [PATCH 10/11] Update data/app-generator.appdata.xml.in Co-authored-by: Ryo Nakano --- data/app-generator.appdata.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/app-generator.appdata.xml.in b/data/app-generator.appdata.xml.in index a5e22a3..362a7ed 100644 --- a/data/app-generator.appdata.xml.in +++ b/data/app-generator.appdata.xml.in @@ -7,7 +7,7 @@ Create an elementary OS app using one of the pre-made app templates

- App Generator streamlines the process of creating Vala and GTK projects, allowing you to quickly get started without having to configure everything from scratch. With just a few clicks, it generates a well-organized and functional project structure, optimizing your workflow and saving you from repetitive setup tasks. Perfect for developers who want to focus on coding without worrying about configuration details. + App Generator streamlines the process of creating Vala and GTK projects, allowing you to quickly get started without having to configure everything from scratch. With just a few clicks, it generates a well-organized and functional project structure, optimizing your workflow and saving you from repetitive setup tasks. Perfect for developers who want to focus on coding without worrying about configuration details.

From e81b8a57e0d390b33128ebd2c57ad364c977c718 Mon Sep 17 00:00:00 2001 From: Alain Date: Tue, 15 Oct 2024 11:13:57 +0000 Subject: [PATCH 11/11] Update README.md Co-authored-by: Ryo Nakano --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5cac395..cdf2d0b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@

Create an elementary OS app using one of the pre-made app templates

-![Screenshot](https://raw.githubusercontent.com/elementary-community/app-generator/refs/heads/main/data/io.github.ellie_commons.app-generator.png) +![Screenshot](https://raw.githubusercontent.com/ellie-commons/app-generator/refs/heads/main/data/io.github.ellie_commons.app-generator.png) ## Building and Installation