UNPKG

@shockpkg/ria-packager

Version:

Package for creating Adobe AIR packages

59 lines (58 loc) 1.58 kB
/// <reference types="node" /> import { IPackagerResourceOptions } from '../../packager'; import { PackagerAdl } from '../adl'; /** * PackagerAdlWindows constructor. * * @param path Output path. */ export declare class PackagerAdlWindows extends PackagerAdl { /** * Optionally preserve resource mtime. * The official packager does not preserve resource mtimes. */ preserveResourceMtime: boolean; /** * Optionally use specific architecture. */ architecture: 'x86' | 'x64' | null; constructor(path: string); /** * Get app run path. * * @returns Resources path. */ get appRunPath(): string; /** * Get file mode value. * * @param executable Is the entry executable. * @returns File mode. */ protected _getFileMode(executable: boolean): 484 | 420; /** * The SDK components to be copied. * * @returns Required and optional components. */ protected _sdkComponents(): { required: string[][]; optional: never[]; }; /** * Close implementation. */ protected _close(): Promise<void>; /** * Write resource with data implementation. * * @param destination Packaged file relative destination. * @param data Resource data. * @param options Resource options. */ protected _writeResource(destination: string, data: Readonly<Buffer>, options: Readonly<IPackagerResourceOptions>): Promise<void>; /** * Write the run script. */ protected _writeRunScript(): Promise<void>; }