From 2528582f8c0041084ba92c2b63f76cef01aef70e Mon Sep 17 00:00:00 2001 From: jschantli Date: Wed, 7 Oct 2026 18:28:14 -0700 Subject: [PATCH] Fix Antigravity IDE icon extraction --- postinstall.sh | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/postinstall.sh b/postinstall.sh index b7d9fee..f3887d7 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -617,25 +617,9 @@ EOF fi sudo ln -sfn /opt/antigravity-ide/antigravity-ide /usr/local/bin/antigravity-ide - # Extract IDE icon from app.asar - if [ -f "/opt/antigravity-ide/resources/app.asar" ]; then - sudo python3 - /opt/antigravity-ide/resources/app.asar /usr/share/icons/hicolor/512x512/apps/antigravity-ide.png <<'PY' -import json, struct, sys -from pathlib import Path -asar = Path(sys.argv[1]) -out = Path(sys.argv[2]) -with asar.open('rb') as f: - f.read(4) - header_size = struct.unpack(' /usr/share/applications/antigravity-ide.desktop' <