2020-04-23 14:46:44 -04:00
|
|
|
/* exported main */
|
|
|
|
|
2022-05-18 10:43:45 -04:00
|
|
|
const Config = imports.misc.config;
|
2020-04-23 14:46:44 -04:00
|
|
|
const { DBusService } = imports.dbusService;
|
|
|
|
|
|
|
|
function main() {
|
2022-05-18 10:43:45 -04:00
|
|
|
if (!Config.HAVE_RECORDER)
|
|
|
|
return;
|
|
|
|
|
|
|
|
const { ScreencastService } = imports.screencastService;
|
2020-04-23 14:46:44 -04:00
|
|
|
const service = new DBusService(
|
|
|
|
'org.gnome.Shell.Screencast',
|
|
|
|
new ScreencastService());
|
|
|
|
service.run();
|
|
|
|
}
|