← Commit history
Publish 1.1.8
5 files changed
+21−5
README.md+2@@ -43,3 +43,5 @@ adom-molecule create --source fusion --name "Enclosure" --owner john \ - Source: https://github.com/adom-inc/adom-molecule (backup) - Binary: ~3.3 MB (Linux x86_64)++
install.sh+17−3@@ -2,9 +2,23 @@ set -e PKG_DIR="$(cd "$(dirname "$0")" && pwd)" DEST="/usr/local/bin/adom-molecule"-if [ -w "$(dirname "$DEST")" ]; then cp "$PKG_DIR/adom-molecule" "$DEST"; else sudo cp "$PKG_DIR/adom-molecule" "$DEST"; fi-chmod +x "$DEST" 2>/dev/null || sudo chmod +x "$DEST"-echo "Installed adom-molecule → $DEST"+# Binary ships as a wiki RELEASE ASSET (not in the tarball — keeps installs+# small and follows the wiki doctrine). Version comes from the package manifest.+VER="$(grep -o '"version"[^,]*' "$PKG_DIR/package.json" | grep -o '[0-9][0-9.]*' | head -1)"+BIN_URL="https://wiki.adom.inc/download/adom/adom-molecule/${VER}/adom-molecule"+TMP_BIN="$(mktemp)"+if curl -fsSL "$BIN_URL" -o "$TMP_BIN"; then+ :+elif [ -f "$PKG_DIR/adom-molecule" ]; then+ echo "WARN: release download failed; using tarball-local binary" >&2+ cp "$PKG_DIR/adom-molecule" "$TMP_BIN"+else+ echo "ERROR: could not download adom-molecule from $BIN_URL" >&2+ exit 1+fi+if [ -w "$(dirname "$DEST")" ]; then install -m 0755 "$TMP_BIN" "$DEST"; else sudo install -m 0755 "$TMP_BIN" "$DEST"; fi+rm -f "$TMP_BIN"+echo "Installed adom-molecule ${VER} → $DEST" # Skills: root SKILL.md = the adom-molecule skill; sub-skills under skills/<name>/. # Copy real files (no symlinks), clearing any prior dir or symlink from an old install.
package.json+1−1@@ -1,6 +1,6 @@ { "slug": "adom-molecule",- "version": "1.1.7",+ "version": "1.1.8", "type": "app", "description": "Adom Molecule CLI \u2014 import a wiki molecule into Hydrogen (reuses the published GLB, no re-optimization), plus create/optimize/list/delete from KiCad, Fusion 360, and EasyEDA files.", "needs_sudo": true,
page.json+1−1@@ -1,6 +1,6 @@ { "slug": "adom-molecule",- "version": "1.1.7",+ "version": "1.1.8", "type": "app", "description": "Adom Molecule CLI — import a wiki molecule into Hydrogen (reuses the published GLB, no re-optimization), plus create/optimize/list/delete from KiCad, Fusion 360, and EasyEDA files.", "needs_sudo": true,
screenshots/cli-session.pngadded⋯ 1 unchanged line ⋯