mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-07 02:22:52 +00:00
add nix development flake
This commit is contained in:
@@ -77,15 +77,9 @@ for (const icon of icons) {
|
||||
}
|
||||
glyphs.sort()
|
||||
|
||||
const pythonPath = "./venv/bin/python"
|
||||
if (!existsSync(pythonPath)) {
|
||||
throw new Error(`Expected a python virtual environment at ${pythonPath}`)
|
||||
}
|
||||
console.log(await run(`${pythonPath} --version`))
|
||||
console.log(
|
||||
await run([
|
||||
pythonPath,
|
||||
"-m fontTools.subset",
|
||||
"pyftsubset",
|
||||
`"${config.inputPath}"`,
|
||||
`--unicodes=${glyphs.join(",")}`,
|
||||
"--no-layout-closure",
|
||||
|
||||
Reference in New Issue
Block a user