chore(release): 0.0.7

This commit is contained in:
streakingman
2022-09-25 04:42:55 +08:00
parent b2ab534aa5
commit 4d5fd90f43
7 changed files with 116 additions and 56 deletions
+25 -14
View File
@@ -19,11 +19,15 @@
s.parentNode.insertBefore(hm, s);
})();
</script>
<script type="module" crossorigin src="/assets/index.b678e54a.js"></script>
<link rel="stylesheet" href="/assets/index.15f870d5.css">
<script type="module" crossorigin src="/assets/index.7e6c5363.js"></script>
<link rel="stylesheet" href="/assets/index.9bed79d9.css">
</head>
<body>
<div id="root"></div>
<script>
// vite没有global,手动声明
var global = global || window;
</script>
<script
async
@@ -32,19 +36,26 @@
<script async>
// 如果您基于此项目二创,可以删除以下代码
// 否则请标明原仓库地址
setTimeout(()=>{
const {hostname} = location
if(hostname!=='localhost'&&!hostname.endsWith('streakingman.com')){
const a = document.createElement('a')
a.setAttribute('href','https://github.com/StreakingMan/solvable-sheep-game')
a.setAttribute('target','_blank')
a.innerText='本项目仅供交流,禁止商业用途,点击查看原github仓库'
const p = document.createElement('p')
p.style.textAlign = 'center'
p.append(a)
document.body.prepend(p)
setTimeout(() => {
const { hostname } = location;
if (
hostname !== 'localhost' &&
!hostname.endsWith('streakingman.com')
) {
const a = document.createElement('a');
a.setAttribute(
'href',
'https://github.com/StreakingMan/solvable-sheep-game'
);
a.setAttribute('target', '_blank');
a.innerText =
'本项目仅供交流,禁止商业用途,点击查看原github仓库';
const p = document.createElement('p');
p.style.textAlign = 'center';
p.append(a);
document.body.prepend(p);
}
},5000)
}, 5000);
</script>
</body>
</html>