mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-26 16:25:31 -04:00
throw error if inv_sig_helper and invidious_companion used same time
This commit is contained in:
parent
cf899e898e
commit
c05c9d82ba
1 changed files with 6 additions and 0 deletions
|
@ -161,6 +161,12 @@ Invidious::Database.check_integrity(CONFIG)
|
||||||
{% puts "\nDone checking player dependencies, now compiling Invidious...\n" %}
|
{% puts "\nDone checking player dependencies, now compiling Invidious...\n" %}
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
||||||
|
# invidious_companion and signature_server can't work together
|
||||||
|
if CONFIG.signature_server && CONFIG.invidious_companion
|
||||||
|
puts "You can not run inv_sig_helper and invidious_companion at the same time."
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
|
|
||||||
DECRYPT_FUNCTION =
|
DECRYPT_FUNCTION =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue