Merge remote-tracking branch 'origin/main'

This commit is contained in:
Wesley F. Young 2024-08-11 17:52:18 +08:00
commit 013f703241

View File

@ -24,9 +24,9 @@ if (process.env.NAPCAT_BUILDSYS == 'linux') {
} else if (process.env.NAPCAT_BUILDSYS == 'win32') { } else if (process.env.NAPCAT_BUILDSYS == 'win32') {
if (process.env.NAPCAT_BUILDARCH == 'x64') { if (process.env.NAPCAT_BUILDARCH == 'x64') {
} }
startScripts = ['./script/BootWay05.bat', './script/BootWay05.utf8.bat', './script/dbghelp.dll', './script/BootWay05.ps1', './script/napcat-9912.ps1', './script/napcat-9912-utf8.ps1', './script/napcat-9912.bat', './script/napcat-9912-utf8.bat']; startScripts = ['./script/BootWay05.ps1', './script/dbghelp.dll'];
} else { } else {
startScripts = ['./script/BootWay05.bat', './script/BootWay05.utf8.bat', './script/dbghelp.dll', './script/BootWay05.ps1', './script/napcat.sh', './script/napcat.ps1', './script/napcat.bat', './script/napcat-utf8.bat', './script/napcat-utf8.ps1', './script/napcat-log.ps1', './script/napcat-9912.ps1', './script/napcat-9912-utf8.ps1', './script/napcat-9912.bat', './script/napcat-9912-utf8.bat']; startScripts = ['./script/BootWay05.ps1', './script/dbghelp.dll'];
} }
const FrameworkBaseConfigPlugin: PluginOption[] = [ const FrameworkBaseConfigPlugin: PluginOption[] = [
// PreprocessorDirectives(), // PreprocessorDirectives(),
@ -86,9 +86,9 @@ const ShellBaseConfigPlugin: PluginOption[] = [
{ src: './package.json', dest: 'dist' }, { src: './package.json', dest: 'dist' },
// { src: './README.md', dest: 'dist' }, // { src: './README.md', dest: 'dist' },
// { src: './logo.png', dest: 'dist/logs' }, // { src: './logo.png', dest: 'dist/logs' },
// ...(startScripts.map((startScript) => { ...(startScripts.map((startScript) => {
// return { src: startScript, dest: 'dist' }; return { src: startScript, dest: 'dist' };
// })), })),
] ]
}), }),
nodeResolve(), nodeResolve(),