cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-electron] zdm opened a new issue #163: app.getVersion() is invalid
Date Wed, 05 Aug 2020 10:17:29 GMT

zdm opened a new issue #163:
URL: https://github.com/apache/cordova-electron/issues/163


   # Bug Report
   
   ## Problem
   app. getVersion() returns electron package version instead of version from app package.json.
   
   ### What is expected to happen?
   Expected to get version string from app package.json.
   
   
   ### What does actually happen?
   Actually I get version from electron package.json.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem
-->
   ```
   const app = electron.app || electron.remote.app;
   console.log(app.getVersion());
   ```
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the
issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   Windows 10
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ x] I searched for existing GitHub issues
   - [ x] I updated all Cordova tooling to most recent version
   - [ x] I included all the necessary information above
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message