Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
e56aff4b
Commit
e56aff4b
authored
Dec 23, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack net.downloadhelper.coapp: add json for browsers
parent
033b248d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
net.downloadhelper.coapp.sh
repack.d/net.downloadhelper.coapp.sh
+30
-0
No files found.
repack.d/net.downloadhelper.coapp.sh
View file @
e56aff4b
...
@@ -22,6 +22,36 @@ if [ ! -f ./opt/net.downloadhelper.coapp/bin/xdg-open ] ; then
...
@@ -22,6 +22,36 @@ if [ ! -f ./opt/net.downloadhelper.coapp/bin/xdg-open ] ; then
rm
-v
.
$PRODUCTDIR
/xdg-open
rm
-v
.
$PRODUCTDIR
/xdg-open
ln
-s
/usr/bin/xdg-open .
$PRODUCTDIR
/xdg-open
ln
-s
/usr/bin/xdg-open .
$PRODUCTDIR
/xdg-open
cat
<<
EOF
> net.downloadhelper.coapp.json
{
"type": "stdio",
"allowed_extensions": [
"weh-native-test@downloadhelper.net",
"{b9db16a4-6edc-47ec-a1f4-b86292ed211d}"
],
"name": "net.downloadhelper.coapp",
"description": "Video DownloadHelper companion app",
"path": "/var/tmp/vdhcoapp-2.0.10-linux-x86_64/opt/vdhcoapp/vdhcoapp"
}
EOF
install_file net.downloadhelper.coapp.json /usr/lib64/mozilla/native-messaging-hosts/net.downloadhelper.coapp.json
cat
<<
EOF
> net.downloadhelper.coapp.json
{
"type": "stdio",
"allowed_origins": [
"chrome-extension://lmjnegcaeklhafolokijcfjliaokphfk/",
"chrome-extension://pfoiagbblcbmognbkekfpodpidedkmcc/",
"chrome-extension://jmkaglaafmhbcpleggkmaliipiilhldn/",
"chrome-extension://fojefjolbhfidomcaelhceoldmmpcaga/"
],
"name": "net.downloadhelper.coapp",
"description": "Video DownloadHelper companion app",
"path": "/var/tmp/vdhcoapp-2.0.10-linux-x86_64/opt/vdhcoapp/vdhcoapp"
}
EOF
install_file net.downloadhelper.coapp.json /etc/chromium/native-messaging-hosts/net.downloadhelper.coapp.json
exit
exit
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment