Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

utils.d.ts 999B

12345678910111213141516171819
  1. export declare function withTempDirectoryIn<T>(parentDirectory: string | undefined, fn: (directory: string) => Promise<T>): Promise<T>;
  2. export declare function withTempDirectory<T>(fn: (directory: string) => Promise<T>): Promise<T>;
  3. export declare function normalizeVersion(version: string): string;
  4. /**
  5. * Runs the `uname` command and returns the trimmed output.
  6. */
  7. export declare function uname(): string;
  8. /**
  9. * Generates an architecture name that would be used in an Electron or Node.js
  10. * download file name.
  11. */
  12. export declare function getNodeArch(arch: string): string;
  13. /**
  14. * Generates an architecture name that would be used in an Electron or Node.js
  15. * download file name, from the `process` module information.
  16. */
  17. export declare function getHostArch(): string;
  18. export declare function ensureIsTruthyString<T, K extends keyof T>(obj: T, key: K): void;
  19. export declare function isOfficialLinuxIA32Download(platform: string, arch: string, version: string, mirrorOptions?: object): boolean;