fixed broken app_path detection
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Semi-automatic installer of macOS on VirtualBox
|
# Semi-automatic installer of macOS on VirtualBox
|
||||||
# (c) myspaghetti, licensed under GPL2.0 or higher
|
# (c) myspaghetti, licensed under GPL2.0 or higher
|
||||||
# url: https://github.com/myspaghetti/macos-guest-virtualbox
|
# url: https://github.com/myspaghetti/macos-guest-virtualbox
|
||||||
# version 0.80.1
|
# version 0.80.2
|
||||||
|
|
||||||
# Requirements: 40GB available storage on host
|
# Requirements: 40GB available storage on host
|
||||||
# Dependencies: bash >= 4.3, xxd, gzip, unzip, wget, dmg2img,
|
# Dependencies: bash >= 4.3, xxd, gzip, unzip, wget, dmg2img,
|
||||||
@@ -915,7 +915,7 @@ send_keys
|
|||||||
# Create secondary base system on the Install disk
|
# Create secondary base system on the Install disk
|
||||||
# and copy macOS install app files to the app directory
|
# and copy macOS install app files to the app directory
|
||||||
kbstring='asr restore --source "/Volumes/'"${macOS_release_name:0:5}-files"'/BaseSystem.dmg" --target /Volumes/Install --erase --noprompt && '\
|
kbstring='asr restore --source "/Volumes/'"${macOS_release_name:0:5}-files"'/BaseSystem.dmg" --target /Volumes/Install --erase --noprompt && '\
|
||||||
'app_path="$(ls -d "/Volumes/OS X Base System 1/Install"*.app)" && '\
|
'app_path="$(ls -d "/Volumes/"*"Base System 1/Install"*.app)" && '\
|
||||||
'install_path="${app_path}/Contents/SharedSupport/" && '\
|
'install_path="${app_path}/Contents/SharedSupport/" && '\
|
||||||
'mkdir -p "${install_path}" && cd "/Volumes/'"${macOS_release_name:0:5}-files/"'" && '\
|
'mkdir -p "${install_path}" && cd "/Volumes/'"${macOS_release_name:0:5}-files/"'" && '\
|
||||||
'cp *.chunklist *.plist *.dmg "${install_path}" && '\
|
'cp *.chunklist *.plist *.dmg "${install_path}" && '\
|
||||||
|
|||||||
Reference in New Issue
Block a user