mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
Rename package name
This commit is contained in:
+2
-2
@@ -20,7 +20,7 @@ const updateViewManagerFiles = async (file) => {
|
||||
const viewManagerStr = await readFile(viewManagerFile, { encoding: "utf8" });
|
||||
await writeFile(
|
||||
viewManagerFile,
|
||||
viewManagerStr.replace(/com\.margelo\.nitro\.omni\.\*/g, "com.omni.*"),
|
||||
viewManagerStr.replace(/com\.margelo\.nitro\.omni\.\*/g, "dev.zoriya.omni.*"),
|
||||
);
|
||||
};
|
||||
|
||||
@@ -49,6 +49,6 @@ const androidWorkaround = async () => {
|
||||
}
|
||||
|
||||
const str = await readFile(androidOnLoadFile, { encoding: "utf8" });
|
||||
await writeFile(androidOnLoadFile, str.replace(/margelo\/nitro\//g, ""));
|
||||
await writeFile(androidOnLoadFile, str.replace(/com\/margelo\/nitro\//g, "dev/zoriya/"));
|
||||
};
|
||||
androidWorkaround();
|
||||
|
||||
Reference in New Issue
Block a user