element-desktop/hak/keytar/check.ts

16 lines
539 B
TypeScript
Raw Normal View History

2020-05-28 21:07:39 +02:00
/*
2024-09-06 18:56:18 +02:00
Copyright 2024 New Vector Ltd.
2020-05-28 21:07:39 +02:00
Copyright 2020 The Matrix.org Foundation C.I.C.
2024-09-06 18:56:18 +02:00
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
Please see LICENSE files in the repository root for full details.
2020-05-28 21:07:39 +02:00
*/
import type HakEnv from "../../scripts/hak/hakEnv.js";
import type { DependencyInfo } from "../../scripts/hak/dep.js";
2022-12-15 12:00:58 +01:00
export default async function (hakEnv: HakEnv, moduleInfo: DependencyInfo): Promise<void> {
// node-gyp uses python for reasons beyond comprehension
await hakEnv.checkTools([["python", "--version"]]);
}