mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 22:54:23 +01:00
chore(icon_packs): remove prefix from phosphor script
This commit is contained in:
parent
d834cd78a7
commit
7c1175995f
@ -1,7 +1,7 @@
|
||||
import { join } from "node:path";
|
||||
import { readFileSync } from "node:fs";
|
||||
|
||||
function processIconPack(packName, prefix) {
|
||||
function processIconPack(packName) {
|
||||
const path = join(packName);
|
||||
const selectionMeta = JSON.parse(readFileSync(join(path, "selection.json"), "utf-8"));
|
||||
const icons = {};
|
||||
@ -20,9 +20,8 @@ function processIconPack(packName, prefix) {
|
||||
}
|
||||
|
||||
return JSON.stringify({
|
||||
prefix,
|
||||
icons
|
||||
}, null, 2);
|
||||
}
|
||||
|
||||
console.log(processIconPack("light", "ph-light"));
|
||||
console.log(processIconPack("light"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user