Revert window.close usage

This commit is contained in:
James 2019-06-24 00:44:18 +10:00
parent 44e0ebdab4
commit 761ce91299

View file

@ -69,12 +69,11 @@ var app = new Vue({
}, },
methods: { methods: {
"exit": function() { "exit": function() {
/*ajax("/api/exit", function() {}, function(msg) { ajax("/api/exit", function() {}, function(msg) {
alert("LiftInstall encountered and error while exiting: " + msg alert("LiftInstall encountered and error while exiting: " + msg
+ "\nPlease upload the log file (in the same directory as the installer) to " + + "\nPlease upload the log file (in the same directory as the installer) to " +
"the respective maintainers for this application (where you got it from!)"); "the respective maintainers for this application (where you got it from!)");
});*/ });
window.close();
} }
} }
}).$mount("#app"); }).$mount("#app");