throw IndigoException()

in indigo.js [1790:1802]


        throw IndigoException("Unknown platform " + process.platform +
            " (" + process.arch + ")");

    this.dllpath = join(basepath, osMap[process.platform], process.arch);
    let libpath = join(this.dllpath,
        process.platform != 'win32' ? 'libindigo' : 'indigo');

    if (process.platform == 'linux') {
        // Indigo must be loaded with `RTLD_GLOBAL` flag
        // to make plugins work. See https://git.io/voPPW
        let mode = ffi.DynamicLibrary.FLAGS.RTLD_GLOBAL | ffi.DynamicLibrary.FLAGS.RTLD_LAZY;
        new ffi.DynamicLibrary(libpath + ffi.LIB_EXT, mode);
    }