diff --git a/clapper_src/main.js b/clapper_src/main.js index c757e2c9..7eddc9af 100644 --- a/clapper_src/main.js +++ b/clapper_src/main.js @@ -1,13 +1,12 @@ imports.gi.versions.Gdk = '4.0'; imports.gi.versions.Gtk = '4.0'; -const System = imports.system; const { Gst } = imports.gi; const { App } = imports.clapper_src.app; Gst.init(null); -function main() +function main(argv) { - new App().run([System.programInvocationName].concat(ARGV)); + new App().run(argv); }