Support VoiceOver Portable Preferences
Use a generated read/write DMG to isolate GuidePup’s VoiceOver configuration from the host machine.
Setup
Create the DMG:
hdiutil create
-size 100m
-fs APFS
-volname GuidePup
~/.guidepup/voiceover.dmg
Mount the DMG:
hdiutil attach ~/.guidepup/voiceover.dmg
Copy the bundled portable VoiceOver preference fixture:
cp -R fixtures/voiceover-portable/* /Volumes/GuidePup/
Perform the one-time VoiceOver “Set Up Portable Preferences” flow against the mounted volume.
Unmount:
hdiutil detach /Volumes/GuidePup
Runtime
Mount before starting VoiceOver:
hdiutil attach ~/.guidepup/voiceover.dmg
Start VoiceOver. If the volume has been configured as “Always use this drive”, VoiceOver automatically switches to the portable preferences.
After tests:
hdiutil detach /Volumes/GuidePup
Support VoiceOver Portable Preferences
Use a generated read/write DMG to isolate GuidePup’s VoiceOver configuration from the host machine.
Setup
Create the DMG:
hdiutil create
-size 100m
-fs APFS
-volname GuidePup
~/.guidepup/voiceover.dmg
Mount the DMG:
hdiutil attach ~/.guidepup/voiceover.dmg
Copy the bundled portable VoiceOver preference fixture:
cp -R fixtures/voiceover-portable/* /Volumes/GuidePup/
Perform the one-time VoiceOver “Set Up Portable Preferences” flow against the mounted volume.
Unmount:
hdiutil detach /Volumes/GuidePup
Runtime
Mount before starting VoiceOver:
hdiutil attach ~/.guidepup/voiceover.dmg
Start VoiceOver. If the volume has been configured as “Always use this drive”, VoiceOver automatically switches to the portable preferences.
After tests:
hdiutil detach /Volumes/GuidePup