mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
16 lines
320 B
JavaScript
Executable File
16 lines
320 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const fs = require('fs').promises;
|
|
|
|
async function main() {
|
|
try {
|
|
const webappDir = await fs.stat('webapp.asar');
|
|
return 0;
|
|
} catch (e) {
|
|
console.log("No 'webapp.asar' found. Run 'yarn run fetch'");
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
main().then((ret) => process.exit(ret));
|