#!/usr/bin/node

"use strict";

process.env.ATOM_RESOURCE_PATH = process.env.ATOM_RESOURCE_PATH || "/usr/lib/atom";

process.env.ATOM_ELECTRON_VERSION = process.env.ATOM_ELECTRON_VERSION || require("fs").readFileSync("/usr/lib/electron5/version", "utf8");

require("../lib/apm-cli.js").run(process.argv.slice(2), function (error) {
    process.exitCode = Number(Boolean(error));
});
