mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-10-30 06:13:11 +08:00
Support oss
This commit is contained in:
@@ -95,7 +95,8 @@ export async function getIpaInfo(fn) {
|
||||
const localDir = path.resolve(os.homedir(), '.pushy');
|
||||
fs.ensureDirSync(localDir);
|
||||
export function saveToLocal(originPath, destName) {
|
||||
const destPath = path.join(localDir, destName);
|
||||
fs.ensureDirSync(path.dirname(destPath));
|
||||
fs.copyFileSync(originPath, destPath);
|
||||
// TODO
|
||||
// const destPath = path.join(localDir, destName);
|
||||
// fs.ensureDirSync(path.dirname(destPath));
|
||||
// fs.copyFileSync(originPath, destPath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user