forked from Silverfish/proton-bridge
feat(BRIDGE-75): Bridge repair button/feature implemented
This commit is contained in:
@ -359,3 +359,9 @@ func (f *frontendCLI) isFile(location string) bool {
|
||||
|
||||
return !stat.IsDir()
|
||||
}
|
||||
|
||||
func (f *frontendCLI) repair(_ *ishell.Context) {
|
||||
if f.yesNoQuestion("Are you sure you want to initialize a repair, this may take a while") {
|
||||
f.bridge.Repair()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user