added renew slice mechanism
[sface.git] / macos / build-dmg.sh
index 9069dcb..803b3d5 100755 (executable)
@@ -168,11 +168,7 @@ Also make sure to trash the current one before retrying"
     sface_version=$(rpm -q --specfile $sface_spec --qf '%{version}\n' | head -1)
     sface_release=$(rpm -q --specfile $sface_spec --qf '%{release}\n' | head -1 | cut -d. -f1)
     sface_tag=${sface_version}-${sface_release}
-    echo Before running make -C $temp/sface VERSIONTAG="${sface_tag}" SCMURL="${sface_GITPATH}" version
-    head -100 $temp/sface/sface/version.py{,.in}
     make -C $temp/sface VERSIONTAG="${sface_tag}" SCMURL="${sface_GITPATH}" version
-    echo AFTER
-    head -100 $temp/sface/sface/version.py{,.in}
 
     # copy sfa/ and sface/ subdirs in image
     rm -rf "$img_mnt"/$resource_path/{sfa,sface}
@@ -187,9 +183,11 @@ Also make sure to trash the current one before retrying"
     ### install background and app icons
     # clean up any 'background' dir if exists
     rm -rf "$img_mnt"/{,.}background 
-    mkdir -p "$img_mnt"/.background "$img_mnt"/$resource_path
+    mkdir -p "$img_mnt"/.background "$img_mnt"/$resource_path/sface/images
     cp $temp/sface/macos/graphic-install-background.png "$img_mnt"/.background/background.png
     cp $temp/sface/macos/graphic-sfa.icns "$img_mnt"/$resource_path/appIcon.icns
+    cp $temp/sface/macos/graphic-sfa.png "$img_mnt"/$resource_path/sface/images
+    cp $temp/sface/macos/graphic-sfa64.png "$img_mnt"/$resource_path/sface/images
     # the volume icons won't work - who cares
 #    cp $temp/sface/macos/graphic-vol-sface.icns "$img_mnt"/.background/volumeIcon.icns
 #    cp $temp/sface/macos/graphic-vol-sface.png "$img_mnt"/.background/volumeIcon.png