rename executable to seafile-applet

This commit is contained in:
lins05 2013-09-27 16:23:32 +08:00
parent 439fd6be3a
commit b56387335e
2 changed files with 4 additions and 4 deletions

View file

@ -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}

View file

@ -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);