Give upgrade app execute permission at runtime

pull/5940/head
2dust 2024-10-25 20:32:47 +08:00
parent fb92b90d5c
commit 1106fd8cf1
1 changed files with 4 additions and 0 deletions

View File

@ -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;
} }