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.

贡献者指南