mhsabbagh/green-recorder

App is not relocatable

Open

#7 建立於 2017年2月12日

在 GitHub 查看
 (12 留言) (2 反應) (0 負責人)Python (605 star) (120 fork)batch import
help wanted

描述

in some places green-recorder has hard wired paths to files. e.g.

indicator = appindicator.Indicator.new("Green Recorder", '/usr/share/pixmaps/green-recorder.png', appindicator.IndicatorCategory.APPLICATION_STATUS)

and:-

builder.add_from_file("/usr/lib/green-recorder/ui.glade")

This assumption breaks the ability for green-recorder to work in some environments. Specifically when containerised or confined, that directory may be somewhere else (relative) on the filesystem, and not at that absolute path.

貢獻者指南