function self.ready() {
centerize(800, 600);
}
class Install: Reactor.Component {
function render() {
return
Installation
Installation Path:
End-user license agreement
By starting the installation, you accept the license agreement.
;
}
event click $(#cancel) {
view.close();
}
event click $(#aggrement) {
view.open_url("http://rustdesk.com/privacy");
}
event click $(#submit) {
for (var el in $$(button)) el.state.disabled = true;
$(progress).style.set{ display: "inline-block" };
var args = "";
if ($(#startmenu).value) {
args += "startmenu ";
}
if ($(#desktopicon).value) {
args += "desktopicon ";
}
view.install_me(args);
}
}
$(body).content(