forked from Blendman974/faceclaw
Add teleprompter app
This commit is contained in:
1 parent
b69fdc220a
commit
758cf7de3b
10 files changed
+986
-1
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import { type AppDefinition } from "../app-definition";
|
||||
import { createTeleprompterAppWindow, TELEPROMPTER_SURFACE_ID, TELEPROMPTER_WINDOW_ID } from "./teleprompter-app";
|
||||
|
||||
const teleprompterApp: AppDefinition = {
|
||||
appId: "teleprompter",
|
||||
title: "Teleprompter",
|
||||
icon: "scroll-text",
|
||||
launch: (ctx) =>
|
||||
ctx.launchInProcessApp(TELEPROMPTER_WINDOW_ID, TELEPROMPTER_SURFACE_ID, (options) =>
|
||||
createTeleprompterAppWindow({
|
||||
...options,
|
||||
startContinuousVoiceCapture: () => void options.actions.startContinuousVoiceCapture(),
|
||||
stopContinuousVoiceCapture: () => void options.actions.stopContinuousVoiceCapture(),
|
||||
appendLog: (message) => ctx.appendLog(message),
|
||||
}),
|
||||
),
|
||||
};
|
||||
|
||||
export default teleprompterApp;
|
||||
Reference in new issue
Block a user