MISC: Remove API server (#2084)

This commit is contained in:
catloversg
2025-04-12 03:35:34 +07:00
committed by GitHub
parent 0aaa28054a
commit 571cc8f886
7 changed files with 2 additions and 342 deletions

View File

@@ -20,7 +20,6 @@ app.on("window-all-closed", () => {
});
const greenworks = require("./greenworks");
const api = require("./api-server");
const gameWindow = require("./gameWindow");
const achievements = require("./achievements");
const utils = require("./utils");
@@ -61,9 +60,6 @@ function setStopProcessHandler(app, window) {
// First we clear the achievement timer
achievements.disableAchievementsInterval(window);
// Shutdown the http server
api.disable();
// Trigger debounced saves right now before closing
try {
await saveToDisk.flush();