build/windows: Fix installer one-arch support (for forks) after .iss unification
This fixes a regression introduced by a19ef562
This commit is contained in:
parent
7a928ee3ed
commit
9db6c35ac5
1 changed files with 6 additions and 0 deletions
|
|
@ -395,13 +395,18 @@ Source: "{#MAIN_BUNDLE}\share\mypaint-data\*"; DestDir: "{app}\share\mypaint-dat
|
|||
|
||||
#sub EmitBaseExecutables
|
||||
#if i == 1
|
||||
#ifdef ARM64_BUNDLE
|
||||
#define private BUNDLE ARM64_BUNDLE
|
||||
#define private COMPONENT "ARM64"
|
||||
#endif
|
||||
#elif i == 2
|
||||
#ifdef X64_BUNDLE
|
||||
#define private BUNDLE X64_BUNDLE
|
||||
#define private COMPONENT "X64"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef BUNDLE
|
||||
; Required arch-specific components (compact installation)
|
||||
Source: "{#BUNDLE}\bin\libgimp*.dll"; DestDir: "{app}\bin"; Components: gimp{#COMPONENT}; Flags: {#COMMON_FLAGS}
|
||||
Source: "{#BUNDLE}\bin\gimp*.exe"; DestDir: "{app}\bin"; Components: gimp{#COMPONENT}; Flags: {#COMMON_FLAGS}
|
||||
|
|
@ -439,6 +444,7 @@ Source: "{#BUNDLE}\lib\python{#PYTHON_VERSION}\*"; DestDir: "{app}\lib\python{#P
|
|||
|
||||
#undef BUNDLE
|
||||
#undef COMPONENT
|
||||
#endif
|
||||
#endsub
|
||||
|
||||
#for {i = 1; i <= 2; i++} EmitBaseExecutables
|
||||
|
|
|
|||
Loading…
Reference in a new issue