1
votes

I have created a software using nodejs and express, I packaged it and created an executable using node-webkit. I will deliver the file to my client. But the problem is that if my client copy the files and put it on another computer, he can still use the app. How do I create an exe file using node-webkit for only one pc?

1
Am I correct in saying that you only want one computer to be able to run that executable, ever? - The6P4C
yes........... need help! - user3647291

1 Answers

0
votes

You can use the physical address of the computer

var expectedMacAddress = '',
    currentSystemMacAddress = '';

if ( expectedMacAddress == currentSystemMacAddress ){
    // continue running app
} else {
    // exit app. Display limited license warning
}