mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-22 16:51:28 +02:00
Reuse connector rows, access controls, and agent setup components. Add persistent subscription, API key, and custom gateway choices with matching dropdowns and provider logos. Include grouped review stories and an opt-in browser campaign for local or staging targets with private credential and evidence handling. Co-Authored-By: Paperclip <noreply@paperclip.ing>
19 lines
608 B
TypeScript
19 lines
608 B
TypeScript
import path from "node:path";
|
|
import { copyFile, mkdir } from "node:fs/promises";
|
|
const repositoryRoot = path.resolve(import.meta.dirname, "../..");
|
|
|
|
export async function stageDashboardBrandAssets(output: string) {
|
|
const assets = path.join(output, "assets");
|
|
await mkdir(assets, { recursive: true });
|
|
await Promise.all([
|
|
copyFile(
|
|
path.join(repositoryRoot, "ui/public/favicon-32x32.png"),
|
|
path.join(assets, "favicon-32x32.png"),
|
|
),
|
|
copyFile(
|
|
path.join(repositoryRoot, "ui/public/fonts/InterVariable.woff2"),
|
|
path.join(assets, "InterVariable.woff2"),
|
|
),
|
|
]);
|
|
}
|