Files
clapper/gjs-1.0/clapper.js
Rafostar f6f2a2f4e4 Add some easy way to install
I know that this should be done using some sort of build system (like meson), but the player is still far from finished and a basic install script should be sufficient for the time being, if anyone wishes to test it.
2020-09-03 11:33:42 +02:00

12 lines
301 B
JavaScript

imports.gi.versions.Gdk = '3.0';
imports.gi.versions.Gtk = '3.0';
imports.searchPath.unshift('/usr/local/share/clapper');
const ClapperSrc = imports.clapper_src;
var { App } = ClapperSrc.app;
var { Interface } = ClapperSrc.interface;
var { Player } = ClapperSrc.player;
imports.searchPath.shift();