mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-08 23:32:43 +08:00
17 lines
451 B
TypeScript
17 lines
451 B
TypeScript
![]() |
/**
|
||
|
* Runs the `uname` command and returns the trimmed output.
|
||
|
*
|
||
|
* Copied from `@electron/get`.
|
||
|
*/
|
||
|
export declare function uname(): string;
|
||
|
export declare type ConfigVariables = {
|
||
|
arm_version?: string;
|
||
|
};
|
||
|
/**
|
||
|
* Generates an architecture name that would be used in an Electron or Node.js
|
||
|
* download file name.
|
||
|
*
|
||
|
* Copied from `@electron/get`.
|
||
|
*/
|
||
|
export declare function getNodeArch(arch: string, configVariables: ConfigVariables): string;
|