Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

compiled-check.js 339B

12345678910111213
  1. 'use strict'
  2. const fs = require('fs');
  3. const path = require('path');
  4. module.exports = function(filename) {
  5. if (!fs.existsSync(path.join(__dirname, filename))) {
  6. console.log(
  7. 'Oops! Looks like the chrome-launcher files needs to be compiled. Please run:');
  8. console.log(' yarn; yarn build;');
  9. process.exit(1);
  10. }
  11. }