super icon indicating copy to clipboard operation
super copied to clipboard

--install-macos-major-version-target=X is ignored by super 5.1 RC1

Open Tuttu opened this issue 5 months ago • 0 comments

Hello,

As discussed on Slack, it looks like super-v5.1-rc1 is ignoring the possibility to reset --install-macos-major-version-target by giving that parameter the X value.

Indeed, in the source code (starting line 1436), the if statement is checking only for the install_macos_minor_version_target_option.

	install_macos_minor_version_target=$(get_pref_managed "InstallMacOSMinorVersionTarget")
	if [[ -z "${install_macos_minor_version_target}" ]] && [[ "${install_macos_minor_version_target_option}" == "X" ]]; then
		delete_pref "InstallMacOSMinorVersionTarget"
	elif [[ -z "${install_macos_minor_version_target}" ]] && [[ -n "${install_macos_minor_version_target_option}" ]]; then
		install_macos_minor_version_target="${install_macos_minor_version_target_option}"
		set_pref "InstallMacOSMinorVersionTarget" "${install_macos_minor_version_target}"
	fi```

Tuttu avatar Oct 14 '25 13:10 Tuttu