fix: name issue

This commit is contained in:
Hiddify
2023-08-21 14:27:23 +00:00
parent 9bfa4806f0
commit ed87ed1b3c
6 changed files with 8 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.hiddify.hiddify"
applicationId "app.hiddify.com"
minSdkVersion 21
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()

View File

@@ -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 "HiddifyNext")
set(BINARY_NAME "hiddify")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "app.hiddify.com")

View File

@@ -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, "hiddify");
gtk_header_bar_set_title(header_bar, "Hiddify Next");
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, "hiddify");
gtk_window_set_title(window, "Hiddify Next");
}
gtk_window_set_default_size(window, 1280, 720);

View File

@@ -5,7 +5,7 @@
// 'flutter create' template.
// The application's name. By default this is also the title of the Flutter window.
PRODUCT_NAME = hiddify
PRODUCT_NAME = HiddifyNext
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = app.hiddify.com

View File

@@ -7,4 +7,4 @@ contents:
- x: 192
y: 344
type: file
path: hiddify.app
path: HiddifyNext.app

View File

@@ -9,7 +9,7 @@
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
HWND hwnd = ::FindWindow(L"FLUTTER_RUNNER_WIN32_WINDOW", L"hiddify");
HWND hwnd = ::FindWindow(L"FLUTTER_RUNNER_WIN32_WINDOW", L"Hiddify Next");
if (hwnd != NULL) {
DispatchToProtocolHandler(hwnd);
@@ -37,7 +37,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"hiddify", origin, size)) {
if (!window.Create(L"Hiddify Next", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);