Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Check if we have write access...
- if(!General.CheckWritePremissions(General.AppPath))
- {
- string msg = "Cannot perform update: your user account does not have write access to the destination folder \"" + General.AppPath + "\""
- + "Move the editor to a folder with write access, or run it as Administrator.";
- if(verbosemode) General.ShowWarningMessage(msg, MessageBoxButtons.OK);
- else General.ErrorLogger.Add(ErrorType.Error, msg);
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement