File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ export var versionCode = 346;
57
57
let powDifficulty = 7 ;
58
58
59
59
60
+ // check if needed directories are setup
61
+ checkServerDirectories ( )
60
62
61
63
// check if config file exists
62
64
checkConfigFile ( )
@@ -305,8 +307,6 @@ checkVersionUpdate();
305
307
}
306
308
307
309
308
- // check if needed directories are setup
309
- checkServerDirectories ( )
310
310
311
311
312
312
consolas ( " " , ) ;
Original file line number Diff line number Diff line change @@ -94,6 +94,11 @@ export function checkServerDirectories(){
94
94
if ( ! fs . existsSync ( "./public/uploads" ) ) {
95
95
fs . mkdirSync ( "./public/uploads" ) ;
96
96
}
97
+
98
+ // User Plugins Folder
99
+ if ( ! fs . existsSync ( "./plugins" ) ) {
100
+ fs . mkdirSync ( "./plugins" ) ;
101
+ }
97
102
}
98
103
99
104
export function checkConfigFile ( ) {
You can’t perform that action at this time.
0 commit comments