Compare commits
No commits in common. "master" and "v111" have entirely different histories.
@ -1,13 +1,13 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
steps:
|
||||
- name: compile-extensions
|
||||
image: roypur/extension-packer:latest
|
||||
- name: compile-chrome
|
||||
image: roypur/chrome-packer:latest
|
||||
environment:
|
||||
CHROME_PRIVKEY:
|
||||
from_secret: chrome_privkey
|
||||
commands:
|
||||
- ./pack-browsers.sh
|
||||
- ./pack-chrome.sh
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
@ -15,6 +15,6 @@ steps:
|
||||
from_secret: gitea_token
|
||||
base_url: https://git.purser.it
|
||||
title: ${DRONE_TAG}
|
||||
files: out/proxy-stream-${DRONE_TAG}.crx out/proxy-stream-${DRONE_TAG}.xpi
|
||||
files: out/proxy-stream-${DRONE_TAG}.crx
|
||||
when:
|
||||
event: tag
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,5 +11,4 @@ android/.gradle/*
|
||||
android/gradle/*
|
||||
chrome/*.png
|
||||
*.crx
|
||||
*.xpi
|
||||
sources.json
|
||||
|
@ -97,7 +97,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
}
|
||||
|
||||
if(playlistid) {
|
||||
req.params.playlistid = playlistid
|
||||
req.params.playlistid = 1
|
||||
}
|
||||
|
||||
const resp = await fetch("http://127.0.0.1:4000/jsonrpc", {
|
||||
|
@ -50,8 +50,6 @@ fi
|
||||
release_folder="${temp_dir}/out/proxy-stream-${DRONE_TAG}"
|
||||
cp -r "${dir}/chrome" "${release_folder}"
|
||||
|
||||
(cd "${release_folder}" && zip -r "${temp_dir}/out/proxy-stream-${DRONE_TAG}.xpi" .)
|
||||
|
||||
if grep "/proc/1/cgroup" -q -F -e docker
|
||||
then
|
||||
${browser} --disable-gpu --no-sandbox --user-data-dir=${chrome_dir} --pack-extension="${temp_dir}/out/proxy-stream-${DRONE_TAG}" --pack-extension-key="${temp_dir}/privkey.pem"
|
Loading…
Reference in New Issue
Block a user