This repository was archived by the owner on Aug 18, 2020. It is now read-only.
Commit b76367b
committed
Create config dir, if it isn't existent in main framework instead of Bootstrap Launcher
On the first start the default config should be saved, which fails if the folder doesn't exist.
This creates a problem when you try to login to the gui.
The framework can't be loaded because the config with plugins and connectors
don't exist and you won't be able to login, until you create the config directory and restart.
A check for the config dir was in the Bootstrap Launcher, but when
you run Chat Overflow in IntelliJ that check isn't working.
So I added that check in the main framework.1 parent ac09a8c commit b76367b
File tree
2 files changed
+6
-5
lines changed- bootstrap/src/main/scala
- src/main/scala/org/codeoverflow/chatoverflow/configuration
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 37 | | |
43 | 38 | | |
44 | 39 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
156 | 162 | | |
157 | 163 | | |
158 | 164 | | |
| |||
0 commit comments