From e389acfb9b67a10ea85ac90e9fe6bb06dfac9dc2 Mon Sep 17 00:00:00 2001 From: PAlexanderFranklin Date: Thu, 24 Aug 2023 00:55:01 -0700 Subject: [PATCH] Remove template from name --- android/app/build.gradle | 4 +- android/app/src/main/AndroidManifest.xml | 2 +- .../example/callerkittemplate/MainActivity.kt | 2 +- ios/Runner.xcodeproj/project.pbxproj | 12 +-- ios/Runner/Info.plist | 4 +- linux/CMakeLists.txt | 4 +- linux/my_application.cc | 4 +- macos/Runner.xcodeproj/project.pbxproj | 18 ++--- .../xcshareddata/xcschemes/Runner.xcscheme | 8 +- macos/Runner/Configs/AppInfo.xcconfig | 4 +- test/widget_test.dart | 2 +- web/index.html | 76 +++++++++---------- web/manifest.json | 66 ++++++++-------- windows/CMakeLists.txt | 4 +- windows/runner/Runner.rc | 8 +- windows/runner/main.cpp | 2 +- 16 files changed, 110 insertions(+), 110 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 5d76dfc..0355673 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -23,7 +23,7 @@ if (flutterVersionName == null) { } android { - namespace "com.example.callerkittemplate" + namespace "com.example.callerkit" compileSdkVersion flutter.compileSdkVersion ndkVersion flutter.ndkVersion @@ -42,7 +42,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.callerkittemplate" + applicationId "com.example.callerkit" // 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 diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 10821bf..92d891b 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Callerkittemplate + callerkit CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -13,7 +13,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - callerkittemplate + callerkit CFBundlePackageType APPL CFBundleShortVersionString diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index 4c412b5..453be48 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -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 "callerkittemplate") +set(BINARY_NAME "callerkit") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.example.callerkittemplate") +set(APPLICATION_ID "com.example.callerkit") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake. diff --git a/linux/my_application.cc b/linux/my_application.cc index 31d3c9a..4533bc4 100644 --- a/linux/my_application.cc +++ b/linux/my_application.cc @@ -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, "callerkittemplate"); + gtk_header_bar_set_title(header_bar, "callerkit"); 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, "callerkittemplate"); + gtk_window_set_title(window, "callerkit"); } gtk_window_set_default_size(window, 1280, 720); diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj index 519f542..a97b4e1 100644 --- a/macos/Runner.xcodeproj/project.pbxproj +++ b/macos/Runner.xcodeproj/project.pbxproj @@ -64,7 +64,7 @@ 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* callerkittemplate.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "callerkittemplate.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 33CC10ED2044A3C60003C045 /* callerkit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "callerkit.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; @@ -131,7 +131,7 @@ 33CC10EE2044A3C60003C045 /* Products */ = { isa = PBXGroup; children = ( - 33CC10ED2044A3C60003C045 /* callerkittemplate.app */, + 33CC10ED2044A3C60003C045 /* callerkit.app */, 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, ); name = Products; @@ -217,7 +217,7 @@ ); name = Runner; productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* callerkittemplate.app */; + productReference = 33CC10ED2044A3C60003C045 /* callerkit.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -384,10 +384,10 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.callerkittemplate.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.example.callerkit.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/callerkittemplate.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/callerkittemplate"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/callerkit.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/callerkit"; }; name = Debug; }; @@ -398,10 +398,10 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.callerkittemplate.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.example.callerkit.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/callerkittemplate.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/callerkittemplate"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/callerkit.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/callerkit"; }; name = Release; }; @@ -412,10 +412,10 @@ CURRENT_PROJECT_VERSION = 1; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.callerkittemplate.RunnerTests; + PRODUCT_BUNDLE_IDENTIFIER = com.example.callerkit.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/callerkittemplate.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/callerkittemplate"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/callerkit.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/callerkit"; }; name = Profile; }; diff --git a/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index b12d6fc..954dff4 100644 --- a/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -15,7 +15,7 @@ @@ -31,7 +31,7 @@ @@ -65,7 +65,7 @@ @@ -82,7 +82,7 @@ diff --git a/macos/Runner/Configs/AppInfo.xcconfig b/macos/Runner/Configs/AppInfo.xcconfig index fd31384..340dc74 100644 --- a/macos/Runner/Configs/AppInfo.xcconfig +++ b/macos/Runner/Configs/AppInfo.xcconfig @@ -5,10 +5,10 @@ // 'flutter create' template. // The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = callerkittemplate +PRODUCT_NAME = callerkit // The application's bundle identifier -PRODUCT_BUNDLE_IDENTIFIER = com.example.callerkittemplate +PRODUCT_BUNDLE_IDENTIFIER = com.example.callerkit // The copyright displayed in application information PRODUCT_COPYRIGHT = Copyright © 2023 com.example. All rights reserved. diff --git a/test/widget_test.dart b/test/widget_test.dart index 44fa4bf..a0ce3e4 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:callerkittemplate/main.dart'; +import 'package:callerkit/main.dart'; void main() { testWidgets('Counter increments smoke test', (WidgetTester tester) async { diff --git a/web/index.html b/web/index.html index ad04da2..c970d0c 100644 --- a/web/index.html +++ b/web/index.html @@ -1,7 +1,7 @@ - - - + - - - + + + - - - - - + + + + + - - + + - callerkittemplate - + callerkit + - - - - - - + + + + + - + + diff --git a/web/manifest.json b/web/manifest.json index d0ead97..cd0f1d8 100644 --- a/web/manifest.json +++ b/web/manifest.json @@ -1,35 +1,35 @@ { - "name": "callerkittemplate", - "short_name": "callerkittemplate", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] + "name": "callerkit", + "short_name": "callerkit", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "A new Flutter project.", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [ + { + "src": "icons/Icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/Icon-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "icons/Icon-maskable-192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "icons/Icon-maskable-512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ] } diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index 0dd07bf..2f31cd1 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -1,10 +1,10 @@ # Project-level configuration. cmake_minimum_required(VERSION 3.14) -project(callerkittemplate LANGUAGES CXX) +project(callerkit 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 "callerkittemplate") +set(BINARY_NAME "callerkit") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake. diff --git a/windows/runner/Runner.rc b/windows/runner/Runner.rc index f81d267..38db052 100644 --- a/windows/runner/Runner.rc +++ b/windows/runner/Runner.rc @@ -90,12 +90,12 @@ BEGIN BLOCK "040904e4" BEGIN VALUE "CompanyName", "com.example" "\0" - VALUE "FileDescription", "callerkittemplate" "\0" + VALUE "FileDescription", "callerkit" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "callerkittemplate" "\0" + VALUE "InternalName", "callerkit" "\0" VALUE "LegalCopyright", "Copyright (C) 2023 com.example. All rights reserved." "\0" - VALUE "OriginalFilename", "callerkittemplate.exe" "\0" - VALUE "ProductName", "callerkittemplate" "\0" + VALUE "OriginalFilename", "callerkit.exe" "\0" + VALUE "ProductName", "callerkit" "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0" END END diff --git a/windows/runner/main.cpp b/windows/runner/main.cpp index 4e897b0..06c1cbe 100644 --- a/windows/runner/main.cpp +++ b/windows/runner/main.cpp @@ -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"callerkittemplate", origin, size)) { + if (!window.Create(L"callerkit", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true);