chg: Change name to Hiddify

This commit is contained in:
Hiddify
2024-02-10 11:39:37 +01:00
parent a820f4d43e
commit 927e080899
37 changed files with 361 additions and 76 deletions

View File

@@ -4,7 +4,7 @@ project(hiddify 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")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.

View File

@@ -1,9 +1,9 @@
app_id: 6L903538-42B1-4596-G479-BJ779F21A65D
publisher: Hiddify
publisher_url: https://github.com/hiddify/hiddify-next
display_name: Hiddify Next
executable_name: HiddifyNext.exe
output_base_file_name: HiddifyNext.exe
display_name: Hiddify
executable_name: Hiddify.exe
output_base_file_name: Hiddify.exe
create_desktop_icon: true
install_dir_name: "{autopf64}\\hiddify"
setup_icon_file: ..\..\windows\runner\resources\app_icon.ico

View File

@@ -1,6 +1,6 @@
display_name: Hiddify Next
display_name: Hiddify
publisher_display_name: Hiddify
identity_name: app.hiddify.com
msix_version: 1.0.0.0
logo_path: windows\runner\resources\app_icon.ico
capabilities: internetClient, privateNetworkClientServer
logo_path: windows\runner\resources\app_icon.ico
capabilities: internetClient, privateNetworkClientServer

View File

@@ -94,7 +94,7 @@ BEGIN
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "hiddify" "\0"
VALUE "LegalCopyright", "Copyright (C) 2023 Hiddify.com. All rights reserved." "\0"
VALUE "OriginalFilename", "HiddifyNext.exe" "\0"
VALUE "OriginalFilename", "Hiddify.exe" "\0"
VALUE "ProductName", "hiddify" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0"
END

View File

@@ -10,14 +10,14 @@
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
HANDLE hMutexInstance = CreateMutex(NULL, TRUE, L"HiddifyMutex");
HWND handle = FindWindowA(NULL, "Hiddify Next");
HWND handle = FindWindowA(NULL, "Hiddify");
if (GetLastError() == ERROR_ALREADY_EXISTS) {
flutter::DartProject project(L"data");
std::vector<std::string> command_line_arguments = GetCommandLineArguments();
project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
FlutterWindow window(project);
if (window.SendAppLinkToInstance(L"Hiddify Next")) {
if (window.SendAppLinkToInstance(L"Hiddify")) {
return false;
}
@@ -47,7 +47,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 Next", origin, size)) {
if (!window.Create(L"Hiddify", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);