Move main.js to source files dir

This commit is contained in:
Rafostar
2020-12-11 14:55:50 +01:00
parent 0d54a751bd
commit 62573d3a88
3 changed files with 1 additions and 2 deletions

14
clapper_src/main.js Normal file
View File

@@ -0,0 +1,14 @@
imports.gi.versions.Gdk = '4.0';
imports.gi.versions.Gtk = '4.0';
const { Gst } = imports.gi;
const { App } = imports.clapper_src.app;
Gst.init(null);
function main()
{
let clapper = new App({
playlist: ARGV
}).run();
}