Skip to content

Investigate better ways to run the updater script as sudo on macOS if neededΒ #253

@Deadpikle

Description

@Deadpikle

Running things as sudo is just a mess if you don't have a terminal πŸ˜… We can use osascript to run a shell script with admin privileges, but it's kind of clunky, as the sudo prompt says osascript rather than your bundle or app name, which might be suspicious to users. See the macOS Avalonia sample for this here: https://github.com/NetSparkleUpdater/NetSparkle/tree/develop/src/NetSparkle.Samples.Avalonia.MacOS.

I really want to avoid forcing the end user to ship more (native/other) binaries with their application or force users to have a .app for their application (which I think is what Sparkle assumes?), but in order to get all the features we want and actually make things work well, we may not be able to avoid it...

Some links to think about:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions