Commit 82a65c5 1 parent bd501f2 commit 82a65c5 Copy full SHA for 82a65c5
File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ if (!process.env.APP_DATA_DIR || !process.env.SSB_DIR) {
20
20
21
21
if ( ! fs . existsSync ( process . env . SSB_DIR ) ) mkdirp . sync ( process . env . SSB_DIR ) ;
22
22
23
+ // One-time fixes for special issues
23
24
const ISSUE_1223 = path . join ( process . env . SSB_DIR , 'issue1223' ) ;
24
25
if ( ! fs . existsSync ( ISSUE_1223 ) ) {
25
26
rimraf . sync ( path . join ( process . env . SSB_DIR , 'db2' ) ) ;
26
27
fs . closeSync ( fs . openSync ( ISSUE_1223 , 'w' ) ) ;
27
28
}
29
+ const ISSUE_1328 = path . join ( process . env . SSB_DIR , 'issue1328' ) ;
30
+ if ( ! fs . existsSync ( ISSUE_1328 ) && process . platform === 'android' ) {
31
+ rimraf . sync ( path . join ( process . env . SSB_DIR , 'db2' , 'indexes' ) + '/*.*' ) ;
32
+ fs . closeSync ( fs . openSync ( ISSUE_1328 , 'w' ) ) ;
33
+ }
28
34
29
35
const keysPath = path . join ( process . env . SSB_DIR , 'secret' ) ;
30
36
const keys = ssbKeys . loadOrCreateSync ( keysPath ) ;
You can’t perform that action at this time.
0 commit comments