ShareX Architecture and Porting
Installation
SKILL.md
Platform Abstractions and Native Code Rules
All platform specific functionality must be isolated behind platform abstraction interfaces.
No code outside XerahS.Platform.* projects may reference:
- NativeMethods
- NativeConstants, NativeEnums, NativeStructs
- Win32 P/Invoke
- System.Windows.Forms
- Windows specific handles or messages
Direct calls to Windows APIs are forbidden in Common, Core, Uploaders, Media, or other backend projects.
Required Architecture
Define platform neutral interfaces in XerahS.Platform.Abstractions.
Implement Windows functionality in XerahS.Platform.Windows.