Skip to content

Easier Customization of Desktop Client #2117

@AHeimberger

Description

@AHeimberger

Expected behaviour

I guess there are often requests to make customization of the Nextcloud desktop client easier, additionaly to the Theme containing the Logo of the Application. This can be done, but it is realy cumbersome, because you need to modify the NEXTCLOUD.cmake File.

I guess it would be nice if you could make the .cmake-variables for the application modifiable as well.

    cmake "-G${VERSION_VSSTUDIO}" \
        "../build" \
        -Wno-dev \
        -D CMAKE_PREFIX_PATH=${DIR_QT_MSVC} \
        -D QTKEYCHAIN_LIBRARY="${DIR_QTKEYCHAIN}/lib/qt5keychain.lib" \
        -D QTKEYCHAIN_INCLUDE_DIR="${DIR_QTKEYCHAIN}/include/qt5keychain" \
        -D ZLIB_LIBRARY="${DIR_ZLIB}/lib/zlib.lib" \
        -D ZLIB_INCLUDE_DIR="${DIR_ZLIB}/include" \
        -D OPENSSL_ROOT_DIR="${DIR_OPENSSL}" \
        -D OPENSSL_INCLUDE_DIR="${DIR_OPENSSL}/include/" \
        -D OPENSSL_LIBRARIES="${DIR_OPENSSL}/lib/" \
        -D NO_SHIBBOLETH=1 \
        \
        -D APPLICATION_NAME="My Application" \
        -D APPLICATION_SHORTNAME="myapp" \
        \
        .

As well as all other variables: APPLICATION_EXECUTABLE, APPLICATION_DOMAIN, APPLICATION_VENDOR, APPLICATION_ICON_NAME, LINUX_PACKAGE_SHORTNAME, THEME_CLASS, APPLICATION_REV_DOMAIN, WIN_SETUP_BITMAP_PATH, MAC_INSTALLER_BACKGROUND_FILE, THEME_INCLUDE, APPLICATION_LICENSE, ...

With this approach it would be easier to change the application name, without patching your cmake file like approached in the links mentioned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions