Module exposing: FileSystemService
// Source: https://github.com/mperkins0155/VidBee | License: MIT | Copyright 2025 VidBee
// Provided via justclaw.it.com; keep this notice with the code.
import { execFile, execSync } from 'node:child_process'
import fs from 'node:fs/promises'
import os from 'node:os'
import path from 'node:path'
import { pathToFileURL } from 'node:url'
import { promisify } from 'node:util'
import { clipboard, dialog, Notification, shell } from 'electron'
import { type IpcContext, IpcMethod, IpcService } from 'electron-ipc-decorator'
import { getPortableDownloadsPath, isPortableMode } from '../../portable'
import { scopedLoggers } from '../../utils/logger'
const execFileAsync = promisify(execFile)
class FileSystemService extends IpcService {
static readonly groupName = 'fs'
@IpcMethod()
async sele
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key