]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
We no longer have the old icon rebranding script.
authorRudolf Polzer <divVerent@gmail.com>
Fri, 12 Nov 2021 19:02:33 +0000 (11:02 -0800)
committerRudolf Polzer <divVerent@gmail.com>
Fri, 12 Nov 2021 19:02:33 +0000 (11:02 -0800)
Well, let's just do another way.

misc/tools/all/release.subr

index 1a502bbd9a8cdfafc1b9a3fb8b021b71ea5b9c05..91619fe3bb7a3d5250121732e00081b465cd3358 100644 (file)
@@ -222,6 +222,7 @@ case "$cmd" in
                case " $HOSTS_THAT_ARE_MYSELF " in
                        *\ $host\ *)
                                verbose rsync --delete -zLvaSHP "$srcdir"/ "$buildpath/"
+                               verbose rsync --delete -zLvaSHP misc/logos/icons_ico/xonotic.ico "$buildpath"/darkplaces.ico
                                verbose rsync --delete -zLvaSHP "$depsdir"/*/ "$buildpath.deps/"
                                verbose ln -snf "$buildpath.deps" "$buildpath/.deps"
                                verbose eval make -C "$buildpath" clean $maketargets $makeflags
@@ -231,6 +232,7 @@ case "$cmd" in
                                ;;
                        *)
                                verbose rsync --delete -zLvaSHP "$srcdir"/ "$host":"$buildpath/"
+                               verbose rsync --delete -zLvaSHP misc/logos/icons_ico/xonotic.ico "$host":"$buildpath"/darkplaces.ico
                                verbose rsync --delete -zLvaSHP "$depsdir"/*/ "$host":"$buildpath.deps/"
                                verbose ssh "$host" "[ -f /etc/profile ] && . /etc/profile; [ -f ~/.profile ] && . ~/.profile; export LC_ALL=C; ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && nice -`nice` make clean $maketargets $makeflags"
                                for f in $targetfiles; do
@@ -238,14 +240,6 @@ case "$cmd" in
                                done
                                ;;
                esac
-               # now rebrand the binaries...
-               for f in $targetfiles; do
-                       case "${f##*:}" in
-                               Xonotic/xonotic*.exe)
-                                       verbose "$d0/misc/tools/change-icon-of-exe.sh" "$d0/misc/logos/icons_ico/xonotic.ico" "${f##*:}"
-                                       ;;
-                       esac
-               done
                ;;
        release-compile)
                release_common