fix: minor typo on patcher tmp path

This commit is contained in:
Alberto Ponces 2022-08-22 01:40:25 +01:00
parent ea532b294e
commit 5df59c08c6

View File

@ -29,7 +29,7 @@ class PatcherAPI {
Future<void> initPatcher() async {
Directory appCache = await getTemporaryDirectory();
_tmpDir = Directory('$appCache/patcher');
_tmpDir = Directory('${appCache.path}/patcher');
_tmpDir!.createSync();
_workDir = _tmpDir!.createTempSync('tmp-');
_inputFile = File('${_workDir!.path}/base.apk');