14.06.2023

This commit is contained in:
Plotnikov
2023-06-14 18:08:32 +03:00
parent b0a0566f19
commit bdf6eab9ec
221 changed files with 203557 additions and 585 deletions

View File

@@ -0,0 +1,26 @@
#include "editormainwindow.h"
#include "console.h"
#include <QApplication>
#ifdef _WIN32
#include <windows.h>
#endif
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
setlocale(LC_ALL,"Russian");
if(argc == 1)
{
#ifdef _WIN32
ShowWindow(GetConsoleWindow(), 0);
#endif
EditorMainWindow w;
w.show();
return a.exec();
}
else
{
console c;
c.exec(argc, argv);
return 0;
}
}