File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -228,12 +228,11 @@ Prepare_Installer()
228
228
chmod +x " $resources_path " /pbzx
229
229
" $resources_path " /pbzx " $installer_folder " /InstallAssistantAuto.pkg | Output_Off cpio -i
230
230
231
- mv " $installer_folder " /InstallESDDmg.pkg " $installer_folder " /InstallESD.dmg
232
- cp " $installer_folder " /InstallESD.dmg " $save_folder " /" Install $installer_name .app" /Contents/SharedSupport
231
+ cp " $installer_folder " /InstallESDDmg.pkg " $save_folder " /" Install $installer_name .app" /Contents/SharedSupport/InstallESD.dmg
233
232
mv " $installer_folder " /RecoveryHDMetaDmg.pkg " $installer_folder " /RecoveryHDMeta.dmg
234
233
235
234
Output_Off hdiutil attach " $installer_folder " /RecoveryHDMeta.dmg -mountpoint /tmp/RecoveryHDMeta -nobrowse
236
- cp -R " $installer_folder " /RecoveryHDMeta/ " $save_folder " /" Install $installer_name .app" /Contents/SharedSupport/
235
+ cp -R /tmp /RecoveryHDMeta/ " $save_folder " /" Install $installer_name .app" /Contents/SharedSupport/
237
236
Output_Off hdiutil detach /tmp/RecoveryHDMeta
238
237
239
238
touch " $save_folder " /" Install $installer_name .app"
You can’t perform that action at this time.
0 commit comments