mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-20 04:15:53 +01:00
msys64 deploy fix
This commit is contained in:
parent
f640809d25
commit
7c33ea931a
2
build.sh
2
build.sh
@ -10,7 +10,7 @@ fi
|
||||
|
||||
if [ ! -d build ]; then mkdir build; fi
|
||||
cd build
|
||||
echo $(pwd)
|
||||
|
||||
qmake ../monero-core.pro "CONFIG+=release"
|
||||
make
|
||||
make deploy
|
||||
|
@ -113,23 +113,25 @@ TRANSLATIONS = \ # English is default language, no explicit translation file
|
||||
$$PWD/translations/monero-core_pl.ts \ # Polish
|
||||
|
||||
CONFIG(release, debug|release) {
|
||||
DESTDIR = release
|
||||
DESTDIR = release/bin
|
||||
LANGUPD_OPTIONS = -locations relative -no-ui-lines
|
||||
LANGREL_OPTIONS = -compress -nounfinished -removeidentical
|
||||
|
||||
} else {
|
||||
DESTDIR = debug
|
||||
DESTDIR = debug/bin
|
||||
LANGUPD_OPTIONS =
|
||||
LANGREL_OPTIONS = -markuntranslated "MISS_TR "
|
||||
}
|
||||
|
||||
TARGET_FULL_PATH = $$OUT_PWD/$$DESTDIR
|
||||
TRANSLATION_TARGET_DIR = $$TARGET_FULL_PATH/translations
|
||||
|
||||
macx {
|
||||
TARGET_FULL_PATH = $$sprintf("%1/%2/%3.app", $$OUT_PWD, $$DESTDIR, $$TARGET)
|
||||
TRANSLATION_TARGET_DIR = $$TARGET_FULL_PATH/Contents/Resources/translations
|
||||
}
|
||||
|
||||
TRANSLATION_TARGET_DIR = $$TARGET_FULL_PATH/Contents/Resources/translations
|
||||
|
||||
|
||||
isEmpty(QMAKE_LUPDATE) {
|
||||
win32:LANGUPD = $$[QT_INSTALL_BINS]\lupdate.exe
|
||||
@ -167,17 +169,14 @@ macx {
|
||||
}
|
||||
|
||||
win32 {
|
||||
deploy.commands += windeployqt $$sprintf("%1/%2/%3", $$OUT_PWD, $$DESTDIR, $$TARGET)
|
||||
deploy.commands += windeployqt $$sprintf("%1/%2/%3.exe", $$OUT_PWD, $$DESTDIR, $$TARGET) -qmldir=$$PWD
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
OTHER_FILES += \
|
||||
.gitignore \
|
||||
$$TRANSLATIONS
|
||||
|
||||
DISTFILES += \
|
||||
notes.txt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user