@mine-scripters/minecraft-build
Version:
Build utils to help building a minecraft project in non windows environments
30 lines (27 loc) • 1.09 kB
TypeScript
// Generated by dts-bundle-generator v9.5.1
export type CustomOsSupportParams = {
linuxPath?: string;
macPath?: string;
};
export declare const assertCustomOsSupport: () => void;
export declare const isCustomOsSupportEnabled: () => boolean;
export declare const customOsSupport: (params?: CustomOsSupportParams) => void;
export declare const addPrefixTask: () => () => import("undertaker").TaskFunction;
export declare const cleanCollateralMcpeLauncherTask: () => () => void;
export interface RenameTaskParameters {
source: string;
target: string;
}
/**Rename task */
export declare const renameTask: (params: RenameTaskParameters) => () => void;
export declare const findEntrypoint: () => string;
export declare const findOutfile: () => string;
export declare enum Platform {
WIN = 0,
MAC = 1,
LINUX = 2
}
export declare const getPlatform: () => Platform;
export declare const defaultLinuxPath = "/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/games/com.mojang/";
export declare const defaultMacPath = "/Library/Application Support/mcpelauncher/games/com.mojang/";
export {};