mirror of https://github.com/Wox-launcher/Wox
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:
parent
974010a6da
commit
f6dff901c2
|
@ -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 ""
|
||||
}
|
||||
|
|
|
@ -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
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue