From b2a27f7801e50b97476d8acd045134125a847320 Mon Sep 17 00:00:00 2001 From: CGH0S7 <776459475@qq.com> Date: Mon, 23 Mar 2026 16:44:23 +0800 Subject: [PATCH] Updated APP name --- frontend/README.md | 2 +- frontend/android/app/build.gradle.kts | 10 +- .../android/app/src/main/AndroidManifest.xml | 2 +- .../{frontend => hightube}/MainActivity.kt | 2 +- .../reports/problems/problems-report.html | 663 ++++++++++++++++++ frontend/linux/CMakeLists.txt | 4 +- frontend/linux/runner/my_application.cc | 4 +- frontend/pubspec.yaml | 4 +- frontend/test/widget_test.dart | 2 +- frontend/windows/CMakeLists.txt | 4 +- frontend/windows/runner/Runner.rc | 8 +- frontend/windows/runner/main.cpp | 2 +- 12 files changed, 685 insertions(+), 22 deletions(-) rename frontend/android/app/src/main/kotlin/com/example/{frontend => hightube}/MainActivity.kt (76%) create mode 100644 frontend/android/build/reports/problems/problems-report.html diff --git a/frontend/README.md b/frontend/README.md index 92d1efb..3e8235a 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -1,4 +1,4 @@ -# frontend +# Hightube A new Flutter project. diff --git a/frontend/android/app/build.gradle.kts b/frontend/android/app/build.gradle.kts index b0933e4..77956a6 100644 --- a/frontend/android/app/build.gradle.kts +++ b/frontend/android/app/build.gradle.kts @@ -6,22 +6,22 @@ plugins { } android { - namespace = "com.example.frontend" + namespace = "com.example.hightube" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_17.toString() + jvmTarget = JavaVersion.VERSION_1_8.toString() } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId = "com.example.frontend" + applicationId = "com.example.hightube" // You can update the following values to match your application needs. // For more information, see: https://flutter.dev/to/review-gradle-config. minSdk = flutter.minSdkVersion diff --git a/frontend/android/app/src/main/AndroidManifest.xml b/frontend/android/app/src/main/AndroidManifest.xml index 0fd500e..c561285 100644 --- a/frontend/android/app/src/main/AndroidManifest.xml +++ b/frontend/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + + + + + + + + + + + + Gradle Configuration Cache + + + +
+ +
+ Loading... +
+ + + + + + diff --git a/frontend/linux/CMakeLists.txt b/frontend/linux/CMakeLists.txt index cba8d2d..46422eb 100644 --- a/frontend/linux/CMakeLists.txt +++ b/frontend/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 "frontend") +set(BINARY_NAME "hightube") # The unique GTK application identifier for this application. See: # https://wiki.gnome.org/HowDoI/ChooseApplicationID -set(APPLICATION_ID "com.example.frontend") +set(APPLICATION_ID "com.example.hightube") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake. diff --git a/frontend/linux/runner/my_application.cc b/frontend/linux/runner/my_application.cc index 9821ddf..ef984b4 100644 --- a/frontend/linux/runner/my_application.cc +++ b/frontend/linux/runner/my_application.cc @@ -45,11 +45,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, "frontend"); + gtk_header_bar_set_title(header_bar, "Hightube"); 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, "frontend"); + gtk_window_set_title(window, "Hightube"); } gtk_window_set_default_size(window, 1280, 720); diff --git a/frontend/pubspec.yaml b/frontend/pubspec.yaml index 031c7b1..cde0b8a 100644 --- a/frontend/pubspec.yaml +++ b/frontend/pubspec.yaml @@ -1,5 +1,5 @@ -name: frontend -description: "A new Flutter project." +name: hightube +description: "Open Source Live Platform" # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: 'none' # Remove this line if you wish to publish to pub.dev diff --git a/frontend/test/widget_test.dart b/frontend/test/widget_test.dart index 812c978..00e8ab7 100644 --- a/frontend/test/widget_test.dart +++ b/frontend/test/widget_test.dart @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:frontend/main.dart'; +import 'package:hightube/main.dart'; void main() { testWidgets('Counter increments smoke test', (WidgetTester tester) async { diff --git a/frontend/windows/CMakeLists.txt b/frontend/windows/CMakeLists.txt index c826e18..3609435 100644 --- a/frontend/windows/CMakeLists.txt +++ b/frontend/windows/CMakeLists.txt @@ -1,10 +1,10 @@ # Project-level configuration. cmake_minimum_required(VERSION 3.14) -project(frontend LANGUAGES CXX) +project(hightube 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 "frontend") +set(BINARY_NAME "hightube") # Explicitly opt in to modern CMake behaviors to avoid warnings with recent # versions of CMake. diff --git a/frontend/windows/runner/Runner.rc b/frontend/windows/runner/Runner.rc index dcb3cb7..09dd7c0 100644 --- a/frontend/windows/runner/Runner.rc +++ b/frontend/windows/runner/Runner.rc @@ -90,12 +90,12 @@ BEGIN BLOCK "040904e4" BEGIN VALUE "CompanyName", "com.example" "\0" - VALUE "FileDescription", "frontend" "\0" + VALUE "FileDescription", "Hightube" "\0" VALUE "FileVersion", VERSION_AS_STRING "\0" - VALUE "InternalName", "frontend" "\0" + VALUE "InternalName", "Hightube" "\0" VALUE "LegalCopyright", "Copyright (C) 2026 com.example. All rights reserved." "\0" - VALUE "OriginalFilename", "frontend.exe" "\0" - VALUE "ProductName", "frontend" "\0" + VALUE "OriginalFilename", "Hightube.exe" "\0" + VALUE "ProductName", "Hightube" "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0" END END diff --git a/frontend/windows/runner/main.cpp b/frontend/windows/runner/main.cpp index a9dd93d..7a35055 100644 --- a/frontend/windows/runner/main.cpp +++ b/frontend/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"frontend", origin, size)) { + if (!window.Create(L"Hightube", origin, size)) { return EXIT_FAILURE; } window.SetQuitOnClose(true);