paimon-moe-fork/scripts/createEnv.js

8 lines
239 B
JavaScript
Raw Normal View History

2021-01-08 17:27:08 +00:00
const fs = require('fs');
let envString = '';
envString += `GOOGLE_DRIVE_CLIENT_ID=${process.env.GOOGLE_DRIVE_CLIENT_ID}\n`;
envString += `GOOGLE_DRIVE_API_KEY=${process.env.GOOGLE_DRIVE_API_KEY}\n`;
fs.writeFileSync('.env', envString);