Skip to content
New issue

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

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

Already on GitHub? # to your account

Point Nudge to specific update #279

Closed
Tomtenden3 opened this issue Oct 28, 2021 · 2 comments
Closed

Point Nudge to specific update #279

Tomtenden3 opened this issue Oct 28, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@Tomtenden3
Copy link

We are trying to get nudge to start a specific update like you can with the python verison by using /Applications/.app and we are using this with the actionbuttonpath, but we can't seem to get it to work, either Nudge just starts and closes or it closes right after you press the update button.
I can't find anything in the wiki that describes how to point nudge to the specific OS version, is there anything we are missing or is the swift version not able to upgrade from a local downloaded macOS version

@erikng
Copy link
Member

erikng commented Nov 23, 2021

This is possible, but there is a bug. This bug should be fixed with. #284

In my testing the following configuration is sufficient to open /Applications/Install macOS Monterey.app if it exists. If you have the application in a different path you will have to set majorUpgradeAppPath as well.

{
  "osVersionRequirements": [
    {
      "aboutUpdateURL": "https://google.com",
      "requiredInstallationDate": "2021-11-28T00:00:00Z",
      "requiredMinimumOSVersion": "12.0.1",
      "targetedOSVersionsRule": "default"
    }
  ],
  "userExperience": {
    "randomDelay": false
  },
  "userInterface": {
    "iconDarkPath": "/Library/Application Support/Nudge/logoDark.png",
    "iconLightPath": "/Library/Application Support/Nudge/logoLight.png",
    "screenShotDarkPath": "/Library/Application Support/Nudge/screenShotDark.png",
    "screenShotLightPath": "/Library/Application Support/Nudge/screenShotLight.png"
  }
}

@erikng erikng added the bug Something isn't working label Nov 23, 2021
@erikng
Copy link
Member

erikng commented Nov 23, 2021

Should be fixed with https://github.com/macadmins/nudge/releases/tag/v1.1.3.11232021144641

If it's not please report back

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants