added readme and example
This commit is contained in:
@@ -22,7 +22,9 @@ class Haxe extends Sdk {
|
||||
return `${this.binPath}/${name}.exe`;
|
||||
} else if (Sdk.System.isLinux) {
|
||||
const binPath = `${this.binPath}/${name}`;
|
||||
fs.chmodSync(binPath, 0o755);
|
||||
if (fs.existsSync(binPath)) {
|
||||
fs.chmodSync(binPath, 0o755);
|
||||
}
|
||||
return binPath;
|
||||
}
|
||||
throw `Unsupported OS: ${os.type()}`;
|
||||
|
||||
Reference in New Issue
Block a user