Permalink
Browse files

Overlay icon

  • Loading branch information...
Manuel-777 committed Oct 31, 2018
1 parent eccbc61 commit 7620f68e2d09ed191943724c799fa1d4555f3146
BIN +116 KB iconoverlay.ico
Binary file not shown.
BIN +13.7 KB iconoverlay.png
Binary file not shown.
@@ -606,15 +606,15 @@ function createOverlay() {
height: 600,
show: false,
title: "MTG Arena Tool",
icon:'images/icon.png'
icon:'iconoverlay.png'
});
over.loadURL(`file://${__dirname}/window_overlay/index.html`);
over.on('closed', onOverlayClosed);
over.on('resize', () => {
saveOverlayPos();
});
/*
setTimeout( function() {
overlay.webContents.send("set_deck", currentDeck);
@@ -540,7 +540,7 @@ function logLoop() {
file = fd;
if (err) {
ipc_send("no_log", logUri);
ipc_send("popup", {"text": "No log file found.", "time": 0});
ipc_send("popup", {"text": "No log file found.", "time": 1000});
resetLogLoop(500);
} else {
readLog();
@@ -99,6 +99,7 @@
<div class="message_small">Dont have an account? <a class="signup_link">Sign up!</a></div>
<div class="message_small">You can also <a class="offline_link">continue offline</a></div>
<!--<div class="message_small">Did you <a class="forgot_link">forget your password?</a></div>-->
</div>
</div>
</div>
@@ -529,6 +529,10 @@ $(document).ready(function() {
$('.unlink').show();
});
$(".forget_link").click(function() {
shell.openExternal('https://mtgatool.com/resetpassword/');
});
$(".login_link").click(function() {
var user = document.getElementById("signin_user").value;
var pass = document.getElementById("signin_pass").value;

0 comments on commit 7620f68

Please sign in to comment.