mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Use ARGV from main() instead of importing system utils
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user