feat: Implement basic windows linux support

This commit is contained in:
Christian Pauly 2020-09-27 11:18:38 +02:00
commit cb27314739
35 changed files with 1426 additions and 85 deletions

10
linux/main.cc Normal file
View file

@ -0,0 +1,10 @@
#include "my_application.h"
int main(int argc, char** argv) {
// Only X11 is currently supported.
// Wayland support is being developed: https://github.com/flutter/flutter/issues/57932.
gdk_set_allowed_backends("x11");
g_autoptr(MyApplication) app = my_application_new();
return g_application_run(G_APPLICATION(app), argc, argv);
}