mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Prepare for resource loading
Cleanup the Clapper install path detection code in a way to make gresources loading eventually possible for compiled builds
This commit is contained in:
@@ -4,14 +4,11 @@ imports.gi.versions.Soup = '2.4';
|
||||
|
||||
pkg.initGettext();
|
||||
|
||||
const Misc = imports.src.misc;
|
||||
Misc.appId += '.Remote';
|
||||
|
||||
const { Gtk, Adw } = imports.gi;
|
||||
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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user