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)]);