summaryrefslogtreecommitdiff
path: root/node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts
diff options
context:
space:
mode:
authorLinuxWizard42 <computerwizard@linuxmail.org>2022-10-12 23:08:57 +0300
committerLinuxWizard42 <computerwizard@linuxmail.org>2022-10-12 23:08:57 +0300
commit726b81b19251674e149ccfbb1abacbd837fc6db0 (patch)
treefbdbb227dc01357eb76e8222d76185bc124c5ca6 /node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts
parent34f0890e175698940d49238097579f44e4d78c89 (diff)
downloadFlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.gz
FlashRunner-726b81b19251674e149ccfbb1abacbd837fc6db0.tar.zst
Removed files that should not have been included in git
Diffstat (limited to 'node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts')
-rw-r--r--node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts50
1 files changed, 0 insertions, 50 deletions
diff --git a/node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts b/node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts
deleted file mode 100644
index dda92f9..0000000
--- a/node_modules/cross-spawn-windows-exe/dist/src/wrapper.d.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import { CrossSpawnArgs, CrossSpawnOptions } from "@malept/cross-spawn-promise";
-export declare function canRunWindowsExeNatively(): boolean;
-/**
- * The exception thrown when the wrapper command could not be found to execute.
- */
-export declare class WrapperError extends Error {
- /**
- * @param wrapperCommand - The wrapper that tried to be executed
- * @param installInstructions - Instructions on how to install the wrapper
- */
- constructor(wrapperCommand: string, installInstructions?: string);
-}
-/**
- * A function which determines the wrapper path or binary to use in [[spawnWrapper]].
- *
- * @param customPath - The path specified by [[CrossSpawnExeOptions|CrossSpawnExeOptions.wrapperCommand]], usually
- * prioritized over other paths/binaries in the function.
- */
-export declare type DetermineWrapperFunction = (customPath?: string) => string;
-/**
- * An extension to `CrossSpawnOptions` to optionally specify a custom wrapper command and
- * instructions to install the wrapper.
- */
-export declare type CrossSpawnExeOptions = CrossSpawnOptions & {
- /**
- * The path to a binary that wraps the called executable.
- *
- * Defaults to `wine64` or `wine`, depending on the host machine's architecture.
- */
- wrapperCommand?: string;
- /**
- * Instructions for installing the wrapper binary.
- */
- wrapperInstructions?: string;
-};
-/**
- * Determines if the specified command exists, either in the `PATH` environment variable or if the
- * absolute path exists.
- */
-export declare function wrapperCommandExists(wrapperCommand: string): Promise<boolean>;
-/**
- * A wrapper for `cross-spawn`'s `spawn` function that wraps the `cmd` with `wrapperCommand` if it
- * is specified.
- */
-export declare function spawnWrapper(cmd: string, args?: CrossSpawnArgs, options?: CrossSpawnExeOptions): Promise<string>;
-/**
- * A helper variant of [[spawnWrapper]] which uses a [[DetermineWrapperFunction]] to
- * determine `wrapperCommand`.
- */
-export declare function spawnWrapperFromFunction(wrapperFunction: DetermineWrapperFunction, cmd: string, args?: CrossSpawnArgs, options?: CrossSpawnExeOptions): Promise<string>;