diff --git a/index.html b/index.html
index 06cf195..6c5e185 100644
--- a/index.html
+++ b/index.html
@@ -1,229 +1,283 @@
-
-anyzig
-
-
-
+ const installDiv = get("InstallDiv");
+ if (installDiv) {
+ installDiv.innerHTML = html;
+ }
+ }
-Install anyzig
-
- Linux
- macOS
- Windows
-
-
- x86_64
- aarch64
-
-
+ function bodyOnload() {
+ updateInstallDiv();
+ const userAgent = window.navigator.userAgent.toLowerCase();
+ if (userAgent.includes("linux")) toggleOs(OS_LINUX);
+ if (userAgent.includes("macintosh")) toggleOs(OS_MACOS);
+ if (userAgent.includes("windows")) toggleOs(OS_WINDOWS);
+ if (userAgent.includes("x64") || userAgent.includes("x86_64")) {
+ toggleArch(ARCH_X86_64);
+ } else if (
+ userAgent.includes("aarch64") ||
+ userAgent.includes("arm64")
+ ) {
+ toggleArch(ARCH_AARCH64);
+ }
+ }
+
+
+
+ Install anyzig
+
+ Linux
+ macOS
+ Windows
+
+
+ x86_64
+ aarch64
+
+
+
diff --git a/styles.css b/styles.css
new file mode 100644
index 0000000..e74e030
--- /dev/null
+++ b/styles.css
@@ -0,0 +1,86 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+
+body {
+ margin-top: 30px;
+ font-family: courier;
+ text-align: center;
+ background: #333;
+ color: #ccc;
+}
+
+a {
+ color: #eee;
+}
+
+h1 {
+ color: #eee;
+}
+
+h2 {
+ color: #eee;
+}
+
+section {
+ display: grid;
+ justify-items: center;
+ align-items: center;
+}
+
+code {
+ padding: 0.75em;
+ font-family: courier new;
+ text-align: left;
+ word-wrap: break-word;
+ background: #111;
+}
+
+#InstallDiv {
+ margin: 10px;
+}
+
+.CopyButton {
+ padding: 5px;
+}
+.FilterButton {
+ display: inline-block;
+ width: 60px;
+ height: 15px;
+ line-height: 15px;
+ text-align: center;
+ padding: 10px;
+ border-radius: 2px;
+ border: 0;
+ background: #ccc;
+ font-size: 15px;
+ color: #000;
+ cursor: default;
+ user-select: none;
+ font-weight: bold;
+}
+
+.FilterButton:hover {
+ background: #aaa;
+}
+
+.FilterButtonEnabled {
+ background: #4287f5;
+}
+
+.FilterButtonEnabled:hover {
+ background: #3277e5;
+}
+
+.Commands {
+ display: grid;
+ gap: 1em;
+ grid-auto-rows: 5em;
+}
+
+.Commands div {
+ display: grid;
+ gap: 3em;
+ grid-template-columns: 10em 45em;
+}