mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-08 18:18:34 +00:00
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