mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
43 lines
867 B
TypeScript
43 lines
867 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 和 Satori 协议,用于 QQ 机器人开发',
|
|
version,
|
|
icon: './icon.webp',
|
|
authors: [
|
|
{
|
|
name: 'linyuchen',
|
|
link: 'https://github.com/linyuchen'
|
|
},
|
|
{
|
|
"name": "idranme",
|
|
"link": "https://github.com/idranme"
|
|
}
|
|
],
|
|
repository: {
|
|
repo: 'LLOneBot/LLOneBot',
|
|
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))
|