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.
This commit is contained in:
Rafostar
2020-09-03 11:33:42 +02:00
parent 7d2b1f1118
commit f6f2a2f4e4
4 changed files with 81 additions and 3 deletions

11
gjs-1.0/clapper.js Normal file
View File

@@ -0,0 +1,11 @@
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();