patch method
Starts patching the current app.
Implementation
Future<void> patch() async {
var latest = await releaseRepository.getLatestRelease();
await patcherService.patch(
latest,
onProgress: (progress) {
state = PatchingProgress(
version: latest.version,
progress: progress,
);
},
);
}