mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win-linux] updatesvc: remove unused code
This commit is contained in:
@ -76,20 +76,10 @@ core_windows {
|
||||
DEFINES += __OS_WIN_XP
|
||||
}
|
||||
|
||||
LIBS += -luser32 \
|
||||
-lkernel32 \
|
||||
-lshell32 \
|
||||
-lshlwapi \
|
||||
-lole32 \
|
||||
-loleaut32 \
|
||||
-lcomsuppw \
|
||||
-ladvapi32 \
|
||||
-lwinhttp \
|
||||
-lwininet \
|
||||
LIBS += -lwinhttp \
|
||||
-lws2_32 \
|
||||
-lrpcrt4 \
|
||||
-lwtsapi32 \
|
||||
-lcrypt32 \
|
||||
-lwintrust \
|
||||
-luserenv
|
||||
}
|
||||
@ -110,7 +100,7 @@ core_linux {
|
||||
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += gtk+-3.0
|
||||
LIBS += -lSDL2 -lcurl -lssl -lcrypto -luuid -larchive -lpthread
|
||||
LIBS += -lSDL2 -lcurl -luuid -larchive -lpthread
|
||||
}
|
||||
|
||||
OBJECTS_DIR = $$DESTDIR/obj
|
||||
|
||||
@ -32,21 +32,11 @@
|
||||
|
||||
#include "platform_linux/utils.h"
|
||||
#include "version.h"
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <regex>
|
||||
#include <cstdio>
|
||||
#include <cerrno>
|
||||
#include <vector>
|
||||
#include <unistd.h>
|
||||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <openssl/md5.h>
|
||||
#include <libgen.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#define BUFSIZE 1024
|
||||
|
||||
@ -49,7 +49,6 @@ HANDLE gSvcStopEvent = NULL;
|
||||
VOID WINAPI SvcMain(DWORD argc, LPTSTR *argv);
|
||||
VOID WINAPI SvcCtrlHandler(DWORD dwCtrl);
|
||||
VOID ReportSvcStatus(DWORD, DWORD, DWORD);
|
||||
VOID SvcReportEvent(LPTSTR);
|
||||
|
||||
|
||||
int __cdecl _tmain (int argc, TCHAR *argv[])
|
||||
|
||||
@ -34,12 +34,7 @@
|
||||
#include "classes/translator.h"
|
||||
#include "version.h"
|
||||
#include <Windows.h>
|
||||
#include <shellapi.h>
|
||||
#include <shlwapi.h>
|
||||
#include <combaseapi.h>
|
||||
#include <comutil.h>
|
||||
#include <oleauto.h>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <regex>
|
||||
#include <cstdio>
|
||||
|
||||
Reference in New Issue
Block a user