Skip to content

Commit

Permalink
test: update a tool
Browse files Browse the repository at this point in the history
  • Loading branch information
WindyWisper committed Dec 29, 2022
1 parent 2317fec commit 990922c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/androidTransfer.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const { PrismaClient } = require('@prisma/client');
const { copyFileSync } = require('fs');
const { join, resolve } = require('path');
const { path, android } = require('./config.js');
const { path } = require('./config.js');
const logger = require('log4js').getLogger('transfer');
logger.level = 'info';

const android = path.replace('data/', 'data/android/');
logger.info(`transfer ${path} to ${android}`);
copyFileSync(path, android);
logger.info('copy done');

Expand Down

0 comments on commit 990922c

Please sign in to comment.