mirror of https://github.com/lukechilds/Agama.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
2.0 KiB
44 lines
2.0 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
<link rel="stylesheet" href="EasyDEX-GUI/assets/global/css/bootstrap.min.css">
|
|
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
|
|
<script type="text/javascript" src="EasyDEX-GUI/assets/global/vendor/jquery/jquery.min.js"></script>
|
|
<script type="text/javascript" src="loading.js"></script>
|
|
<script>if (window.module) module = window.module;</script>
|
|
</head>
|
|
<body>
|
|
<div style="text-align: center;">
|
|
<div style="background-image: url('loading.gif'); background-repeat: no-repeat; background-position: center; height: 200px; width: 400px; position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto;">Starting Wallet. Please wait...</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready( function() {
|
|
//var check = Iguana_activehandle();
|
|
//console.log(check[0]) // here I invoke the checking function
|
|
const remote = require('electron').remote;
|
|
var window = remote.getCurrentWindow();
|
|
|
|
StartIguana();
|
|
|
|
var portcheck;
|
|
function sartcheck() {
|
|
portcheck = setInterval(function(){
|
|
var check = Iguana_activehandle();
|
|
console.log(check[0])
|
|
if (check[0] !== 'error') {
|
|
stopcheck();
|
|
window.close();
|
|
}
|
|
},2000);
|
|
}
|
|
|
|
function stopcheck() {
|
|
clearInterval(portcheck);
|
|
}
|
|
sartcheck();
|
|
//setTimeout(function(){ window.close(); }, 15000);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|