Skip to content

An open-source cross-platform alternative to AirDrop

fix(windows): render LocalSend icon in the Share Sheet & "Share with" menu (#3552)

Shlomoeb61b5f10119
diff --git a/support/scripts/compile_windows_exe-inno.iss b/support/scripts/compile_windows_exe-inno.iss
index 380a79c0..4ec5a0e6 100644
--- a/support/scripts/compile_windows_exe-inno.iss
+++ b/support/scripts/compile_windows_exe-inno.iss
@@ -91,6 +91,9 @@ Source: "{#PayloadDir}\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recu
#ifndef SkipMsixHelper
Source: "{#PayloadDir}\{#MyAppExeName}.manifest"; DestDir: "{app}"; Flags: ignoreversion
Source: "{#PayloadDir}\{#MyAppMsixHelper}"; DestDir: "{app}"; Flags: ignoreversion
+; Windows reads the share icons from the app's install folder. Copy their images and resource index (resources.pri) there.
+Source: "..\build\msix\content\Images\*"; DestDir: "{app}\Images"; Flags: ignoreversion
+Source: "..\build\msix\content\resources.pri"; DestDir: "{app}"; Flags: ignoreversion
#endif
; NOTE: Don't use "Flags: ignoreversion" on any shared system files