Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
Signed-off-by: kash / Hytus <[email protected]>
  • Loading branch information
KashEight committed Oct 27, 2023
1 parent 24ee71b commit 3ca8bb5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import { MakerSquirrel } from "@electron-forge/maker-squirrel"
import { MakerZIP } from "@electron-forge/maker-zip"
import { AutoUnpackNativesPlugin } from "@electron-forge/plugin-auto-unpack-natives"
Expand Down
8 changes: 2 additions & 6 deletions src/assets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ function saveSettings() {
// nodejs and normal javascript have different instances of the config
const keepOpen = document.getElementById("setKeepOpen") as HTMLInputElement
config.setConfigValue("gameDirectory", "test") //document.getElementById("setGameDir").value);
config.setConfigValue(
"keepLauncherOpen",
keepOpen.checked
)
config.setConfigValue("keepLauncherOpen", keepOpen.checked)
}

function toggleSettingsPanel() {
Expand Down Expand Up @@ -358,8 +355,7 @@ function toggleMod(modItem: HTMLLIElement) {
case "false":
parentNode.setAttribute("installed", "true")
modItem.setAttribute("ticked", "")
openPopup("Mod enabled", modName + " has been enabled."
, "ok")
openPopup("Mod enabled", modName + " has been enabled.", "ok")
// CALL FUNCTION TO ENABLE MOD
break
}
Expand Down
1 change: 0 additions & 1 deletion src/mod_installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import toposort from "toposort"

import { config, getModsDirectory } from "./config"


// TODO: refactor, add types

class PD3ModInstallPackage {
Expand Down

0 comments on commit 3ca8bb5

Please sign in to comment.