feat(ui): rename ui application to `wox-ui` across platforms

* Updated executable names for Windows, macOS, and Linux to `wox-ui`.
* Adjusted related paths in `CMakeLists.txt` and `Makefile`.
* Modified `AppInfo.xcconfig` to reflect the new product name.
This commit is contained in:
qianlifeng 2025-07-27 21:57:49 +08:00
parent 974010a6da
commit f6dff901c2
No known key found for this signature in database
5 changed files with 9 additions and 9 deletions

View File

@ -216,13 +216,13 @@ func (l *Location) GetBackupDirectory() string {
func (l *Location) GetUIAppPath() string {
if IsWindows() {
return path.Join(l.GetUIDirectory(), "flutter", "wox", "wox.exe")
return path.Join(l.GetUIDirectory(), "flutter", "wox", "wox-ui.exe")
}
if IsLinux() {
return path.Join(l.GetUIDirectory(), "flutter", "wox", "wox")
return path.Join(l.GetUIDirectory(), "flutter", "wox", "wox-ui")
}
if IsMacOS() {
return path.Join(l.GetUIDirectory(), "flutter", "wox.app", "Contents", "MacOS", "wox")
return path.Join(l.GetUIDirectory(), "flutter", "wox-ui.app", "Contents", "MacOS", "wox-ui")
}
return ""
}

View File

@ -34,6 +34,6 @@ ifeq ($(FLUTTER_TARGET),linux)
cp -r build/$(FLUTTER_TARGET)/x64/release/bundle $(UI_FLUTTER_DIR)/wox
endif
ifeq ($(FLUTTER_TARGET),macos)
cp -r build/$(FLUTTER_TARGET)/Build/Products/Release/wox.app $(UI_FLUTTER_DIR)
chmod +x $(UI_FLUTTER_DIR)/wox.app/Contents/MacOS/wox
endif
cp -r build/$(FLUTTER_TARGET)/Build/Products/Release/wox-ui.app $(UI_FLUTTER_DIR)
chmod +x $(UI_FLUTTER_DIR)/wox-ui.app/Contents/MacOS/wox-ui
endif

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

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 = wox
PRODUCT_NAME = wox-ui
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.example.wox

View File

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