Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview support via Sailfish.WebView #8

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ Label {
}
```

## Permissions

Some permissions are required for WebView-based preview support in this module to work in Sailjail. This only affects apps intended for the Harbour store that show local video files.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"that show local video files" copy-paste oops ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, missed that!


Add this to your `harbour-my-app.desktop` file:

```{ini}
[X-Sailjail]
Permissions=Internet;WebView
```

See [here](https://github.com/sailfishos/sailjail-permissions#permissions) for a list of all Sailjail permissions.

## Screenshots

| 1. | 2. |
Expand Down