@shockpkg/dir-projector
Version:
Package for creating Shockwave Director projectors
47 lines (41 loc) • 728 B
JavaScript
import { Bundle } from "../bundle.mjs";
/**
* BundleOtto object.
*/
export class BundleOtto extends Bundle {
/**
* ProjectorOtto instance.
*/
/**
* BundleOtto constructor.
*
* @param path Output path.
* @param flat Flat bundle.
*/
constructor(path, flat = false) {
super(path, flat);
}
/**
* @inheritdoc
*/
async _close() {
if (!this.flat) {
await this._writeLauncher();
}
await super._close();
}
/**
* Main application file extension.
*
* @returns File extension.
*/
/**
* Create projector instance for the bundle.
*
* @returns Projector instance.
*/
/**
* Write the launcher file.
*/
}
//# sourceMappingURL=otto.mjs.map