From b7ae7192cea0d457ec81c592fa1bc85c86ca29b3 Mon Sep 17 00:00:00 2001 From: linonetwo Date: Thu, 8 Feb 2024 18:48:02 +0800 Subject: [PATCH] Update fit-f-droid.mjs --- scripts/fit-f-droid.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fit-f-droid.mjs b/scripts/fit-f-droid.mjs index cda3042..796992c 100644 --- a/scripts/fit-f-droid.mjs +++ b/scripts/fit-f-droid.mjs @@ -6,5 +6,5 @@ const projectRoot = path.join(__dirname, '..'); const expoLocationPath = path.join(projectRoot, 'node_modules', 'expo-location'); const expoApplicationPath = path.join(projectRoot, 'node_modules', 'expo-application'); -await Promise.all([fs.unlink(expoLocationPath), fs.unlink(expoApplicationPath)]); +await Promise.all([fs.remove(expoLocationPath), fs.remove(expoApplicationPath)]); await Promise.all([fs.copy(path.join(projectRoot, 'libs', 'expo-location'), expoLocationPath), fs.copy(path.join(projectRoot, 'libs', 'expo-application'), expoApplicationPath)]);