diff options
author | solaraquarion | 2021-02-27 20:16:37 -0500 |
---|---|---|
committer | solaraquarion | 2021-02-27 20:16:37 -0500 |
commit | e356edc210bb6a337715fe38ebb6e94a5151e4af (patch) | |
tree | 9dc0e4dbe3f37817546dbf3b1f802d5e2fefa419 /apm.js | |
download | aur-apm-community.tar.gz |
initial commit
Diffstat (limited to 'apm.js')
-rw-r--r-- | apm.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apm.js b/apm.js new file mode 100644 index 000000000000..5c1ce6bd63a7 --- /dev/null +++ b/apm.js @@ -0,0 +1,11 @@ +#!/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/electron6/version", "utf8"); + +require("../lib/apm-cli.js").run(process.argv.slice(2), function (error) { + process.exitCode = Number(Boolean(error)); +}); |