ffmpeg-static-electron-forge
Version:
This module is designed for fast integration with electron forge and webpack.
25 lines (24 loc) • 720 B
TypeScript
import { ForgeHookFn, ForgeMultiHookMap } from "@electron-forge/shared-types";
import PluginBase from "@electron-forge/plugin-base";
interface FFmpegStaticOptions {
platform?: string;
remove: boolean;
arch?: string;
path: string;
}
declare class FFmpegStatic extends PluginBase<FFmpegStaticOptions> {
name: string;
getHooks(): ForgeMultiHookMap;
resolveForgeConfig: ForgeHookFn<"resolveForgeConfig">;
prePackage: ForgeHookFn<"prePackage">;
private removeFFmpegName;
}
export default FFmpegStatic;
export declare const paths: {
ffmpegPath: string;
ffprobePath: string;
};
export declare const bins: {
ffmpegPath: string;
ffprobePath: string;
};