Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.
TypeScript agent-skillscodex-clideskop-appdubbingimage-generationlocalizationskillsttsvideo-editingvideo-generationvideo-transcriptionvideo-translation
import { describe, expect, it } from 'vitest';
import { resolveDesktopUserDataPath } from '../src/main/runtime-profile.js';
describe('Desktop runtime profile', () => {
it('keeps the installed userData directory unchanged', () => {
expect(resolveDesktopUserDataPath(
'/Users/demo/Library/Application Support/OpenCreator',
false
)).toBe('/Users/demo/Library/Application Support/OpenCreator');
});
it('isolates development Electron state from the installed app', () => {
expect(resolveDesktopUserDataPath(
'/Users/demo/Library/Application Support/OpenCreator',
true
)).toBe('/Users/demo/Library/Application Support/OpenCreator Development');
});
});