disable the vault-editor stuff because it is currently broken.

This commit is contained in:
Simon Ungar Felding 2024-12-12 12:49:00 +01:00
parent 18040d4b41
commit 037bc21902

View File

@ -54,17 +54,18 @@ else
socat TCP-LISTEN:2025,fork TCP:127.0.0.1:1025 & socat TCP-LISTEN:2025,fork TCP:127.0.0.1:1025 &
socat TCP-LISTEN:2143,fork TCP:127.0.0.1:1143 & socat TCP-LISTEN:2143,fork TCP:127.0.0.1:1143 &
# check if the vault-editor can read the config # Broken until https://github.com/ProtonMail/proton-bridge/issues/512 is resolved.
/protonmail/vault-editor read 2>&1 1>/dev/null # # check if the vault-editor can read the config
# Modify the protonmail config with env variables and expected values # /protonmail/vault-editor read 2>&1 1>/dev/null
/protonmail/vault-editor read | \ # # Modify the protonmail config with env variables and expected values
jq '.Settings.AutoUpdate = env.PROTONMAIL_AutoUpdate # /protonmail/vault-editor read | \
| .Settings.TelemetryDisabled = env.PROTONMAIL_TelemetryDisabled # jq '.Settings.AutoUpdate = env.PROTONMAIL_AutoUpdate
| .Settings.GluonDir |= "\(env.HOME)/.local/share/protonmail/bridge-v3/gluon" # | .Settings.TelemetryDisabled = env.PROTONMAIL_TelemetryDisabled
| .Settings.Autostart = false # | .Settings.GluonDir |= "\(env.HOME)/.local/share/protonmail/bridge-v3/gluon"
| .Settings.SMTPPort = 1025 # | .Settings.Autostart = false
| .Settings.IMAPPort = 1143 ' \ # | .Settings.SMTPPort = 1025
| /protonmail/vault-editor write # | .Settings.IMAPPort = 1143 ' \
# | /protonmail/vault-editor write
# Start protonmail # Start protonmail
/protonmail/proton-bridge --noninteractive $@ /protonmail/proton-bridge --noninteractive $@