This commit is contained in:
eric
2026-03-26 00:48:14 -05:00
parent f16a8a9255
commit aba40c8cb7
9 changed files with 1496 additions and 60 deletions

125
electron/agreement.html Normal file
View File

@@ -0,0 +1,125 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>用户使用协议</title>
<style>
* { box-sizing: border-box; }
body {
margin: 0;
font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
font-size: 13px;
line-height: 1.55;
color: #e8e6f2;
background: #14121a;
display: flex;
flex-direction: column;
height: 100vh;
}
h1 {
font-size: 17px;
font-weight: 700;
margin: 0 0 12px;
color: #f2f0fa;
}
h2 {
font-size: 14px;
font-weight: 600;
margin: 14px 0 8px;
color: #e8e6f2;
}
p {
margin: 0 0 8px;
color: #a39bb8;
}
ul {
margin: 0 0 10px;
padding-left: 18px;
color: #a39bb8;
}
li { margin-bottom: 4px; }
.scroll {
flex: 1;
overflow: auto;
padding: 16px 18px 12px;
}
.footer {
flex-shrink: 0;
display: flex;
gap: 10px;
padding: 12px 16px 16px;
border-top: 1px solid rgba(124, 92, 255, 0.25);
background: #1a1722;
}
button {
flex: 1;
padding: 11px 14px;
border-radius: 8px;
border: 1px solid rgba(124, 92, 255, 0.35);
font-size: 14px;
font-weight: 600;
cursor: pointer;
}
.primary {
background: linear-gradient(135deg, #5c4dff, #3d7eff);
color: #fff;
border: none;
}
.ghost {
background: transparent;
color: #c4bdd9;
}
</style>
</head>
<body>
<div class="scroll">
<h1>用户使用协议</h1>
<p>欢迎使用本软件(以下简称「本软件」)。在使用本软件前,请您仔细阅读并理解本协议。</p>
<h2>1. 软件性质说明</h2>
<p>本软件为通用的视频处理与推流工具,支持用户对自有或合法授权的视频源进行处理与分发。本软件不提供任何第三方平台内容的解析、抓取或分发服务。</p>
<h2>2. 用户责任</h2>
<p>用户在使用本软件过程中,应确保:</p>
<ul>
<li>所使用的视频源具有合法使用权或授权;</li>
<li>不侵犯任何第三方的著作权、邻接权或其他合法权益;</li>
<li>不违反相关法律法规及平台规则。</li>
</ul>
<p>由用户上传、处理、推流的所有内容,均由用户自行承担全部法律责任。</p>
<h2>3. 禁止行为</h2>
<p>用户不得利用本软件从事以下行为:</p>
<ul>
<li>未经授权抓取、转播、传播第三方平台内容;</li>
<li>侵犯他人版权、肖像权、隐私权;</li>
<li>从事违法违规内容传播。</li>
</ul>
<h2>4. 责任限制</h2>
<p>本软件仅提供技术工具服务,不参与用户内容的获取、编辑或分发过程。</p>
<p>因用户行为导致的任何法律责任或纠纷,均由用户自行承担,与本软件无关。</p>
<h2>5. 权限与服务</h2>
<p>部分功能属于付费服务(如 Pro/VIP用户购买后仅获得使用权限不涉及软件所有权转移。</p>
<h2>6. 协议变更</h2>
<p>本软件有权根据业务发展对本协议进行调整,并通过软件或网站进行公告。</p>
<p>如您不同意本协议,请立即停止使用本软件。</p>
</div>
<div class="footer">
<button type="button" class="ghost" id="refuse">不同意并退出</button>
<button type="button" class="primary" id="accept">同意并继续</button>
</div>
<script>
const api = window.agreementApi
document.getElementById('accept').addEventListener('click', () => {
if (api) api.accept()
})
document.getElementById('refuse').addEventListener('click', () => {
if (api) api.refuse()
})
</script>
</body>
</html>