-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (46 loc) · 1.61 KB
/
index.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
<!-- @format -->
<!DOCTYPE html>
<html lang="ZH-CN">
<head>
<meta charset="UTF-8" />
<meta
name="description"
content="一款基于网易云API的高颜值音乐播放器——RefrainMusic"
/>
<meta
name="keywords"
content="github,netease,网易云,Binaryify,music,player,音乐播放器,vue,vite,axios,fetch,rollup,ryoko,pinia,vue-router,"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<title>RefrainMusic</title>
<link rel="apple-touch-icon" sizes="180x180" href="/pwa/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/pwa/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/pwa/favicon-16x16.png" />
<link rel="mask-icon" href="/pwa/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<!-- 百度统计 -->
<script defer>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?0bdd89cd87a56446aed16041d9b1496a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<main id="Yuan-Player"></main>
<script type="module" src="/src/main.ts"></script>
<script>
window.addEventListener('contextmenu', (e) => {
if(window.electron) {
e.preventDefault();
electron.ipcRenderer.send('show-context-menu');
}
});
</script>
</body>
</html>