Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

471 B
Raw Blame
/** Resolve the destination before renderer code or project hydration runs. */
export function resolveEditorStartupView({
	projectPath,
	videoPath,
	recordingVideoPath,
	devInput,
	smokeExport,
}: {
	projectPath?: string | null;
	videoPath?: string | null;
	recordingVideoPath?: string | null;
	devInput?: string;
	smokeExport?: boolean;
}): "home" | "editor" {
	return projectPath || videoPath || recordingVideoPath || devInput || smokeExport
		? "editor"
		: "home";
}