Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-self authored Nov 28, 2024
1 parent 0953fa4 commit 5fafe4b
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
<title>macOS</title>
<script>
function copyCommand() {
const command = document.getElementById("command").textContent;
const fullCommand = `
git clone https://github.com/sudo-self/ytr.py
cd ytr.py
tar -xzvf ytr.tar.gz
./YTR
`;
navigator.clipboard
.writeText(command)
.writeText(fullCommand.trim())
.then(() => {
showToast("Ready! Paste in terminal to launch!");
})
Expand Down Expand Up @@ -52,6 +57,12 @@
margin: 0 auto;
word-wrap: break-word;
}
code {
background: #1e1e2f;
padding: 5px 10px;
border-radius: 3px;
color: #4caf50;
}
button {
margin-top: 10px;
padding: 10px 20px;
Expand Down Expand Up @@ -119,20 +130,21 @@
>
<h1>YT Ringtones</h1>
<p>macOS & Linux</p>
<pre id="command">
git clone https://github.com/sudo-self/ytr.py
cd ytr.py
tar -xzvf ytr.tar.gz
./YTR</pre
>
<pre>
<code>https://github.com/sudo-self/ytr.py</code>
</pre>
<button onclick="copyCommand()">install</button>


<video id="thankYouVideo" src="1.mp4" autoplay loop muted></video>


<footer>
<p>For more info, visit <a href="https://sudo-self.github.io/ytr.py/" target="_blank">ytr.py</a></p>
<p>
For more info, visit
<a href="https://sudo-self.github.io/ytr.py/" target="_blank">ytr.py</a>
</p>
</footer>
</body>
</html>

0 comments on commit 5fafe4b

Please sign in to comment.