1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Tools: Restore content after patching Android app

This commit is contained in:
Laurent Cozic 2023-05-11 15:10:42 +01:00
parent 20a26732a9
commit 0df170926a

View File

@ -110,7 +110,7 @@ async function createRelease(projectName: string, name: string, tagName: string,
} }
if (name !== 'vosk') { if (name !== 'vosk') {
await patcher.updateFileContent(`${rnDir}/android/app/build.gradle`, async (_content: string) => { await patcher.updateFileContent(`${rnDir}/services/voiceTyping/vosk.ts`, async (_content: string) => {
return readFile(`${rnDir}/services/voiceTyping/vosk.dummy.ts`, 'utf8'); return readFile(`${rnDir}/services/voiceTyping/vosk.dummy.ts`, 'utf8');
}); });