Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧 macOS Installers #229

Closed
wants to merge 29 commits into from
Closed

🚧 macOS Installers #229

wants to merge 29 commits into from

Conversation

phatblat
Copy link
Member

@phatblat phatblat commented Mar 30, 2019

Special handling for macOS installers.

$ mas os
==> Available macOS Installers:
  - Mojave 10.14 (1398502828) https://itunes.apple.com/us/app/macos-mojave/id1398502828?mt=12
  - High Sierra 10.13 (1246284741) https://itunes.apple.com/us/app/macos-high-sierra/id1246284741?mt=12
  - Sierra 10.12 (1127487414) https://itunes.apple.com/us/app/macos-sierra/id1127487414?mt=12
  - El Capitan 10.11 (1147835434) https://itunes.apple.com/us/app/os-x-el-capitan/id1147835434?mt=12
  - Yosemite 10.10 (915041082)
  - Mavericks 10.9 (675248567)

🚧 WIP

Mojave 10.14.4

Something changed in the latest Mojave update and a few of the 6 supported versions of macOS installers stopped working and instead give the following error:

Screen Shot 2019-03-30 at 4 27 03 PM

Most notably, this is affecting Mojave 😫

The behavior of downloading these installers also changed. I can still mas open 1398502828 to open the Mojave page in the Mac App Store. Clicking the "GET" button opens the Software Update pane of System Preferences. So, looks like this functionality is moving out of the app store, just as I'm trying to add it to mas.

}
}
it("can be found by token") {
let os = MacOS.os(withToken: "mojave")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identifier Name Violation: Variable name should be between 3 and 40 characters long: 'os' (identifier_name)

@masclibot
Copy link

masclibot commented Mar 30, 2019

1 Warning
⚠️ 😵 Big PR

Generated by 🚫 Danger

@Red1860
Copy link

Red1860 commented May 20, 2020

Is it possible to install the installers that have not been purchased or linked to the Apple ID?

@phatblat
Copy link
Member Author

@Rohan200220 perhaps. This PR is mainly to make the process of finding and installing the macOS installer apps easier. I would love to see if I can get it to work without being logged in but haven't figure out whether that is possible yet. #144

@phatblat phatblat force-pushed the os branch 4 times, most recently from ea246f7 to 2958c74 Compare May 26, 2020 15:38
phatblat added 21 commits May 27, 2020 22:04
# Conflicts:
#	MasKit/SupportingFiles/Info.plist
#	MasKitTests/SupportingFiles/Info.plist
#	mas/mas-Info.plist
# Conflicts:
#	MasKit/AppStore/Downloader.swift
#	MasKit/AppStore/SSPurchase.swift
# Conflicts:
#	PrivateFrameworks/StoreFoundation/CKSoftwareProduct.h
# Conflicts:
#	MasKit/Commands/List.swift
#	MasKit/Controllers/MasAppLibrary.swift
# Conflicts:
#	MasKit/Models/SoftwareProduct.swift
Using zero instead of nil to indicate when to use value from enum

# Conflicts:
#	MasKit/Commands/List.swift
Can’t rely on appName. See #226

# Conflicts:
#	MasKitTests/Commands/ListCommandSpec.swift
phatblat added 8 commits May 27, 2020 22:04
# Conflicts:
#	MasKitTests/Models/SoftwareProductMock.swift
# Conflicts:
#	CHANGELOG.md
Identifier Name Violation: Variable name should be between 3 and 40 characters long: 'os' (identifier_name)
@phatblat
Copy link
Member Author

Closing this as it is quite stale now and interest has waned.

@phatblat phatblat closed this May 22, 2021
@startergo
Copy link

startergo commented Jan 30, 2023

So is there a way to test it on earlier Mojave or the latest HS version? There is only one macOS which could not be downloaded from Apple servers without previous download newer than Lion, which is Mavericks. Mavericks was the first free macOS installer Mavericks yet it is not available for download.
Tried this in El Capitan:

mas os
Unrecognized command: 'os'. See `mas help`.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

What's the difference between "id: Install" and "id: 0"?
6 participants