Use correct WinWord DLL for 64-bit Windows
And omit 64-bit DLL from 32-bit build
This commit is contained in:
parent
8dd1db9839
commit
30f6cd44d8
1 changed files with 6 additions and 0 deletions
|
@ -717,6 +717,12 @@ if [ $BUILD_WIN == 1 ]; then
|
||||||
mkdir -p "$APPDIR/integration"
|
mkdir -p "$APPDIR/integration"
|
||||||
cp -RH "$CALLDIR/modules/zotero-libreoffice-integration/install" "$APPDIR/integration/libreoffice"
|
cp -RH "$CALLDIR/modules/zotero-libreoffice-integration/install" "$APPDIR/integration/libreoffice"
|
||||||
cp -RH "$CALLDIR/modules/zotero-word-for-windows-integration/install" "$APPDIR/integration/word-for-windows"
|
cp -RH "$CALLDIR/modules/zotero-word-for-windows-integration/install" "$APPDIR/integration/word-for-windows"
|
||||||
|
if [ $arch = 'win32' ]; then
|
||||||
|
rm "$APPDIR/integration/word-for-windows/libzoteroWinWordIntegration_x64.dll"
|
||||||
|
elif [ $arch = 'win-x64' ]; then
|
||||||
|
mv "$APPDIR/integration/word-for-windows/libzoteroWinWordIntegration_x64.dll" \
|
||||||
|
"$APPDIR/integration/word-for-windows/libzoteroWinWordIntegration.dll"
|
||||||
|
fi
|
||||||
|
|
||||||
# Delete extraneous files
|
# Delete extraneous files
|
||||||
find "$APPDIR" -depth -type d -name .git -exec rm -rf {} \;
|
find "$APPDIR" -depth -type d -name .git -exec rm -rf {} \;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue