Commit 06504ae34d47668c22d902b01fffa6c33d59bbd8
1 parent
6c6a2295
Exists in
master
and in
2 other branches
Atualizando empacotamento windows.
Showing
3 changed files
with
21 additions
and
3 deletions
Show diff stats
src/objects/settings/gsettings.c
win/pack.sh
... | ... | @@ -460,6 +460,24 @@ buildApplication() |
460 | 460 | failed "Can't configure ${1}" |
461 | 461 | fi |
462 | 462 | |
463 | + if [ ! -e "branding/${PRODUCT_NAME}.svg" ]; then | |
464 | + | |
465 | + if [ -e "${PROJECTDIR}/${PRODUCT_NAME}.svg" ]; then | |
466 | + echo "Getting icon from ${PROJECTDIR}/${PRODUCT_NAME}.svg" | |
467 | + ln -s "$(readlink -f "${PROJECTDIR}/${PRODUCT_NAME}.svg")" "branding/${PRODUCT_NAME}.svg" | |
468 | + | |
469 | + elif [ -e "${PROJECTDIR}/branding/${PRODUCT_NAME}.svg" ]; then | |
470 | + echo "Getting icon from ${PROJECTDIR}/branding/${PRODUCT_NAME}.svg" | |
471 | + ln -s "$(readlink -f "${PROJECTDIR}/branding/${PRODUCT_NAME}.svg")" "branding/${PRODUCT_NAME}.svg" | |
472 | + | |
473 | + else | |
474 | + echo "Using default icon" | |
475 | + ln -s "pw3270.svg" "branding/${PRODUCT_NAME}.svg" | |
476 | + | |
477 | + fi | |
478 | + | |
479 | + fi | |
480 | + | |
463 | 481 | make all |
464 | 482 | if [ "$?" != "0" ]; then |
465 | 483 | failed "Can't buid ${1}" | ... | ... |
win/pw3270.nsi.in
... | ... | @@ -121,8 +121,8 @@ SubSection "@PRODUCT_NAME@" SecMain |
121 | 121 | |
122 | 122 | # Schema |
123 | 123 | CreateDirectory "$INSTDIR\schemas" |
124 | - file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-application.gschema.xml" "share\glib-2.0\schemas\pw3270-application.gschema.xml" | |
125 | - file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-window.gschema.xml" "share\glib-2.0\schemas\pw3270-window.gschema.xml" | |
124 | + file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-application.gschema.xml" "share\glib-2.0\schemas\@PRODUCT_NAME@-application.gschema.xml" | |
125 | + file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-window.gschema.xml" "share\glib-2.0\schemas\@PRODUCT_NAME@-window.gschema.xml" | |
126 | 126 | |
127 | 127 | file "/oname=$INSTDIR\gschemas.compiled" "runtime/share/glib-2.0/schemas/gschemas.compiled" |
128 | 128 | ... | ... |