mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +02:00
Use proper ID for remote app
This commit is contained in:
@@ -4,14 +4,13 @@ imports.gi.versions.Gtk = '4.0';
|
||||
const { AppRemote } = imports.clapper_src.appRemote;
|
||||
const Misc = imports.clapper_src.misc;
|
||||
|
||||
const opts = {
|
||||
idPostfix: 'Remote',
|
||||
};
|
||||
const ID_POSTFIX = 'Remote';
|
||||
|
||||
Misc.clapperPath = pkg.datadir + '/' +
|
||||
pkg.name.substring(0, pkg.name.lastIndexOf(opts.idPostfix));
|
||||
Misc.clapperPath = `${pkg.datadir}/${Misc.appId}`;
|
||||
Misc.appName += ID_POSTFIX;
|
||||
Misc.appId += '.' + ID_POSTFIX;
|
||||
|
||||
function main()
|
||||
{
|
||||
new AppRemote(opts).run();
|
||||
new AppRemote().run();
|
||||
}
|
||||
|
Reference in New Issue
Block a user