-
Notifications
You must be signed in to change notification settings - Fork 3
/
loader.html
56 lines (53 loc) · 2.4 KB
/
loader.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>R6RC LOADER</title>
<style>
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
src: url('./assets/fonts/ubuntu-v14-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Ubuntu Regular'), local('Ubuntu-Regular'),
url('./assets/fonts/ubuntu-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./assets/fonts/ubuntu-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('./assets/fonts/ubuntu-v14-latin-regular.woff') format('woff'), /* Modern Browsers */ url('./assets/fonts/ubuntu-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('./assets/fonts/ubuntu-v14-latin-regular.svg#Ubuntu') format('svg'); /* Legacy iOS */
}
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 500;
src: url('./assets/fonts/ubuntu-v14-latin-500.eot'); /* IE9 Compat Modes */
src: local('Ubuntu Medium'), local('Ubuntu-Medium'),
url('./assets/fonts/ubuntu-v14-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./assets/fonts/ubuntu-v14-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ url('./assets/fonts/ubuntu-v14-latin-500.woff') format('woff'), /* Modern Browsers */ url('./assets/fonts/ubuntu-v14-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ url('./assets/fonts/ubuntu-v14-latin-500.svg#Ubuntu') format('svg'); /* Legacy iOS */
}
body { margin-top: 100px; color: #fff; text-align:center; font-family: 'Ubuntu'; }
#loading {
display: inline-block;
width: 50px;
height: 50px;
border: 3px solid rgba(255,255,255,.3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
-webkit-animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
to { -webkit-transform: rotate(360deg); }
}
</style>
</head>
<body>
<h1>R6RC</h1>
<div id="loading"></div>
<h3 id="loaderStatus"></h3>
</body>
<script>
const {ipcRenderer} = require('electron');
ipcRenderer.on('message', function (event, text) {
document.getElementById("loaderStatus").innerHTML = text;
})
</script>
</html>