Fix dingding plugin (#221)

This commit is contained in:
paisley
2026-02-28 14:42:55 +08:00
committed by GitHub
Unverified
parent 98703a0ab8
commit dbf88a79be
8 changed files with 220 additions and 65 deletions

View File

@@ -1,7 +1,14 @@
; ClawX Custom NSIS Uninstaller Script
; Provides a "Complete Removal" option during uninstallation
; to delete .openclaw config and AppData resources.
; Handles both per-user and per-machine (all users) installations.
; ClawX Custom NSIS Installer/Uninstaller Script
!macro customInstall
; Enable Windows long path support for all-user (admin) installs.
; pnpm virtual store and node_modules paths can exceed the default 260-char
; MAX_PATH limit on Windows. This registry key enables the modern NTFS
; long-path behavior on Windows 10 1607+ / Windows 11.
${If} $MultiUser.InstallMode == "AllUsers"
WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Control\FileSystem" "LongPathsEnabled" 1
${EndIf}
!macroend
!macro customUnInstall
; Ask user if they want to completely remove all user data