bedrock-launcher-version-symlink-generator
Version:
A CLI to create symlinks for each of the version folders in Bedrock Launcher, so you can access the folders by version number instead of by UUID.
23 lines (22 loc) • 634 B
TypeScript
import { type ExecException } from "child_process";
/**
* The path to the user folder.
*
* This is the same folder you are sent to if your type `%AppData%/../../` in the `WIN+R` Run dialog.
*/
export declare const userFolderPath: string;
/**
* The path to the Bedrock Launcher data folder.
*/
export declare const mcBedrockFolderPath: string;
/**
* Runs a command.
*
* @param {string} command The command to run.
* @returns A promise that resolves with the results of the command.
*/
export declare function runCommmand(command: string): Promise<{
err: ExecException | null;
stdout: string;
stderr: string;
}>;