diff options
author | 2022-06-22 21:40:14 -0400 | |
---|---|---|
committer | 2022-06-23 01:40:14 +0000 | |
commit | e118745fc2714047d0844061ed963c47edef3bc1 (patch) | |
tree | 09b8480e99fca3c84ff00dbc8660fcf7a8720a18 /recipes/protondrive/webview.js | |
parent | Add fixes for Nextcloud-related webapps (#66) (diff) | |
download | ferdium-recipes-e118745fc2714047d0844061ed963c47edef3bc1.tar.gz ferdium-recipes-e118745fc2714047d0844061ed963c47edef3bc1.tar.zst ferdium-recipes-e118745fc2714047d0844061ed963c47edef3bc1.zip |
New recipe 'protondrive' added (#61)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes/protondrive/webview.js')
-rwxr-xr-x | recipes/protondrive/webview.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/protondrive/webview.js b/recipes/protondrive/webview.js new file mode 100755 index 0000000..aba811f --- /dev/null +++ b/recipes/protondrive/webview.js | |||
@@ -0,0 +1,8 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = (Ferdium) => { | ||
6 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
7 | Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); | ||
8 | }; | ||