Commit bccc4ee1 authored by Vadim Rutkovsky's avatar Vadim Rutkovsky

Set data folder for resources

parent 485b5660
......@@ -2,11 +2,15 @@
import sys
import signal
from gi.repository import Gio
sys.path.insert(1, '@pythondir@')
from gnomemusic.application import Application
if __name__ == "__main__":
resource = Gio.resource_load("data/gnome-music.gresource")
Gio.Resource._register(resource)
app = Application()
signal.signal(signal.SIGINT, signal.SIG_DFL)
app.run(sys.argv)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment