Skip to content

Commit c552528

Browse files
committed
ruff again
1 parent 6f05c9a commit c552528

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

installation_and_upgrade/ibex_install_utils/tasks/system_tasks.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,17 @@ def check_java_installation(self) -> None:
135135
installer, _ = Java().find_latest()
136136

137137
if os.path.exists(installer):
138-
print(f"Running installer at ({installer})...")
138+
print(f"Running installer at {installer}")
139+
print(
140+
"running"
141+
f"msiexec /i {installer} "
142+
"ADDLOCAL=FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome "
143+
'INSTALLDIR="c:\\Program Files\\Eclipse Adoptium\\" /quiet'
144+
)
139145
subprocess.call(
140-
f'msiexec /i {installer} ADDLOCAL=FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome INSTALLDIR="c:\\Program Files\\Eclipse Adoptium\\" /quiet'
146+
f"msiexec /i {installer} "
147+
"ADDLOCAL=FeatureMain,FeatureEnvironment,FeatureJarFileRunWith,FeatureJavaHome "
148+
'INSTALLDIR="c:\\Program Files\\Eclipse Adoptium\\" /quiet'
141149
)
142150
self.prompt.prompt_and_raise_if_not_yes(
143151
"Make sure java installed correctly.\r\n"

0 commit comments

Comments
 (0)