diff --git a/src/main.js b/src/main.js index 082859d..38602b8 100644 --- a/src/main.js +++ b/src/main.js @@ -8,8 +8,8 @@ require('update-electron-app')(); regedit.setExternalVBSLocation('./.webpack/main/vbs'); regedit.setExternalVBSLocation('./vbs'); -const REGISTRY_SMALL = [...Buffer.from('420072006f0074006800650072002000500054002d0050003700310030004200540000000000000000000000000000000000000000000000000000000000000001040005dc0040010f65010002000301f4017700640001000000b40001000100b400030000003100320020006d006d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e000000ef00030100000e00010000001e0062010000010000004252505400000000000000006b81040007e50b0050524956a03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000102710271027000010270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030003000000000003000062010000f4010000f4010000102700002c000000010000000000000000000000010000010e000000000001000000000000000000000000000000000000000000000000006b81040007e50b00000000000000000000', 'hex')]; -const REGISTRY_LARGE = [...Buffer.from('420072006f0074006800650072002000500054002d0050003700310030004200540000000000000000000000000000000000000000000000000000000000000001040005dc0040010f65010002000501b6037700640001000000b40001000100b400030000003200340020006d006d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e000000ef00050100000e00010000001e00a1020000010000004252505400000000000000006b81040007e50b0050524956a030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000001027102710270000102700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500030000000000030000a1020000b6030000b6030000102700002c000000010000000000000000000000010000010e000000000001000000000000000000000000000000000000000000000000006b81040007e50b00000000000000000000', 'hex')]; +const REGISTRY_SMALL = [...Buffer.from('420072006f0074006800650072002000500054002d0050003700310030004200540000000000000000000000000000000000000000000000000000000000000001040005dc0040010f65010002000301f4017700640001000000b400010001006801030000003100320020006d006d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e000000ef00030100001c00010000001e00c5020000010000004252505400000000000000006b81040007e50b0050524956a030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000001027102710270000102700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300030000000000030000c5020000f4010000f4010000102700002a000000010000000000000000000000010000011c000000000001000000000000000000000000000000000000000000000000006b81040007e50b00000000000000000000', 'hex')]; +const REGISTRY_LARGE = [...Buffer.from('420072006f0074006800650072002000500054002d0050003700310030004200540000000000000000000000000000000000000000000000000000000000000001040005dc0040010f65010002000501b603f000640001000000b400010001006801030000003200340020006d006d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e000000ef00050100001c00010000001e0042050000010000004252505400000000000000006b81040007e50b0050524956a03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000102710271027000010270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050005000000000003000042050000b6030000b6030000102700002a000000010000000000000000000000010000011c000000000001000000000000000000000000000000000000000000000000006b81040007e50b00000000000000000000', 'hex')]; // Handle creating/removing shortcuts on Windows when installing/uninstalling. if (require('electron-squirrel-startup')) {