Good point. In the Electoral College system, each state gets a certain number of electors based on its total number of representatives in Congress. Each elector casts one electoral vote following the general election; there are a total of 538 electoral votes. The candidate that gets more than half (270) wins the election.
An electoral college is a set of electors who are selected to elect a candidate to a particular office. Often these represent different organizations, political parties, or entities, with each organization, political party or entity represented by a particular number of electors or with votes weighted in a particular way.
NOTE There are "faithless electors" who vote for another candidate....but the USSC on July 6, 2020, unanimously ruled that states have the power to require presidential electors to vote for their partys candidate for president.
"Each State shall appoint, in such Manner as the Legislature thereof may direct, a Number of Electors, equal to the whole Number of Senators and Representatives to which the State may be entitled in the Congress: but no Senator or Representative, or Person holding an Office of Trust or Profit under the United States, shall be appointed an Elector."
So a state legisature could opt for a process where the legislators appoint the electors, or provide that the governor can.