mirror of
https://github.com/trycua/computer.git
synced 2026-01-10 07:20:10 -06:00
Changed image override to only occur if image is not set
This commit is contained in:
@@ -88,10 +88,11 @@ class Computer:
|
||||
self.logger = Logger("computer", verbosity)
|
||||
self.logger.info("Initializing Computer...")
|
||||
|
||||
if os_type == "macos":
|
||||
image = "macos-sequoia-cua:latest"
|
||||
elif os_type == "linux":
|
||||
image = "trycua/cua-ubuntu:latest"
|
||||
if not image:
|
||||
if os_type == "macos":
|
||||
image = "macos-sequoia-cua:latest"
|
||||
elif os_type == "linux":
|
||||
image = "trycua/cua-ubuntu:latest"
|
||||
image = str(image)
|
||||
|
||||
# Store original parameters
|
||||
|
||||
Reference in New Issue
Block a user