Files
clapper/src/mainRemote.js
Rafał Dzięgiel a1ce04edfa Initial translations support
Most of the app is now translatable, so put a POT file in git and make app use translations if available
2021-08-25 11:23:43 +02:00

24 lines
426 B
JavaScript

imports.gi.versions.Gdk = '4.0';
imports.gi.versions.Gtk = '4.0';
imports.gi.versions.Soup = '2.4';
pkg.initGettext();
const { Gtk, Adw } = imports.gi;
Gtk.init();
Adw.init();
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);
}