mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-02-20 07:37:26 -05:00
* fix wrong current lib logic * add delete lib dialog to LibraryGeneralSettings * add delete lib to mobile LibraryGeneralSettings too * onboarding screens * move zxcvbn to @sd/client * get started screen and bloom * merge fix * move generatePassword back to interface * add useZodForm to mobile and match react-hook-form versions * new lib screen * Implement styled api * create lib screen and some tweaks * password input * fix password meter comp * new library style tweaks * Fix remove password bug (interface) * master password screen * privacy screen * creating lib screen * hexagons are cool * Expo 48 * keyboard handling * fix P2P on IOS * fix types * asset script * new icons * Spacedrop screen * Fix mobile asset imports * fix import cycle warning * Edit Location Settings screen and style changes on other setting screens * fix library creating bug? hopefully lol * move PasswordMeter to interface --------- Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
20 lines
611 B
JavaScript
20 lines
611 B
JavaScript
// @ts-ignore
|
|
let fs = require('fs-extra');
|
|
let path = require('path');
|
|
|
|
// Not used atm, keeping it here in case we need it in the future
|
|
async function copyReactNativeCodegen() {
|
|
const paths = [
|
|
['../../../node_modules/react-native-codegen', '../node_modules/react-native-codegen'],
|
|
['../../../node_modules/jsc-android', '../node_modules/jsc-android']
|
|
];
|
|
|
|
for (const pathTuple of paths) {
|
|
const [src, dest] = [path.join(__dirname, pathTuple[0]), path.join(__dirname, pathTuple[1])];
|
|
await fs.remove(dest).catch(() => {});
|
|
await fs.move(src, dest).catch(() => {});
|
|
}
|
|
}
|
|
|
|
copyReactNativeCodegen();
|