Skip to content

Can a close method be enabled on a WebView-based app? #297

Description

@drthree

I'm using some Platypus apps to run HTML5 UI fragments on behalf of a background application.
When the UI code has done its job I'd like to be able to have it close the app, but this is akin to trying to close a browser from a web page and that doesn't work.
Although I can close the window showing the gui, the WebView app itself continues to run, leading to multiple orphaned apps doing nothing. At present I have to mandate manual closing of the WebView using the "Quit" button. This is a pain and somewhat absurd if I've just hit the GUI's "OK' or "Submit" or whatever is the last step in the UI.

I have no idea whether exposing such an interface is straightforward. One might provide the close ability together with other handy features (like setting the WebView's window position, or its size to match its content, hiding/showing the Quit button, &c &c).

Does this idea gain any traction?

and thanks for a very useful tool.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions