Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

test: refresh Omarchy VM package metadata

quanruef1169b25628
diff --git a/tests/midscene/run-omarchy-midscene.sh b/tests/midscene/run-omarchy-midscene.sh
index 5f91fa5..2ae246b 100755
--- a/tests/midscene/run-omarchy-midscene.sh
+++ b/tests/midscene/run-omarchy-midscene.sh
@@ -142,7 +142,10 @@ echo "Installing the source checkout through its unified installer."
# The official ISO harness creates this disposable account with password
# "omarchy". Authorize sudo inside the same PTY that install.sh and
# omarchy-pkg-add use, matching a user who has just authenticated in a terminal.
-ssh_session_tty "printf '%s\\n' omarchy | sudo -S -v && '$PLUGIN_DIR/install.sh' --yes"
+# The compact prebuilt VM omits Pacman's sync databases, so refresh metadata in
+# this disposable guest before asking the unchanged installer to resolve packages.
+ssh_session_tty "printf '%s\\n' omarchy | sudo -S -v && \
+ sudo pacman -Sy --noconfirm && '$PLUGIN_DIR/install.sh' --yes"
ssh_guest "test -f /home/omarchy/.local/share/applications/doubao-say.desktop && \
grep -Fq '$PLUGIN_DIR/start.sh' /home/omarchy/.local/share/applications/doubao-say.desktop"