minor optimization

This commit is contained in:
Jan Jastrow 2023-09-04 03:45:54 +02:00
parent f623cf3942
commit bc5ef993c7

View File

@ -49,14 +49,13 @@ fi
# Add syncthing synced binary folder to $PATH
if [[ $platform == 'macOS' ]]; then
export PATH="$HOME/SyncMac/Apps/bin/universal:$PATH"
export PATH="$HOME/SyncMac/Apps/bin/x86_64_rosetta2:$PATH"
if [[ $arch == 'arm' ]]; then
export PATH="$HOME/SyncMac/Apps/bin/arm64:$PATH"
export PATH="$HOME/SyncMac/Apps/bin/universal:$PATH"
export PATH="$HOME/SyncMac/Apps/bin/x86_64_rosetta2:$PATH"
elif [[ $arch == 'i386' ]]; then
export PATH="$HOME/SyncMac/Apps/bin/universal:$PATH"
export PATH="$HOME/SyncMac/Apps/bin/x86_64:$PATH"
export PATH="$HOME/SyncMac/Apps/bin/x86_64_rosetta2:$PATH"
fi
fi