PlatformSetup: openfl alias setup on Linux was missing try/catch, but lime alias setup and other platforms had it
This commit is contained in:
@@ -1112,6 +1112,8 @@ class PlatformSetup
|
|||||||
catch (e:Dynamic) {}
|
catch (e:Dynamic) {}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
System.runCommand("", "sudo", [
|
System.runCommand("", "sudo", [
|
||||||
"cp",
|
"cp",
|
||||||
@@ -1129,6 +1131,8 @@ class PlatformSetup
|
|||||||
System.runCommand("", "sudo", ["chmod", "755", "/usr/local/bin/openfl"], false);
|
System.runCommand("", "sudo", ["chmod", "755", "/usr/local/bin/openfl"], false);
|
||||||
installedCommand = true;
|
installedCommand = true;
|
||||||
}
|
}
|
||||||
|
catch (e:Dynamic) {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!installedCommand)
|
if (!installedCommand)
|
||||||
|
|||||||
Reference in New Issue
Block a user