mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 01:53:27 +03:00
5c495265f4
This implements out-of-repository-theming, and removes the old custom.ini theming that never worked on all platforms and had no straight deployment story. The new approach requires the CMAKE variable OEM_THEME_DIR to point to a directory that must at least contain an OEM.cmake file (check OWNCLOUD.cmake for possible options) as well as a themes.qrc and a themes/ directory that directly correspond to the ones in the source tree.
10 lines
522 B
CMake
10 lines
522 B
CMake
set( APPLICATION_SHORTNAME "owncloud" )
|
|
set( APPLICATION_NAME "ownCloud" )
|
|
set( APPLICATION_EXECUTABLE "owncloud" )
|
|
set( APPLICATION_DOMAIN "owncloud.com" )
|
|
set( APPLICATION_VENDOR "ownCloud, Inc" )
|
|
set( THEME_CLASS "ownCloudTheme" )
|
|
set( APPLICATION_REV_DOMAIN "com.owncloud.desktopclient" )
|
|
set( WIN_SETUP_BITMAP_PATH "${CMAKE_SOURCE_DIR}/admin/win/nsi" )
|
|
# set( THEME_INCLUDE "${OEM_THEME_DIR}/mytheme.h" )
|
|
# set( APPLICATION_LICENSE "${OEM_THEME_DIR}/license.txt )
|