mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-10 04:27:42 +08:00
Resolving packaged-app icons grew the embedded C# until the generated -EncodedCommand line reached 32,883 characters for a 222-character path, past the 32767-character CreateProcess limit, so association queries stopped starting for long multibyte paths. Write the adapter to a private temporary script and pass it with -File instead; the command line no longer grows with the path. The temporary directory is removed once the call settles. The icon fallback also reads the handler name the caller already fetched instead of calling GetName again, and the README records that icon visibility depends on resolving the Shell's indirect reference.