Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Razviar committed Nov 17, 2022
1 parent c6b568c commit 1118d25
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/app/main_window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ export function createMainWindow(): void {
entry: HOME_WINDOW_WEBPACK_ENTRY,
})
);
if (electronIsDev) {
/*if (electronIsDev) {
const devtools = new BrowserWindow();
mainWindow.webContents.setDevToolsWebContents(devtools.webContents);
mainWindow.webContents.openDevTools({mode: 'detach'});
}
}*/
}
26 changes: 24 additions & 2 deletions src/windows/css.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/dmsans/v11/rP2Hp2ywxg089UriCZ2IHSeH.woff2) format('woff2');
src: url(rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
Expand All @@ -13,7 +13,29 @@
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/dmsans/v11/rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
src: url(rP2Hp2ywxg089UriCZOIHQ.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
font-family: 'Titillium Web';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Titillium Web Regular'), local('TitilliumWeb-Regular'),
url(NaPecZTIAOhVxoMyOr9n_E7fdM3mDbRS.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Titillium Web';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Titillium Web Regular'), local('TitilliumWeb-Regular'),
url(NaPecZTIAOhVxoMyOr9n_E7fdMPmDQ.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC,
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
6 changes: 0 additions & 6 deletions src/windows/home/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
<head>
<meta charset="UTF-8" />
<title>MTGA Pro Tracker</title>
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self';
script-src 'self';
font-src 'self' https://fonts.gstatic.com;
style-src 'self' https://fonts.googleapis.com">
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions src/windows/home/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'root/windows/css.css';
import 'root/windows/fa-brands-400.woff2';
import 'root/windows/fa-regular-400.woff2';
import 'root/windows/fa-solid-900.woff2';
import 'root/windows/rP2Hp2ywxg089UriCZOIHQ.woff2';
import 'root/windows/fontawesome.css';
import {controlClick} from 'root/windows/home/functions/controlclick';
import {gameSwClick} from 'root/windows/home/functions/gameswitch';
Expand Down
Binary file added src/windows/rP2Hp2ywxg089UriCZOIHQ.woff2
Binary file not shown.

0 comments on commit 1118d25

Please sign in to comment.