Files
clapper/gjs-1.0/clapper.js.in
2020-10-21 12:24:42 +02:00

15 lines
382 B
JavaScript

imports.gi.versions.Gdk = '4.0';
imports.gi.versions.Gtk = '4.0';
const CLAPPER_PATH = '@importspath@';
imports.searchPath.unshift(CLAPPER_PATH);
const ClapperSrc = imports.clapper_src;
ClapperSrc.misc.clapperPath = CLAPPER_PATH;
ClapperSrc.misc.clapperVersion = '@PACKAGE_VERSION@';
var { App } = ClapperSrc.app;
var { Widget } = ClapperSrc.widget;
imports.searchPath.shift();