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:
@@ -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
|
||||
|
Reference in New Issue
Block a user