mirror of
https://github.com/Rafostar/clapper.git
synced 2025-12-24 22:19:17 +01:00
26 lines
456 B
JavaScript
26 lines
456 B
JavaScript
imports.gi.versions.Gdk = '4.0';
|
|
imports.gi.versions.Gtk = '4.0';
|
|
imports.gi.versions.Soup = '2.4';
|
|
|
|
pkg.initGettext();
|
|
pkg.initFormat();
|
|
|
|
const Debug = imports.src.debug;
|
|
Debug.debug('imports');
|
|
|
|
const { GstClapper, Gtk, Adw } = imports.gi;
|
|
const { App } = imports.src.app;
|
|
|
|
function main(argv)
|
|
{
|
|
Debug.debug('main');
|
|
|
|
GstClapper.Clapper.gst_init(null);
|
|
Gtk.init();
|
|
Adw.init();
|
|
|
|
Debug.debug('initialized');
|
|
|
|
new App().run(argv);
|
|
}
|