mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00

* remove unused components * remove pnpm * implementation of local dev pantry setup (#689)
13 lines
344 B
JavaScript
13 lines
344 B
JavaScript
const _ = require("lodash");
|
|
const fs = require("fs");
|
|
const path = require("path");
|
|
|
|
async function main() {
|
|
const configPath = path.join(__dirname, "../electron/config.json");
|
|
const config = {
|
|
PUSHY_APP_ID: process.env.PUSHY_APP_ID || ""
|
|
};
|
|
await fs.writeFileSync(configPath, JSON.stringify(config, null, 2), "utf-8");
|
|
}
|
|
|
|
main();
|