feat: mobile-like window size and always-visible stats

- Changed window size to mobile phone format (400x800)
- Removed width condition for ActiveProxyFooter - now always visible
- Added run-umbrix.sh launch script with icon copying
- Stats cards now display on all screen sizes
This commit is contained in:
Umbrix Developer
2026-01-17 13:09:20 +03:00
parent ec5ebbd54b
commit 76a374950f
245 changed files with 7931 additions and 1315 deletions

View File

@@ -1,10 +1,10 @@
# Project-level configuration.
cmake_minimum_required(VERSION 3.14)
project(hiddify LANGUAGES CXX)
project(umbrix 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 "Hiddify")
set(BINARY_NAME "Umbrix")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.

View File

@@ -89,13 +89,13 @@ BEGIN
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "CompanyName", "Hiddify" "\0"
VALUE "FileDescription", "Hiddify" "\0"
VALUE "CompanyName", "Umbrix" "\0"
VALUE "FileDescription", "Umbrix" "\0"
VALUE "FileVersion", VERSION_AS_STRING "\0"
VALUE "InternalName", "hiddify" "\0"
VALUE "LegalCopyright", "Copyright (C) 2023 Hiddify.com. All rights reserved." "\0"
VALUE "OriginalFilename", "Hiddify.exe" "\0"
VALUE "ProductName", "hiddify" "\0"
VALUE "InternalName", "umbrix" "\0"
VALUE "LegalCopyright", "Copyright (C) 2024 Umbrix. All rights reserved." "\0"
VALUE "OriginalFilename", "Umbrix.exe" "\0"
VALUE "ProductName", "umbrix" "\0"
VALUE "ProductVersion", VERSION_AS_STRING "\0"
END
END

View File

@@ -9,15 +9,15 @@
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");
HANDLE hMutexInstance = CreateMutex(NULL, TRUE, L"UmbrixMutex");
HWND handle = FindWindowA(NULL, "Umbrix");
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")) {
if (window.SendAppLinkToInstance(L"Umbrix")) {
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", origin, size)) {
if (!window.Create(L"Umbrix", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);