Advertisement
jewalky

Untitled

Mar 14th, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.47 KB | None | 0 0
  1.             // Check if we have write access...
  2.             if(!General.CheckWritePremissions(General.AppPath))
  3.             {
  4.                 string msg = "Cannot perform update: your user account does not have write access to the destination folder \"" + General.AppPath + "\""
  5.                     + "Move the editor to a folder with write access, or run it as Administrator.";
  6.  
  7.                 if(verbosemode) General.ShowWarningMessage(msg, MessageBoxButtons.OK);
  8.                 else General.ErrorLogger.Add(ErrorType.Error, msg);
  9.                 return;
  10.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement