@shockpkg/ria-packager
Version:
Package for creating Adobe AIR packages
100 lines (99 loc) • 2.08 kB
TypeScript
import { Packager } from '../packager.ts';
/**
* PackagerAdl object.
*/
export declare abstract class PackagerAdl extends Packager {
/**
* Path to the SDK, an archive or directory.
*/
sdkPath: string | null;
/**
* Application pubid.
*/
pubid: string | null;
/**
* Application profile.
*/
profile: string | null;
/**
* Application screensize.
*/
screensize: string | null;
/**
* Application nodebug.
*/
nodebug: boolean;
/**
* Application atlogin.
*/
atlogin: boolean;
/**
* PackagerAdl constructor.
*
* @param path Output path.
*/
constructor(path: string);
/**
* Package mimetype.
*
* @returns Mimetype string.
*/
get mimetype(): string;
/**
* Package signed.
*
* @returns Boolean for if package is signed or not.
*/
get signed(): boolean;
/**
* Get app sdk path.
*
* @returns Resources path.
*/
get appSdkPath(): string;
/**
* Get app resources path.
*
* @returns Resources path.
*/
get appResourcesPath(): string;
/**
* Get app run path.
*
* @returns Resources path.
*/
abstract get appRunPath(): string;
/**
* Generate aruments.
*
* @returns Argument options.
*/
protected _generateOptionArguments(): string[];
/**
* Open implementation.
*/
protected _open(): Promise<void>;
/**
* Get path to a resource file.
*
* @param parts Path parts.
* @returns Full path.
*/
protected _getSdkPath(...parts: string[]): string;
/**
* Get path to a resource file.
*
* @param parts Path parts.
* @returns Full path.
*/
protected _getResourcePath(...parts: string[]): string;
/**
* The SDK components to be copied.
*
* @returns Required and optional components.
*/
protected abstract _sdkComponents(): {
required: string[][];
optional: string[][];
};
}