Skip to content

Commit

Permalink
Give upgrade app execute permission at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Oct 25, 2024
1 parent fb92b90 commit 1106fd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions v2rayN/ServiceLib/Handler/CoreHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public async Task Init(Config config, Action<bool, string> updateFunc)
{
if (it.CoreType == ECoreType.v2rayN)
{
if (Utils.UpgradeAppExists(out var fileName))
{
await Utils.SetLinuxChmod(fileName);
}
continue;
}

Expand Down

0 comments on commit 1106fd8

Please sign in to comment.