mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
38 lines
797 B
TypeScript
38 lines
797 B
TypeScript
import { version } from '../src/version'
|
|
import { writeFileSync } from 'node:fs'
|
|
|
|
const manifest = {
|
|
manifest_version: 4,
|
|
type: 'extension',
|
|
name: 'LLOneBot',
|
|
slug: 'LLOneBot',
|
|
description: '实现 OneBot 11 协议,帮助进行 QQ 机器人开发',
|
|
version,
|
|
icon: './icon.webp',
|
|
authors: [
|
|
{
|
|
name: 'linyuchen',
|
|
link: 'https://github.com/linyuchen'
|
|
}
|
|
],
|
|
repository: {
|
|
repo: 'linyuchen/LiteLoaderQQNT-OneBotApi',
|
|
branch: 'main',
|
|
release: {
|
|
tag: 'latest',
|
|
name: 'LLOneBot.zip'
|
|
}
|
|
},
|
|
platform: [
|
|
'win32',
|
|
'linux',
|
|
'darwin'
|
|
],
|
|
injects: {
|
|
renderer: './renderer/index.js',
|
|
main: './main/main.cjs',
|
|
preload: './preload/preload.cjs'
|
|
}
|
|
}
|
|
|
|
writeFileSync('manifest.json', JSON.stringify(manifest, null, 2)) |