sveinbjornt / Platypus

Create native Mac applications from command line scripts.
https://sveinbjorn.org/platypus
BSD 3-Clause "New" or "Revised" License
2.84k stars 171 forks source link

How to preserve Webview settings - e.g. cookies #255

Closed liveinaus closed 11 months ago

liveinaus commented 1 year ago

Hello,

Thanks for making this great app. I have been using it for years. 👍

Recently, I wanted to wrap webpages into Mac OS apps. I am glad this is possible via Platypus

So What I did was:

  1. prints "LOCATION:http://some.url.com/n"
  2. Choose the Webview interface

Issue 1: Page 1 got a render correctly, but the settings reset whenever I reopened it. (e.g. missing conversation history) Issue 2: Page 2 is a noVNC webpage (built by myself) that works fine in standard browsers (Chrome, Safari and Firefox). But it failed to connect when rendering in the Webview. It might not be supported in the Webview. Any ideas?

==================================== UPDATE: For anyone who encounters the same issues I ended up using nativefier (https://github.com/nativefier/nativefier) to solve my issue 1 & 2

I am happy if someone wants to mark this ticket resolved ✅, as I have found an alternative way.

Many thanks to Platypus developers for such a great app. ❤️