touhou-tagger
Version:
从 THBWiki 自动填写东方 Project CD 曲目信息.
19 lines (16 loc) • 402 B
text/typescript
import * as Bun from 'bun'
import packageJson from './package.json' with { type: 'json' }
Bun.build({
entrypoints: ['./src/cli/index.ts'],
target: 'bun',
bytecode: true,
compile: {
outfile: 'bin/thtag',
target: 'bun-windows-x64-modern',
windows: {
title: 'Touhou Tagger',
version: packageJson.version,
icon: './assets/logo.ico',
},
},
})