Giter Club home page Giter Club logo

swiftdialog-scripts's Introduction

swiftDialog-scripts

This repo contains a selection of short scripts that utilise swiftDialog for various tasks as a means of demonstrating a particular feature.

Most of these will be of demo quality and are not intended to be used directly in a production setting. By all means though, feel free to use and expand on the ideas presented here.

What is swiftDialog?

swiftDialog is an open source admin utility app for macOS 11+ written in SwiftUI that displays a popup dialog, displaying the content to your users that you want to display.

swiftDialog's purpose is as a tool for Mac Admins to show informative messages via scripts, and relay back the users actions.

The latest version can be found on the Releases page

Detailed documentation and information can be found in the Wiki

swiftDialog

swiftdialog-scripts's People

Contributors

acodega avatar bartreardon avatar dan-snelson avatar theile avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swiftdialog-scripts's Issues

update.sh with Sonoma icon

First off, thank you so much for this script. I've modified it for my organization and it works amazing.

This is more of a question than a bug. How are you able to figure out the icon URL for the macOS releases? Looking to add the Sonoma icon to this part of the code:

declare -A macosIcon=(
    [13]="https://is1-ssl.mzstatic.com/image/thumb/Purple126/v4/01/11/29/01112962-0b21-4351-3e51-28dc1d7fe0a7/ProductPageIcon.png/460x0w.webp"
    [12]="https://is1-ssl.mzstatic.com/image/thumb/Purple116/v4/fc/5f/46/fc5f4610-1647-e0bb-197d-a5a447ec3965/ProductPageIcon.png/460x0w.webp"
    [11]="https://is1-ssl.mzstatic.com/image/thumb/Purple116/v4/48/4b/eb/484beb20-2c97-1f72-cc11-081b82b1f920/ProductPageIcon.png/460x0w.webp"
    )
    iconURL=${macosIcon[$majorversion]}

Hangs when "Jamf policy" or "Jamf recon" are the target policies

I have this setup to call secondary policies via custom trigger. Those policies run "Jamf policy" or "Jamf recon" as execute commands. The dialog progress bar moves but the text disappears after the first log entry, then both the dialog and Self Service hang.

It's like the script loses track of the active PID?

These are the two major pain points where user feedback would be super helpful. I have not tested with a standard installation as we generally don't use Self Service installs. This was tested on Ventura 13.2 with the latest swiftDialog 2.1 RC 3

Feature Request: Select File

I just discovered swiftDialog and I am honestly as thrilled as the proverbial kid in candy store!! Thank you for this awesome app!
I was wondering if you might consider adding a Select File button feature? (similar to AppleScript's "choose file") Thank you.

jss-progress.sh Can Hang Indefinitely if No Policy with Trigger Available

Due to some latency with Jamf, I found that there is a potential situation where a properly scoped Self Service policy with the jss-progress.sh script could hang indefinitely if the policy it calls is no longer in scope. This results in the progress bar window being stuck on screen with no obvious way for the end user to force quit it.

Reproducibility: Anytime the jss-progress.sh policy has a trigger for a policy that does not include the machine the jss-progress.sh policy is being run on.

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.