diff --git a/TrimSP.html b/TrimSP.html
index ca8f257..55bc118 100644
--- a/TrimSP.html
+++ b/TrimSP.html
@@ -229,8 +229,9 @@
let workPath = document.getElementById("workPath");
// If empty or undefined use local folder as default
if (workPath.value == '' || workPath.value == undefined ) {
- workPath.value = process.cwd();
- // console.log("I am here",process.cwd());
+ // workPath.value = process.cwd();
+ workPath.value = '/tmp';
+ //app.setPath('temp',process.cwd());
}
// Catch calls for selectfolder
@@ -269,7 +270,6 @@
plotMean(filename);
});
// Catch clicks for Browse button
- let browseBtn = document.getElementById('browseFolde');
ipcRenderer.on('browseFolder', function(event, foldername) {
if (foldername.length != 0) {
document.getElementById("workPath").value = foldername[0];
@@ -280,5 +280,6 @@
// Get the element with id="defaultOpen" and click on it
document.getElementById("btnLayers").click();
+