Re: Export project that was started while not being logged in (online)
Code: Select all
new HomeRecorder().writeHome(application.getHomes()[0], "", {
homeSaved: function(home, blob) {
var downloadLink = document.createElement('a');
downloadLink.setAttribute("href", URL.createObjectURL(blob));
downloadLink.setAttribute("download", "home.sh3x");
document.body.appendChild(downloadLink);
downloadLink.click();
}
});