another path fix

This commit is contained in:
Cynthia Foxwell 2017-12-09 11:49:09 -07:00
parent b06192ff7f
commit a2705b14c2

View file

@ -148,7 +148,7 @@ var dropfiles = function () {
// blob of bullshit for i.js start
// imports/helper definitions
var ec = 'if(fs){fs=require("original-fs");}else{var fs=require("original-fs");};var el=require("electron").remote;var win=el.getCurrentWindow();var app=el.app;var _cyn_data=approot().split("app.asar")[0] + "/";';
var ec = `if(fs){fs=require("original-fs");}else{var fs=require("original-fs");};var el=require("electron").remote;var win=el.getCurrentWindow();var app=el.app;var _cyn_data="${approot().split("app.asar")[0]+"/"}";`;
// restart function
var rs = 'var _cyn_restart=function(){app.relaunch();app.quit()}';
// cache clear function