@electron-forge/maker-rpm
Version:
Rpm maker for Electron Forge
21 lines • 918 B
TypeScript
import { MakerBase, MakerOptions } from '@electron-forge/maker-base';
import { ForgeArch, ForgePlatform } from '@electron-forge/shared-types';
import { MakerRpmConfig } from './Config.js';
/**
* Converts the Node.js architecture value of the processor architecture
* into a string accepted by `electron-installer-redhat`.
*
* @param nodeArch - Node.js architecture string
* @returns - electron-installer-redhat architecture string
*/
export declare function rpmArch(nodeArch: ForgeArch): string;
export default class MakerRpm extends MakerBase<MakerRpmConfig> {
name: string;
defaultPlatforms: ForgePlatform[];
requiredExternalBinaries: string[];
isSupportedOnCurrentPlatform(): boolean;
make({ dir, makeDir, targetArch }: MakerOptions): Promise<string[]>;
}
export { MakerRpm, MakerRpmConfig };
export type { MakerRpmConfigOptions } from './Config.ts';
//# sourceMappingURL=MakerRpm.d.ts.map