mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 08:51:59 +02:00
Add initial ClapperRemote app
This commit is contained in:
17
clapper_src/mainRemote.js
Normal file
17
clapper_src/mainRemote.js
Normal file
@@ -0,0 +1,17 @@
|
||||
imports.gi.versions.Gdk = '4.0';
|
||||
imports.gi.versions.Gtk = '4.0';
|
||||
|
||||
const { AppRemote } = imports.clapper_src.appRemote;
|
||||
const Misc = imports.clapper_src.misc;
|
||||
|
||||
const opts = {
|
||||
idPostfix: 'Remote',
|
||||
};
|
||||
|
||||
Misc.clapperPath = pkg.datadir + '/' +
|
||||
pkg.name.substring(0, pkg.name.lastIndexOf(opts.idPostfix));
|
||||
|
||||
function main()
|
||||
{
|
||||
new AppRemote(opts).run();
|
||||
}
|
Reference in New Issue
Block a user