-
Notifications
You must be signed in to change notification settings - Fork 15
Using userData from the electron API #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
2roy999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are also missing a path in `server.js
src/main/configurator/index.js
Outdated
| const mkdirpAsync = Promise.promisify(mkdirp) | ||
|
|
||
| const STORAGE_PATH = exports.STORAGE_PATH = path.resolve('./data/$config.sqlite') | ||
| const STORAGE_PATH = exports.STORAGE_PATH = path.resolve(app.getPath('userData'), '$config.sqlite') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add our own folder fll-TMS or something like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I shuold use mkdir, right? Where should I do it?
src/main/mongo.js
Outdated
| const MONGO_BIN_DIR = path.resolve(`./internals/mongo/bin`) | ||
| const MONGO_EXECUTABLE_PATH = path.resolve(MONGO_BIN_DIR, `mongod${FILE_EXTENSION}`) | ||
| const MONGO_ARGUMENTS = ['--dbpath', './data/$mongo'] | ||
| const MONGO_ARGUMENTS = ['--dbpath', path.resolve(app.getPath('userData'), '$mongo')] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment
|
@2roy999 can this be merged? |
|
@idanstark42 I want to wait till the 1st official release is done. |
|
yes it does, but I'll check again in the morning
…On Fri, 1 Nov 2019 at 21:54, Ofek Ashery ***@***.***> wrote:
Does it work well in Windows? Because it's broken on macOS.
[image: image]
<https://user-images.githubusercontent.com/16443111/68052264-f50b7f00-fcf1-11e9-819f-a9576c7b4737.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#161?email_source=notifications&email_token=ABTRZDONHORPHUAJWT4OUTDQRSCORA5CNFSM4I2RXOKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC37ZWI#issuecomment-548928729>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTRZDLG7JTRAJGJPNGPOU3QRSCORANCNFSM4I2RXOKA>
.
--
Go green - keep it on the screen
|

No description provided.