Comments (4)
This has been fixed now. You may use the latest version 0.11.1
. The bug was when using the fs
and the one as stated above. Now replaced by reading the package.json
by importing it directly and using the name
property which should be provided.
from electron-db.
Hello rafaelvaloto, sorry for the late reply. It's been a busy week for me.
As for your issue, I haven't worked with asar yet from the past but I will be looking at it this coming week and hopefully make a solution for your problem soon.
from electron-db.
I Confirm the issue mentioned above . Please fix it at the earliest if possible. I am not sure what will be the best replacement of Electron-DB in my current project.
from electron-db.
I Confirm the issue mentioned above . Please fix it at the earliest if possible. I am not sure what will be the best replacement of Electron-DB in my current project.
@dipeshparashar ,
You can temporarily fix this in the node_modules/electron-db /index.js
file of the electron-DB package, comment out the lines and manually adding a name in the var appName
let appName = 'NameApp';
/* if (JSON.parse(fs.readFileSync('package.json', 'utf-8')).productName) { appName = JSON.parse(fs.readFileSync('package.json', 'utf-8')).productName; }else{ appName = JSON.parse(fs.readFileSync('package.json', 'utf-8')).name; } */
And recompiling your app again ...
from electron-db.
Related Issues (20)
- BUG - getAll example uses incorrect syntax HOT 3
- UpdateRow Error HOT 1
- Any way to drop entire table? HOT 2
- specify the documentation of the attributes of each of the functions to have a documentation section HOT 1
- Do this have any db lock/wait feature? HOT 1
- Table exists? HOT 1
- getField should return false for invalid field/key HOT 2
- Typo in variable of valid() function HOT 2
- updateRow updates only 1 row HOT 1
- Feature Request: tableExists method HOT 1
- Feature Request: Allow functions as where statements HOT 3
- i got a problem at getRow(s) HOT 3
- fs.existsSync is not a function HOT 4
- delete function error HOT 1
- [BUG] DeleteRow HOT 2
- Location custom doesn't work when packaging?
- [Feature]- Add unique check during insert and update HOT 2
- Broken Json issue HOT 1
- Feature Request: Return ID after insertTableContent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-db.