#!/usr/bin/env node

const { devtoolsPath } = require("../")
const path = require('path');

const dest = path.join(process.cwd(), "node_modules/@hap-toolkit/debugger/lib/client/html/inspector")
console.log(`sync from ${devtoolsPath} to ${dest}`)

const fs = require('fs-extra');
fs.emptyDirSync(dest)
fs.copySync(devtoolsPath, dest)
