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