Browse Source

Give upgrade app execute permission at runtime

pull/5940/head
2dust 4 weeks ago
parent
commit
1106fd8cf1
  1. 4
      v2rayN/ServiceLib/Handler/CoreHandler.cs

4
v2rayN/ServiceLib/Handler/CoreHandler.cs

@ -30,6 +30,10 @@ namespace ServiceLib.Handler
{ {
if (it.CoreType == ECoreType.v2rayN) if (it.CoreType == ECoreType.v2rayN)
{ {
if (Utils.UpgradeAppExists(out var fileName))
{
await Utils.SetLinuxChmod(fileName);
}
continue; continue;
} }

Loading…
Cancel
Save