zdm commented on issue #163:
URL: 
https://github.com/apache/cordova-electron/issues/163#issuecomment-669949862


   ```
           var version;
   
           // devel mode
           if ( app.getName() === "Electron" ) {
               version = window.require( "../../../package.json" ).version;
           }
   
           // production mode
           else {
               version = app.getVersion();
           }
   ```
   I will close this issue, because it is not directly related to the 
cordova-electron.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to