Skip to content

Commit

Permalink
perf: 删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
bakashigure committed Oct 26, 2023
1 parent 40790cc commit 4e5203a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/watch.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ function watchPreload(server) {
})
}

function installKoffiBinaries() {
const currentDir = path.dirname(fileURLToPath(import.meta.url));
console.log(currentDir)
fs.copySync(path.resolve(currentDir, '../node_modules/koffi/build'), path.resolve(currentDir, '../node_modules/electron/dist/resources'));
}

// installKoffiBinaries()
// bootstrap
const server = await createServer({
configFile: 'packages/renderer/vite.config.ts',
Expand Down

0 comments on commit 4e5203a

Please sign in to comment.