← Commit history

v1.9.5: uninstall cascade fix

John Lauer ·8f8d1349ea ·1mo ago ·parent aee780d
4 files changed +9−8
BRIDGE_VERSION+1−1
@@ -1 +1 @@-1.9.4\ No newline at end of file+1.9.5\ No newline at end of file
adom-bridge-fusion-manifest.json+4−4
@@ -1,10 +1,10 @@ {     "manifest_version": 1,     "name": "fusion360",-    "version": "1.9.4",-    "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.4/adom-bridge-fusion-v1.9.4.zip",-    "sha256": "165d0f93a4778832e1eedf623d19ded7877172b0276c9ff3da04afcfbe0bb86f",-    "size": 302854,+    "version": "1.9.5",+    "url": "https://wiki.adom.inc/download/adom/fusion-bridge/1.9.5/adom-bridge-fusion-v1.9.5.zip",+    "sha256": "09a4b57947d638c9a8f2e87308dd9ec4635e49d8d5779c1c6286ffb29f35cfd0",+    "size": 302863,     "verbPrefixes": [         "fusion_"     ],
bridge.json+1−1
@@ -2,7 +2,7 @@   "manifest_version": 1,   "name": "fusion360",   "displayName": "Autodesk Fusion 360",-  "version": "1.9.4",+  "version": "1.9.5",   "description": "Drive Autodesk Fusion 360 from the cloud: launch Fusion, electronics board layout, design rules, exports (STEP/IGES/STL/3MF/USDZ/OBJ/DXF/DWG/Gerbers/BOM/CPL), fast APS server-indexed cloud search plus browse/recent/file-info/versions, cloud file download/upload and folder creation, and in-app parametric modeling (fusion_run_modeling_script). Never-charge: APS calls are capped to the free tier.",   "homepage": "https://wiki.adom.inc/adom/fusion-bridge",   "author": "Adom Inc.",
server.py+3−2
@@ -6310,14 +6310,15 @@ COMMAND_HANDLERS["inspect_bodies"] = _handle_inspect_bodies def _handle_uninstall(fusion_info: dict, args: dict) -> dict:     """fusion_uninstall - remove this bridge's out-of-cache artifacts (add-in, prefs, APS tokens)."""     import shutil as _sh+    import pathlib as _pl     args = args or {}     dry = bool(args.get("dryRun"))-    home = pathlib.Path(os.path.expanduser("~"))+    home = _pl.Path(os.path.expanduser("~"))      targets = []     try:         from install_addin import TARGET_CANDIDATES as _TC-        targets += [pathlib.Path(str(t)) / "AdomBridge" for t in _TC]+        targets += [_pl.Path(str(t)) / "AdomBridge" for t in _TC]     except Exception:         targets += [home / "AppData" / "Roaming" / "Autodesk" / "FusionAddins" / "AdomBridge",                     home / "AppData" / "Roaming" / "Autodesk" / "Autodesk Fusion" / "API" / "AddIns" / "AdomBridge",