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) {}
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
System.runCommand("", "sudo", [
|
||||
"cp",
|
||||
@@ -1129,6 +1131,8 @@ class PlatformSetup
|
||||
System.runCommand("", "sudo", ["chmod", "755", "/usr/local/bin/openfl"], false);
|
||||
installedCommand = true;
|
||||
}
|
||||
catch (e:Dynamic) {}
|
||||
}
|
||||
}
|
||||
|
||||
if (!installedCommand)
|
||||
|
||||
Reference in New Issue
Block a user