mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +02:00
Move all file operations code to single file
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
imports.gi.versions.Gdk = '4.0';
|
||||
imports.gi.versions.Gtk = '4.0';
|
||||
|
||||
const { Gio, Gst } = imports.gi;
|
||||
|
||||
const { Gst } = imports.gi;
|
||||
Gst.init(null);
|
||||
Gio._promisify(Gio._LocalFilePrototype, 'load_bytes_async', 'load_bytes_finish');
|
||||
Gio._promisify(Gio._LocalFilePrototype, 'replace_contents_bytes_async', 'replace_contents_finish');
|
||||
|
||||
const { App } = imports.src.app;
|
||||
|
||||
|
Reference in New Issue
Block a user