File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/UniGetUI.PackageEngine.Managers.Chocolatey/Helpers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ protected override OperationVeredict _getOperationResult(
6565 }
6666
6767 string output_string = string . Join ( "\n " , processOutput ) ;
68- if ( ! package . OverridenOptions . RunAsAdministrator != true &&
68+ if ( package . OverridenOptions . RunAsAdministrator != true &&
6969 ( output_string . Contains ( "Run as administrator" )
7070 || output_string . Contains ( "The requested operation requires elevation" )
71- || output_string . Contains ( "ERROR: Exception calling \" CreateDirectory \" with \" 1 \" argument(s): \" Access to the path" )
71+ || output_string . Contains ( "Access to the path" )
7272 || output_string . Contains ( "Access denied" )
73- || output_string . Contains ( "' is denied" )
73+ || output_string . Contains ( "is denied" )
7474 || output_string . Contains ( "WARNING: Unable to create shortcut. Error captured was Unable to save shortcut" )
7575 || output_string . Contains ( "access denied" ) ) )
7676 {
You can’t perform that action at this time.
0 commit comments