config: catch FileNotFoundException and create config
This commit is contained in:
parent
14be68fef8
commit
337194538d
|
@ -73,6 +73,9 @@ namespace SparkleLib {
|
||||||
} catch (IOException) {
|
} catch (IOException) {
|
||||||
CreateInitialConfig ();
|
CreateInitialConfig ();
|
||||||
|
|
||||||
|
} catch (FileNotFoundException) {
|
||||||
|
CreateInitialConfig ();
|
||||||
|
|
||||||
} catch (XmlException) {
|
} catch (XmlException) {
|
||||||
|
|
||||||
FileInfo file = new FileInfo (FullPath);
|
FileInfo file = new FileInfo (FullPath);
|
||||||
|
|
Loading…
Reference in a new issue