Skip to content

Commit

Permalink
Fix updater failing to set UnixFileMode on launcher script
Browse files Browse the repository at this point in the history
  • Loading branch information
Starkku authored and SadPencil committed Oct 4, 2024
1 parent c6aeb2c commit 1e2bd38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ClientUpdater/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1473,6 +1473,8 @@ private static async ValueTask<string> DownloadFileAsync(UpdaterFileInfo fileInf
{
Logger.Log($"Updater: File {downloadFile.Name} is a script, adding execute permission. Current permission flags: " + downloadFile.UnixFileMode);

downloadFile.Refresh();

downloadFile.UnixFileMode |= UnixFileMode.UserExecute;

downloadFile.Refresh();
Expand Down

0 comments on commit 1e2bd38

Please sign in to comment.