From 0bd5cc9453850e41331dd5f45a130599a88ef8ee Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 11 Apr 2020 15:46:59 +0200 Subject: [PATCH] launcher: ensure .config extension on saved file --- src/launcher/settings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/launcher/settings.js b/src/launcher/settings.js index 8aa3ba19..83cac9f8 100644 --- a/src/launcher/settings.js +++ b/src/launcher/settings.js @@ -54,6 +54,7 @@ class Settings { }).then((file)=>{ if (file.canceled || !file.filePath) return this.configPath = file.filePath + if (this.configPath.split('.').pop() !== 'config') this.configPath += '.config' this.save() })