[win-linux] updatesvc: remove unused code

This commit is contained in:
SimplestStudio
2024-01-16 11:58:41 +02:00
parent 67f655b704
commit d2b4e18880
4 changed files with 2 additions and 28 deletions

View File

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

View File

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

View File

@ -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[])

View File

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