feat: use patcher for resourcePatch detection (#337)

Co-authored-by: Aunali321 <aunvakil.aa@gmail.com>
This commit is contained in:
Ushie 2022-09-30 21:36:39 +03:00 committed by GitHub
parent ca0657e8f9
commit 5418c36716
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 17 deletions

View file

@ -142,7 +142,6 @@ class PatcherAPI {
List<Patch> selectedPatches,
) async {
bool mergeIntegrations = await needsIntegrations(selectedPatches);
bool resourcePatching = await needsResourcePatching(selectedPatches);
bool includeSettings = await needsSettingsPatch(selectedPatches);
if (includeSettings) {
try {
@ -186,7 +185,6 @@ class PatcherAPI {
'selectedPatches': selectedPatches.map((p) => p.name).toList(),
'cacheDirPath': cacheDir.path,
'mergeIntegrations': mergeIntegrations,
'resourcePatching': resourcePatching,
'keyStoreFilePath': _keyStoreFile.path,
},
);