Fix the bundling issue of dark mode runtime support for Windows and Mac.

This commit is contained in:
Neel Patel authored and Akshay Joshi committed 2020-04-14 15:19:39 +05:30
1 parent 12530cd973
commit 65bc196eba
3 files changed
+10

No files matched your search

+2
View File
@@ -78,6 +78,7 @@ _get_version() {
_cleanup() {
echo "Cleaning up the old environment and app bundle"
rm -rf ${SOURCEDIR}/runtime/pgAdmin4.app
rm -rf ${SOURCEDIR}/runtime/dark ${SOURCEDIR}/runtime/light ${SOURCEDIR}/runtime/light.qss ${SOURCEDIR}/runtime/dark.qss
rm -rf ${BUILDROOT}
rm -f ${DISTROOT}/pgadmin4*.dmg
}
@@ -153,6 +154,7 @@ _build_runtime() {
${QMAKE} || { echo qmake failed; exit 1; }
make || { echo make failed; exit 1; }
cp -r pgAdmin4.app "${BUILDROOT}/${APP_BUNDLE_NAME}"
cp -r dark light dark.qss light.qss "${BUILDROOT}/"
}
_build_doc() {
+2
View File
@@ -294,6 +294,8 @@ begin
begin
DelWebfolder(ExpandConstant('{app}\web'));
DelFolder(ExpandConstant('{app}\venv'));
DelFolder(ExpandConstant('{app}\runtime\dark'));
DelFolder(ExpandConstant('{app}\runtime\light'));
end;
end;
end;