Skip to content

Commit

Permalink
chore: rename + add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
glemartret committed Nov 17, 2023
1 parent 36c82f1 commit 5dbe910
Show file tree
Hide file tree
Showing 18 changed files with 47 additions and 34 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Create Tag

on:
push:
branches:
- main
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: peiffer-innovations/actions-dart-version-autotag@v1
with:
token: ${{ secrets.TAG_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# lm_app
# lm_labs_app

A new Flutter project.

Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (flutterVersionName == null) {
}

android {
namespace "com.lemartret.lm_app"
namespace "com.lemartret.lm_labs_app"
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion

Expand All @@ -42,7 +42,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.lemartret.lm_app"
applicationId "com.lemartret.lm_labs_app"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="lm_app"
android:label="lm_labs_app"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.lemartret.lm_app
package com.lemartret.lm_labs_app

import io.flutter.embedding.android.FlutterActivity

Expand Down
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>lm_app</string>
<string>lm_labs_app</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
2 changes: 1 addition & 1 deletion lib/src/localization/app_en.arb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appTitle": "lm_app",
"appTitle": "lm_labs_app",
"@appTitle": {
"description": "The title of the application"
}
Expand Down
4 changes: 2 additions & 2 deletions linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "lm_app")
set(BINARY_NAME "lm_labs_app")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "com.lemartret.lm_app")
set(APPLICATION_ID "com.lemartret.lm_labs_app")

# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.
Expand Down
4 changes: 2 additions & 2 deletions linux/my_application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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, "lm_app");
gtk_header_bar_set_title(header_bar, "lm_labs_app");
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, "lm_app");
gtk_window_set_title(window, "lm_labs_app");
}

gtk_window_set_default_size(window, 1280, 720);
Expand Down
12 changes: 6 additions & 6 deletions macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
33CC10ED2044A3C60003C045 /* lm_app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "lm_app.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10ED2044A3C60003C045 /* lm_labs_app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "lm_labs_app.app"; sourceTree = BUILT_PRODUCTS_DIR; };
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
Expand Down Expand Up @@ -131,7 +131,7 @@
33CC10EE2044A3C60003C045 /* Products */ = {
isa = PBXGroup;
children = (
33CC10ED2044A3C60003C045 /* lm_app.app */,
33CC10ED2044A3C60003C045 /* lm_labs_app.app */,
331C80D5294CF71000263BE5 /* RunnerTests.xctest */,
);
name = Products;
Expand Down Expand Up @@ -217,7 +217,7 @@
);
name = Runner;
productName = Runner;
productReference = 33CC10ED2044A3C60003C045 /* lm_app.app */;
productReference = 33CC10ED2044A3C60003C045 /* lm_labs_app.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
Expand Down Expand Up @@ -387,7 +387,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.lemartret.lmApp.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lm_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/lm_app";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lm_labs_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/lm_labs_app";
};
name = Debug;
};
Expand All @@ -401,7 +401,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.lemartret.lmApp.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lm_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/lm_app";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lm_labs_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/lm_labs_app";
};
name = Release;
};
Expand All @@ -415,7 +415,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.lemartret.lmApp.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lm_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/lm_app";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/lm_labs_app.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/lm_labs_app";
};
name = Profile;
};
Expand Down
8 changes: 4 additions & 4 deletions macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "lm_app.app"
BuildableName = "lm_labs_app.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
Expand All @@ -31,7 +31,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "lm_app.app"
BuildableName = "lm_labs_app.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -65,7 +65,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "lm_app.app"
BuildableName = "lm_labs_app.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
Expand All @@ -82,7 +82,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
BuildableName = "lm_app.app"
BuildableName = "lm_labs_app.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
Expand Down
2 changes: 1 addition & 1 deletion macos/Runner/Configs/AppInfo.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// 'flutter create' template.

// The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = lm_app
PRODUCT_NAME = lm_labs_app

// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.lemartret.lmApp
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: lm_app
name: lm_labs_app
description: "A new Flutter project."

# Prevent accidental publishing to pub.dev.
Expand Down
4 changes: 2 additions & 2 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
<!-- iOS meta tags & icons -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="lm_app">
<meta name="apple-mobile-web-app-title" content="lm_labs_app">
<link rel="apple-touch-icon" href="icons/Icon-192.png">

<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>

<title>lm_app</title>
<title>lm_labs_app</title>
<link rel="manifest" href="manifest.json">

<script>
Expand Down
4 changes: 2 additions & 2 deletions web/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lm_app",
"short_name": "lm_app",
"name": "lm_labs_app",
"short_name": "lm_labs_app",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",
Expand Down
4 changes: 2 additions & 2 deletions windows/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Project-level configuration.
cmake_minimum_required(VERSION 3.14)
project(lm_app LANGUAGES CXX)
project(lm_labs_app 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 "lm_app")
set(BINARY_NAME "lm_labs_app")

# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.
Expand Down
8 changes: 4 additions & 4 deletions windows/runner/Runner.rc
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "com.lemartret" "\0"
VALUE "FileDescription", "lm_app" "\0"
VALUE "FileDescription", "lm_labs_app" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "lm_app" "\0"
VALUE "InternalName", "lm_labs_app" "\0"
VALUE "LegalCopyright", "Copyright (C) 2023 com.lemartret. All rights reserved." "\0"
VALUE "OriginalFilename", "lm_app.exe" "\0"
VALUE "ProductName", "lm_app" "\0"
VALUE "OriginalFilename", "lm_labs_app.exe" "\0"
VALUE "ProductName", "lm_labs_app" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0"
END
END
Expand Down
2 changes: 1 addition & 1 deletion windows/runner/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"lm_app", origin, size)) {
if (!window.Create(L"lm_labs_app", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);
Expand Down

0 comments on commit 5dbe910

Please sign in to comment.