This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import json | |
| import os | |
| import subprocess | |
| import sys | |
| import threading | |
| import time | |
| import webbrowser | |
| from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer | |
| from pathlib import Path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| # Simple macOS (25/26 "Tahoe") build script for tinc using Meson/Ninja. | |
| # Installs required Homebrew deps, configures PKG_CONFIG_PATH, applies Tahoe fix, | |
| # and compiles into ./builddir. Safe to rerun. | |
| if [[ "$(uname -s)" != "Darwin" ]]; then | |
| echo "This script is intended for macOS." >&2 | |
| exit 1 |