Code Monkey home page Code Monkey logo

nudge's Introduction

Nudge

Important Information

You most certainly want to customize the following values:

  • cutoffdate
  • updatetext
  • moreinfourl

Also, you will at the very least want to change the company_logo.png

Screenshots

Screenshot Nudge

Building this package

You will need to use munki-pkg to build this package.

Credits

This tool would not be possible without nibbler, written by Michael Lynn.

Notes

Because of the way git works, nudge will not contain the Logs folder required for the postinstall to complete.

In order to create a properly working package, you will need to run the following command: munkipkg --sync /path/to/cloned_repo/nudge.

OS Support

The following operating system and versions have been tested.

  • 10.10.0, 10.10.5
  • 10.11.0, 10.11.6
  • 10.12.0, 10.12.6
  • 10.13.0 10.13.3, 10.13.6
  • 10.14.0

Options

Essentially every component of the UI is customizable, all through the LaunchAgent.

Cutoff date

Cut off date in UTC.

<string>--cutoffdate</string>
<string>2018-12-31-00:00</string>

Cut off date warning

This is the number, in days, of when to start the initial UI warning. When this set of days passes, the user will be required to hit the I Understand button, followed by the Close button to exit out of the UI.

<string>--cutoffdatewarning</string>
<string>14</string>

Logo path

A custom logo path. Alternatively, just replace the included company_logo.png.

<string>--logopath</string>
<string>/Some/Custom/Path/company_logo.png</string>

Header1 text

This is the first set of text above the Update Machine button.

<string>--h1text</string>
<string>Ready to start the update?</string>

Header2 text

This is the second set of text above the Update Machine button.

<string>--h2text</string>
<string>Click on the button below.</string>

Minimum OS Version

This is the minimum OS version a machine must be on to not receive this UI.

<string>--minimumosversion</string>
<string>10.13.6</string>

More info URL

This is the URL to open when the Manual Enrollment button is clicked.

<string>--moreinfourl</string>
<string>https://google.com</string>

No timer

Do not attempt to restore the nudge GUI to the front of a user's window.

<string>--notimer</string>

Paragraph 1 text

This is the text for the first paragraph.

<string>--paragraph1</string>
<string>A fully up-to-date device is required to ensure that IT can your accurately protect your computer.</string>

Paragraph 2 text

This is the text for the second paragraph.

<string>--paragraph2</string>
<string>If you do not update your computer, you may lose access to some items necessary for your day-to-day tasks.</string>

Paragraph 3 text

This is the text for the third paragraph.

<string>--paragraph3</string>
<string>To begin the update, simply click on the button below and follow the provided steps.</string>

Path to app

This is the path to the macOS installer application.

<string>--pathtoapp</string>
<string>/Applications/Install macOS High Sierra.app</string>

Sub-title text

This is the text right under the main title.

<string>--subtitletext</string>
<string>A friendly reminder from your local IT team</string>

Timer Day 1

The time, in seconds, to restore the nudge GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff is one day or less.

<string>--timerday1</string>
<string>600</string>

Timer Day 3

The time, in seconds, to restore the nudge GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff is three days or less.

<string>--timerday3</string>
<string>7200</string>

Timer Elapsed

The time, in seconds, to restore the nudge GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff has elapsed.

<string>--timerelapsed</string>
<string>10</string>

Timer Final

The time, in seconds, to restore the nudge GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff is one hour or less.

<string>--timerfinal</string>
<string>60</string>

Timer Initial

The time, in seconds, to restore the nudge GUI to the front of a user's window. This will occur indefinitely until the UI is closed or MDM is enrolled.

This is when the MDM cutoff is over three days.

<string>--timerinital</string>
<string>14400</string>

Title text

This is the main, bolded text at the very top.

<string>--titletext</string>
<string>MDM Enrollment</string>

Update screenshot path

A custom update screenshot path. Alternatively, just replace the included update_ss.png.

<string>--updatesspath</string>
<string>/Some/Custom/Path/update_ss.png</string>

Update text

This is the bolded portion of the UI towards the top.

<string>--updatetext</string>
<string>A security update is required on your machine.</string>

nudge's People

Contributors

erikng avatar homebysix avatar lazymutt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.