Files
clapper/src/mainRemote.js
Rafostar b5711b145b Set Soup import version to 2.4
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.
2021-04-10 21:41:28 +02:00

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);
}