aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/main.js b/src/app/main.js
index 7382a37..73537a2 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -39,7 +39,7 @@ if (fs.existsSync("viper.json")) {
if (! reset) {
ipcRenderer.send("exit");
} else {
- fs.writeFileSync("viper.json", "{}");
+ fs.rmSync("viper.json");
ipcRenderer.send("relaunch");
}