mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 16:31:58 +02:00
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:
11
gjs-1.0/clapper.js
Normal file
11
gjs-1.0/clapper.js
Normal 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();
|
Reference in New Issue
Block a user