Icons: init figma icon sync & optimizer
This commit is contained in:
committed by
hsjobeki
parent
38e12781fa
commit
2b0f4fc4b8
18
pkgs/icon-update/default.nix
Normal file
18
pkgs/icon-update/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ pkgs, deno }:
|
||||
let
|
||||
src = ./.;
|
||||
in
|
||||
pkgs.writeShellApplication {
|
||||
name = "update";
|
||||
|
||||
runtimeInputs = [ deno ];
|
||||
runtimeEnv = {
|
||||
FIGMA_ICON_FILE_ID = "KJgLnsBI9nvUt44qKJXmVm";
|
||||
FRAME_ID = "709-324";
|
||||
};
|
||||
|
||||
text = ''
|
||||
OUT_DIR=$(realpath ../webview-ui/app/icons)
|
||||
deno run --allow-all ${src}/main.ts
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user