[innosetup] add innosetup installer packer
This commit is contained in:
6
haxetool/env.js
Normal file → Executable file
6
haxetool/env.js
Normal file → Executable file
@@ -7,6 +7,10 @@ class Env {
|
||||
process.env[key] = value;
|
||||
}
|
||||
|
||||
static get(key) {
|
||||
return process.env[key];
|
||||
}
|
||||
|
||||
static addPath(value, key='PATH') {
|
||||
if (!process.env[key]) {
|
||||
process.env[key] = value;
|
||||
@@ -17,4 +21,4 @@ class Env {
|
||||
}
|
||||
|
||||
|
||||
module.exports = Env;
|
||||
module.exports = Env;
|
||||
|
||||
Reference in New Issue
Block a user