gnome-shell/js/dbusServices/screencast/main.js

14 lines
361 B
JavaScript
Raw Normal View History

import {DBusService} from './dbusService.js';
import {ScreencastService} from './screencastService.js';
/** @returns {void} */
export async function main() {
if (!ScreencastService.canScreencast())
return;
const service = new DBusService(
'org.gnome.Shell.Screencast',
new ScreencastService());
await service.runAsync();
}