mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-07 08:16:22 +00:00
Another fix for github actions
This commit is contained in:
@@ -53,4 +53,6 @@ else(WIN32) #MINGW
|
||||
target_link_libraries(${PROJECT_NAME} discord-rpc ssl crypto ws2_32 ssp crypt32 z)
|
||||
endif(WIN32)
|
||||
add_definitions(-DELPP_NO_DEFAULT_LOG_FILE)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE "include")
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE "include")
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE "include/rapidjson/include")
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE "include/discord-rpc/include")
|
||||
@@ -3,7 +3,7 @@
|
||||
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
|
||||
///
|
||||
|
||||
#include <discord-rpc/include/discord_rpc.h>
|
||||
#include <discord_rpc.h>
|
||||
#include "Launcher.h"
|
||||
#include "Logger.h"
|
||||
|
||||
|
||||
@@ -24,8 +24,7 @@ Launcher::~Launcher() {
|
||||
|
||||
void Launcher::launchGame() {
|
||||
ShellExecuteA(nullptr, nullptr, "steam://rungameid/284160", nullptr, nullptr, SW_SHOWNORMAL);
|
||||
ShowWindow(GetConsoleWindow(), HIDE_WINDOW);
|
||||
LOG(INFO) << "Sus";
|
||||
//ShowWindow(GetConsoleWindow(), HIDE_WINDOW);
|
||||
}
|
||||
|
||||
void Launcher::WindowsInit() {
|
||||
|
||||
@@ -4,14 +4,12 @@
|
||||
///
|
||||
|
||||
#include "Launcher.h"
|
||||
#include "Logger.h"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
Launcher launcher(argc, argv);
|
||||
launcher.runDiscordRPC();
|
||||
launcher.loadConfig();
|
||||
launcher.checkKey();
|
||||
//UI call
|
||||
std::this_thread::sleep_for(std::chrono::seconds(50));
|
||||
LOG(INFO) << "Shutting down";
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user