Completed installation procedure on wizard

This commit is contained in:
Pax1601
2023-12-22 18:44:31 +01:00
parent 92b1a46e8a
commit 15e8c9e791
26 changed files with 1541 additions and 150 deletions

View File

@@ -1,6 +1,6 @@
const portfinder = require('portfinder')
export function checkPort(port, callback) {
function checkPort(port, callback) {
portfinder.getPort({ port: port, stopPort: port }, (err, res) => {
if (err !== null) {
console.error(`Port ${port} already in use`);
@@ -10,3 +10,5 @@ export function checkPort(port, callback) {
}
});
}
module.exports = checkPort;