Browse Source

Fixes for linux

production
guest 2 years ago
parent
commit
428c925a58
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      lin_verse.js

+ 5
- 0
lin_verse.js View File

@@ -68,6 +68,11 @@ var shell_verse = {
}
}
, 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 ) => {
// Let shell_verse decide whether to Elevate Out of Proc or In Proc

Loading…
Cancel
Save