Added basic control panel

This commit is contained in:
2026-03-11 16:46:06 +01:00
parent 7df210aaf2
commit c4eedfff1e
105 changed files with 21923 additions and 958 deletions

3
dist/Shutdown.js vendored
View File

@@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.shutdown = shutdown;
exports.shutdown = void 0;
var child_process_1 = require("child_process");
function shutdown() {
if (process.platform === 'win32') {
@@ -11,6 +11,7 @@ function shutdown() {
message: 'Platform not supported',
});
}
exports.shutdown = shutdown;
function shutdownWindows() {
return new Promise(function (resolve, reject) {
(0, child_process_1.exec)('shutdown /s /t 5', function (error, stdout, stderr) {