export default defineNitroPlugin((nitroApp) => {
console.log(`====================================================`);
console.log(` PhobosWG - https://github.com/Ground-Zerro/Phobos `);
console.log(`====================================================`);
console.log(`| PhobosWG: ${RELEASE.padEnd(38)} |`);
console.log(`| Node: ${process.version.padEnd(38)} |`);
console.log(`| Platform: ${process.platform.padEnd(38)} |`);
console.log(`| Arch: ${process.arch.padEnd(38)} |`);
console.log(`====================================================`);
nitroApp.hooks.hook('close', async () => {
console.log('Shutting down');
await WarpInterface.Shutdown();
await Obfuscator.Shutdown();
await WireGuard.Shutdown();
});
});