mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
With Soup 3.0 release, there is a possibility of having both on the host. Set used version to 2.4 to avoid warnings and compatibility errors for now.
17 lines
347 B
JavaScript
17 lines
347 B
JavaScript
imports.gi.versions.Gdk = '4.0';
|
|
imports.gi.versions.Gtk = '4.0';
|
|
imports.gi.versions.Soup = '2.4';
|
|
|
|
const { AppRemote } = imports.src.appRemote;
|
|
const Misc = imports.src.misc;
|
|
|
|
const ID_POSTFIX = 'Remote';
|
|
|
|
Misc.clapperPath = `${pkg.datadir}/${Misc.appId}`;
|
|
Misc.appId += '.' + ID_POSTFIX;
|
|
|
|
function main(argv)
|
|
{
|
|
new AppRemote().run(argv);
|
|
}
|