#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Sun, 14 Oct 2018 22:25:39 +0200
changeset 23444 ddbf0b007828
parent 23443 405ef3cf813b
child 23445 2f2ca1a7aaac
#BUGFIX by cg class: ApplicationDefinition class changed: #osxDmgImageSetupLines
ApplicationDefinition.st
--- a/ApplicationDefinition.st	Sun Oct 14 21:17:58 2018 +0200
+++ b/ApplicationDefinition.st	Sun Oct 14 22:25:39 2018 +0200
@@ -2798,7 +2798,7 @@
      This is used to generate a macOS deployable dmg containing an app"
 
     |genLine product productFile dmgVolume dmgDir appDir contentsDir macOSDir 
-     resourcesDir packagesDir dirsMade|
+     resourcesDir dirsMade|
 
     product := self productName.
     productFile := self productFilename.
@@ -2809,7 +2809,6 @@
     contentsDir := appDir,'/Contents'.
     macOSDir := contentsDir,'/MacOS'.
     resourcesDir := contentsDir,'/Resources'.
-    packagesDir := contentsDir,'/Packages'.
     dirsMade := Set new.
 
     genLine :=
@@ -2847,8 +2846,7 @@
         "/ this is done indirectly, by additionalFilesToInstall_XXX
         "/ s tab; nextPutLine:('@-mkdir "%1"/packages' bindWith:macOSDir).  dirsMade add:(macOSDir,'/packages').
         s tab; nextPutLine:('@-mkdir "%1"' bindWith:resourcesDir).  dirsMade add:resourcesDir.
-        s tab; nextPutLine:('@-mkdir "%1"' bindWith:packagesDir).  dirsMade add:packagesDir.
-        s tab; nextPutLine:('@$(MAKE) RESOURCEFILES RESOURCES="%1"' bindWith:packagesDir).
+        s tab; nextPutLine:('@$(MAKE) RESOURCEFILES RESOURCES="%1"' bindWith:resourcesDir).
         s tab; nextPutLine:('cp "',self applicationName,'" "',macOSDir,'/"').
         s tab; nextPutLine:('@-cp osx/Info.plist "',contentsDir,'/"').
         self osxDmgBackgroundImageFile notNil ifTrue:[