mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Remove runas and code no longer using it
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
var fs = require('fs')
|
||||
var path = require('path')
|
||||
var runas = require('runas')
|
||||
|
||||
var source = path.resolve(__dirname, '..', '..', 'vendor', 'breakpad', 'msdia80.dll')
|
||||
var target = 'C:\\Program Files\\Common Files\\Microsoft Shared\\VC\\msdia80.dll'
|
||||
|
||||
if (!fs.existsSync(target)) {
|
||||
runas('cmd',
|
||||
['/K', 'copy', source, target, '&', 'regsvr32', '/s', target, '&', 'exit'],
|
||||
{admin: true})
|
||||
}
|
||||
Reference in New Issue
Block a user