Skip to content
Snippets Groups Projects
Commit 05ca63ae authored by Sumudu Kankanamge's avatar Sumudu Kankanamge :thinking:
Browse files

-very small bug correction

-stochastic simulation now seems functional
parent 92b4344f
No related branches found
No related tags found
No related merge requests found
......@@ -516,6 +516,9 @@ module.exports = {
removeoldfile: function (myfilename) {
return new Promise(function (resolve, reject) {
console.log("");//leave this it helps with a weird bug
var filePath = path.resolve(__dirname, './assets/modfiles/' + myfilename);
fs.stat(filePath, function (err, stats) {
if (!(err)) {
......
......@@ -177,6 +177,7 @@ module.exports = {
ipc.connectTo('appIPC', () => {
ipc.of.appIPC.on('connect', () => {
ipc.of.appIPC.emit('rundynarematlab', "hello");
ipc.disconnect('appIPC');
});
// ipc.of.appIPC.on('message', (data) => {
......@@ -190,6 +191,8 @@ module.exports = {
// this code will get the local user directory (do not erase until used)
// console.log(app.getPath('userData'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment