Skip to content

Instantly share code, notes, and snippets.

@innerverse
Created October 15, 2015 21:34
Show Gist options
  • Save innerverse/ea3a48548616f1b8f9a4 to your computer and use it in GitHub Desktop.
Save innerverse/ea3a48548616f1b8f9a4 to your computer and use it in GitHub Desktop.
startup for windows - example
var Winreg = require('winreg'),
regKey = new Winreg({ hive: Winreg.HKCU, key: '\\Software\\Microsoft\\Windows\\CurrentVersion\\Run' });
regKey.set('sococo',Winreg.REG_SZ,'C:\\Users\\seth\\Documents\\workspace\\sococo-native-shell\\app\\Sococo\\win32\\sococo.exe',function(){});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment