Skip to content

Commit a915272

Browse files
committed
ubuntu needs libsecret?
1 parent fb3646c commit a915272

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/gha/install_prereqs_desktop.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ def main():
4545
# brew install protobuf
4646
utils.run_command(['brew', 'install', 'protobuf'])
4747

48+
if not utils.is_command_installed('libsecret-1'):
49+
if utils.is_linux_os():
50+
# sudo apt install protobuf-compiler
51+
utils.run_command(['apt', 'install', '-y','libsecret-1-dev'], as_root=True)
52+
elif utils.is_mac_os():
53+
# brew install protobuf
54+
utils.run_command(['brew', 'install', 'libsecret'])
55+
4856
# Install go on linux/mac if its not installed already
4957
if not utils.is_command_installed('go'):
5058
if utils.is_linux_os():

0 commit comments

Comments
 (0)