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
Vladislav
eepm
Commits
97c67f45
Commit
97c67f45
authored
1 year ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: add net.downloadhelper.coapp.noffmpeg
parent
d994e994
master
3.60.13
3.60.12
3.60.11
3.60.10
3.60.9
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
net.downloadhelper.coapp.noffmpeg.sh
repack.d/net.downloadhelper.coapp.noffmpeg.sh
+43
-0
No files found.
repack.d/net.downloadhelper.coapp.noffmpeg.sh
0 → 100755
View file @
97c67f45
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTDIR
=
/opt/vdhcoapp
.
$(
dirname
$0
)
/common.sh
# use xdg-open from the system
rm
-v
.
$PRODUCTDIR
/xdg-open
ln
-s
/usr/bin/xdg-open .
$PRODUCTDIR
/xdg-open
add_unirequires /usr/bin/xdg-open
add_unirequires /usr/bin/ffmpeg /usr/bin/ffplay /usr/bin/ffprobe
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": "
$PRODUCTDIR
/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": "
$PRODUCTDIR
/vdhcoapp"
}
EOF
install_file net.downloadhelper.coapp.json /etc/chromium/native-messaging-hosts/net.downloadhelper.coapp.json
This diff is collapsed.
Click to expand it.
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