mirror of https://github.com/2dust/v2rayN
Give upgrade app execute permission at runtime
parent
fb92b90d5c
commit
1106fd8cf1
|
@ -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…
Reference in New Issue