Skip to content

Commit 492683d

Browse files
author
Julian-Marius-Fairfax
committed
Update
1 parent 1cb1ba5 commit 492683d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

macOS Downloader.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,11 @@ Prepare_Installer()
228228
chmod +x "$resources_path"/pbzx
229229
"$resources_path"/pbzx "$installer_folder"/InstallAssistantAuto.pkg | Output_Off cpio -i
230230

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
233232
mv "$installer_folder"/RecoveryHDMetaDmg.pkg "$installer_folder"/RecoveryHDMeta.dmg
234233

235234
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/
237236
Output_Off hdiutil detach /tmp/RecoveryHDMeta
238237

239238
touch "$save_folder"/"Install $installer_name.app"

0 commit comments

Comments
 (0)