|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
, getElevatedTask : function( taskToRun ){ return ()=>{ return shell_verse.runElevated(taskToRun) }} |
|
|
, getElevatedTask : function( taskToRun ){ return ()=>{ return shell_verse.runElevated(taskToRun) }} |
|
|
|
|
|
, getElevatedTaskInBatch : function( taskToRun ){ return ()=>{ return shell_verse.runElevatedInBatch(taskToRun) }} |
|
|
|
|
|
, runElevatedInBatch : ( taskToRun ) => { |
|
|
|
|
|
if (__isElevated) return shell_verse.elevatedRunner(taskToRun, true) |
|
|
|
|
|
else return shell_verse.requestElevation(shell_verse.elevatedRunner, taskToRun) |
|
|
|
|
|
} |
|
|
, runElevated : ( taskToRun ) => { |
|
|
, runElevated : ( taskToRun ) => { |
|
|
// Let shell_verse decide whether to Elevate Out of Proc or In Proc |
|
|
// Let shell_verse decide whether to Elevate Out of Proc or In Proc |
|
|
|
|
|
|