mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01:00
Add simple desktop app
This commit is contained in:
parent
5312bad52d
commit
4bdd1873c4
17 changed files with 540 additions and 1 deletions
10
desktop/linux/main.cc
Normal file
10
desktop/linux/main.cc
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue