mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-23 12:15:48 +02:00
Ensure plugin config exists after first run, fixes profile export crash
Closes #147
This commit is contained in:
parent
34726c533e
commit
e3080d07dc
@ -40,6 +40,7 @@ public void Load(string file){
|
||||
}
|
||||
}
|
||||
}catch(FileNotFoundException){
|
||||
Save(file);
|
||||
}catch(DirectoryNotFoundException){
|
||||
}catch(Exception e){
|
||||
Program.Reporter.HandleException("Plugin Configuration Error", "Could not read the plugin configuration file. If you continue, the list of disabled plugins will be reset to default.", true, e);
|
||||
|
Loading…
Reference in New Issue
Block a user