launcher: ensure .config extension on saved file
This commit is contained in:
parent
283d9a3869
commit
8a9156c337
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue