diff --git a/pkgs/icon-update/default.nix b/pkgs/icon-update/default.nix index 1319b7fb1..367f5464f 100644 --- a/pkgs/icon-update/default.nix +++ b/pkgs/icon-update/default.nix @@ -12,7 +12,8 @@ pkgs.writeShellApplication { }; text = '' - OUT_DIR="$(realpath ../webview-ui/app/icons)" + REPO_ROOT="$(git rev-parse --show-toplevel)" + OUT_DIR="$(realpath "$REPO_ROOT"/pkgs/webview-ui/app/icons)" export OUT_DIR deno run --allow-all ${src}/main.ts ''; diff --git a/pkgs/icon-update/main.ts b/pkgs/icon-update/main.ts index 26acf8930..22a90baed 100755 --- a/pkgs/icon-update/main.ts +++ b/pkgs/icon-update/main.ts @@ -72,7 +72,7 @@ if (urlSet.err !== null) { const getNamefromType = (str: string) => { const [_type, name] = str.split("="); if (!name) { - console.error("Icon doesnt have name"); + console.error("Icon doesnt have name", str); Deno.exit(1); } return name; diff --git a/pkgs/webview-ui/app/icons/clan-icon.svg b/pkgs/webview-ui/app/icons/clan-icon.svg new file mode 100644 index 000000000..43aa47bce --- /dev/null +++ b/pkgs/webview-ui/app/icons/clan-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pkgs/webview-ui/app/icons/clan-logo.svg b/pkgs/webview-ui/app/icons/clan-logo.svg new file mode 100644 index 000000000..e164bb029 --- /dev/null +++ b/pkgs/webview-ui/app/icons/clan-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file