Skip to content

Commit

Permalink
fix path not being properly saved
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheemsandfriends committed Jan 15, 2025
1 parent 6e20b50 commit d8a7c4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bta_src/save.scr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function xmlData(symbols)
var saveData = FLfile.read(fl.configURI + "Commands/bta_src/saveBTA.txt").split("\n");

fl.trace(saveData);
var fileuri = (saveData[0] != "") ? saveData[0] + "\\" + symbols[0] : symbols[0];
var fileuri = (saveData[0] != "") ? saveData[0].split("\\").join("/") + "/" + symbols[0] : symbols[0];


data = data.split("$CONFIGDIR").join(fl.configDirectory);
Expand Down
2 changes: 1 addition & 1 deletion bta_src/xmlScripts/DialogXML.sjs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function saveAndClose()
{

var save = [];
var saveArray = fl.xmlui.get("saveBox").split("\\");
var saveArray = fl.xmlui.get("saveBox").split("/").join("\\").split("\\");
saveArray.pop();
var savePath = saveArray.join("\\");
save[0] = savePath;
Expand Down

0 comments on commit d8a7c4d

Please sign in to comment.