mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
chore: build
Co-Authored-By: Wesley F. Young <25684570+Wesley-Young@users.noreply.github.com>
This commit is contained in:
parent
9518595e48
commit
e79ca4fa4c
@ -26,7 +26,7 @@
|
||||
"darwin"
|
||||
],
|
||||
"injects": {
|
||||
"renderer": "./renderer.cjs",
|
||||
"renderer": "./renderer.js",
|
||||
"main": "./napcat.cjs",
|
||||
"preload": "./preload.cjs"
|
||||
}
|
||||
|
2
src/liteloader/renderer.js
Normal file
2
src/liteloader/renderer.js
Normal file
@ -0,0 +1,2 @@
|
||||
export const onSettingWindowCreated = (view) => {
|
||||
};
|
@ -48,8 +48,10 @@ const LLBaseConfigPlugin: PluginOption[] = [
|
||||
{ src: './manifest.json', dest: 'dist' },
|
||||
{ src: './src/liteloader/napcat.cjs', dest: 'dist' },
|
||||
{ src: './src/liteloader/preload.cjs', dest: 'dist' },
|
||||
{ src: './src/liteloader/renderer.cjs', dest: 'dist' },
|
||||
{ src: './src/liteloader/renderer.js', dest: 'dist' },
|
||||
{ src: './package.json', dest: 'dist' },
|
||||
{ src: './logo.png', dest: 'dist' },
|
||||
//...external.map(genCpModule)
|
||||
]
|
||||
}),
|
||||
nodeResolve(),
|
||||
@ -75,7 +77,7 @@ const ShellBaseConfigPlugin: PluginOption[] = [
|
||||
// { src: './src/napcat.json', dest: 'dist/config/' },
|
||||
// { src: './static/', dest: 'dist/static/', flatten: false },
|
||||
// { src: './src/onebot11/onebot11.json', dest: 'dist/config/' },
|
||||
// { src: './package.json', dest: 'dist' },
|
||||
{ src: './package.json', dest: 'dist' },
|
||||
// { src: './README.md', dest: 'dist' },
|
||||
// { src: './logo.png', dest: 'dist/logs' },
|
||||
// ...(startScripts.map((startScript) => {
|
||||
|
Loading…
Reference in New Issue
Block a user