Skip to content

Commit

Permalink
try: disable expo-location replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Feb 8, 2024
1 parent 1950c9d commit b3a831a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-f-droid-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
- name: Build by eject eas
run: npx expo prebuild -p android --clean

# - name: Remove prorietary bits (for fix f-droid)
# run: npx zx scripts/fit-f-droid.mjs
- name: Remove prorietary bits (for fix f-droid)
run: npx zx scripts/fit-f-droid.mjs

- name: Build apk
run: |
Expand Down
4 changes: 2 additions & 2 deletions scripts/fit-f-droid.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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.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)]);
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)]);

0 comments on commit b3a831a

Please sign in to comment.