removed MacOS from supported OSes and added gpg linux exe

This commit is contained in:
2022-09-14 18:15:38 -04:00
parent 0023557177
commit 8938c0378a

View File

@@ -348,8 +348,9 @@ if __name__ == "__main__":
gpg_executable = os.path.join(script_directory, "lib", "gpg", "bin", "gpg.exe") gpg_executable = os.path.join(script_directory, "lib", "gpg", "bin", "gpg.exe")
elif os_detected == "Linux": elif os_detected == "Linux":
bitwarden_cli_executable = os.path.join(script_directory, "lib", "Bitwarden CLI", "bw_linux") bitwarden_cli_executable = os.path.join(script_directory, "lib", "Bitwarden CLI", "bw_linux")
elif os_detected == "macOS": gpg_executable = "gpg"
bitwarden_cli_executable = os.path.join(script_directory, "lib", "Bitwarden CLI", "bw_macOS") #elif os_detected == "macOS":
# bitwarden_cli_executable = os.path.join(script_directory, "lib", "Bitwarden CLI", "bw_macOS")
else: else:
print("Your OS is not supported. Only Windows, Linux, and macOS are supported. Those are the only three supported OSes for the Bitwarden CLI.") print("Your OS is not supported. Only Windows, Linux, and macOS are supported. Those are the only three supported OSes for the Bitwarden CLI.")
print("Detected OS: {0}".format(os_detected)) print("Detected OS: {0}".format(os_detected))