mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-10-26 16:45:24 +00:00
Consolidates APP_NAME into DATA_NAME and removes redundant MainName(). Ensures Qt's QStandardPaths (cache, config dirs) match our Paths code, fixing duplicate cache directories on Linux.
19 lines
498 B
CMake
19 lines
498 B
CMake
set(MAIN_TARGET JellyfinDesktop)
|
|
|
|
# Output binary name
|
|
set(MAIN_NAME jellyfin-desktop)
|
|
|
|
# Data directory name - also used for QCoreApplication::applicationName
|
|
# which determines QStandardPaths (cache, config, data dirs)
|
|
set(DATA_NAME jellyfin-desktop)
|
|
|
|
if(APPLE)
|
|
set(MAIN_NAME "Jellyfin Desktop")
|
|
set(DATA_NAME "Jellyfin Desktop")
|
|
elseif(WIN32)
|
|
set(MAIN_NAME "Jellyfin Desktop")
|
|
set(DATA_NAME "Jellyfin Desktop")
|
|
endif()
|
|
|
|
configure_file(src/shared/Names.cpp.in src/shared/Names.cpp @ONLY)
|