rename executable to seafile-applet
This commit is contained in:
parent
439fd6be3a
commit
b56387335e
2 changed files with 4 additions and 4 deletions
|
@ -180,20 +180,20 @@ LINK_DIRECTORIES(
|
|||
${JANSSON_LIBRARRY_DIRS}
|
||||
)
|
||||
|
||||
ADD_EXECUTABLE(seafile-client
|
||||
ADD_EXECUTABLE(seafile-applet
|
||||
${seafile_client_sources}
|
||||
${moc_output}
|
||||
${ui_output}
|
||||
${resources_ouput}
|
||||
)
|
||||
|
||||
INSTALL(TARGETS seafile-client DESTINATION bin)
|
||||
INSTALL(TARGETS seafile-applet DESTINATION bin)
|
||||
|
||||
if (MSYS)
|
||||
set(EXTRA_LIBS ${EXTRA_LIBS} psapi)
|
||||
endif (MSYS)
|
||||
|
||||
TARGET_LINK_LIBRARIES(seafile-client
|
||||
TARGET_LINK_LIBRARIES(seafile-applet
|
||||
${QT_LIBRARIES}
|
||||
${QT_QTNETWORK_LIBRARY}
|
||||
${OPENSSL_LIBRARIES}
|
||||
|
|
|
@ -11,7 +11,7 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
QApplication app(argc, argv);
|
||||
|
||||
if (count_process("seafile-client") > 1) {
|
||||
if (count_process("seafile-applet") > 1) {
|
||||
QMessageBox::warning(NULL, "Seafile",
|
||||
QObject::tr("Seafile is already running"),
|
||||
QMessageBox::Ok);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue