From 4ac4ce0d7e47641be877d8f63063b8b2dedce3c1 Mon Sep 17 00:00:00 2001 From: jscampucci Date: Tue, 2 Jul 2024 14:54:11 +0200 Subject: [PATCH] [clean] Notube -> noTube --- android/app/src/main/AndroidManifest.xml | 2 +- ios/Runner/Info.plist | 4 ++-- lib/main.dart | 2 +- linux/CMakeLists.txt | 2 +- macos/Runner/Configs/AppInfo.xcconfig | 2 +- pubspec.lock | 16 ++++++++++++++++ pubspec.yaml | 1 + windows/runner/main.cpp | 2 +- 8 files changed, 24 insertions(+), 7 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 5168130..9141f68 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Notube + noTube CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -13,7 +13,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - notube + noTube CFBundlePackageType APPL CFBundleShortVersionString diff --git a/lib/main.dart b/lib/main.dart index 39689fe..8f35de8 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -17,7 +17,7 @@ void main() async { WindowOptions windowOptions = WindowOptions( size: Size(800, 600), minimumSize: Size(320, 400), - title: 'NoTube', + title: 'noTube', ); windowManager.waitUntilReadyToShow(windowOptions, () async { await windowManager.setIcon('assets/images/icon.png'); diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index 65af100..46265d5 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -4,7 +4,7 @@ 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 "notube") +set(BINARY_NAME "noTube") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID set(APPLICATION_ID "com.example.notube") diff --git a/macos/Runner/Configs/AppInfo.xcconfig b/macos/Runner/Configs/AppInfo.xcconfig index c50f591..7dbec36 100644 --- a/macos/Runner/Configs/AppInfo.xcconfig +++ b/macos/Runner/Configs/AppInfo.xcconfig @@ -5,7 +5,7 @@ // 'flutter create' template. // The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = notube +PRODUCT_NAME = noTube // The application's bundle identifier PRODUCT_BUNDLE_IDENTIFIER = com.example.notube diff --git a/pubspec.lock b/pubspec.lock index 05c85f8..265c0f6 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -333,6 +333,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.1" + logger: + dependency: transitive + description: + name: logger + sha256: af05cc8714f356fd1f3888fb6741cbe9fbe25cdb6eedbab80e1a6db21047d4a4 + url: "https://pub.dev" + source: hosted + version: "2.3.0" matcher: dependency: transitive description: @@ -557,6 +565,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.4.0" + rename: + dependency: "direct main" + description: + name: rename + sha256: "6ef5daf4b11130e71d93630cfb70725e5a35b19039739cfcd2b272c834ba25fe" + url: "https://pub.dev" + source: hosted + version: "3.0.2" screen_retriever: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 21194a0..81fe2bf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,6 +32,7 @@ dependencies: downloadsfolder: ^1.1.0 filesystem_picker: ^4.1.0 file_picker: ^8.0.6 + rename: ^3.0.2 dev_dependencies: flutter_test: diff --git a/windows/runner/main.cpp b/windows/runner/main.cpp index fefeb83..b5bf23b 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"notube", origin, size)) { + if (!window.Create(L"noTube", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true);