[WinFirst] Fix broken require path
This commit is contained in:
parent
43ec96e073
commit
91a752c6e6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ exports.do = (updater) => {
|
|||
const proto = Constants.APP_PROTOCOL;
|
||||
const base = 'HKCU\\Software\\Classes\\' + proto;
|
||||
|
||||
require('../utils/registry').add([[base, '/ve', '/d', `URL:${proto} Protocol`], [base, '/v', 'URL Protocol'], [base + '\\DefaultIcon', '/ve', '/d', `"${process.execPath}",-1`], [base + '\\shell\\open\\command', '/ve', '/d', `"${process.execPath}" --url -- "%1"`]], () => { // Make protocol
|
||||
require('./utils/registry').add([[base, '/ve', '/d', `URL:${proto} Protocol`], [base, '/v', 'URL Protocol'], [base + '\\DefaultIcon', '/ve', '/d', `"${process.execPath}",-1`], [base + '\\shell\\open\\command', '/ve', '/d', `"${process.execPath}" --url -- "%1"`]], () => { // Make protocol
|
||||
try { // Make shortcuts
|
||||
const file = Constants.APP_NAME_FOR_HUMANS + '.lnk';
|
||||
const icon_path = join(root, 'app.ico');
|
||||
|
|
Loading…
Reference in a new issue