Skip to content
Snippets Groups Projects
Select Git revision
  • 82f7fd42d458b372e7456e6d483c1cf7875a3ca4
  • master default
2 results

__init__.py

Blame
  • run.js 366 B
    "use strict";
    
    const co = require('co');
    
    // Inject 'webstart' command if no argument was given
    if (process.argv.length === 2) {
      process.argv.push('direct_webstart');
    }
    
    const stack = require('duniter').statics.autoStack([{
      name: 'duniter-ui',
      required: require('./index')
    }]);
    
    co(function*() {
      yield stack.executeStack(process.argv);
      process.exit();
    });