mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
* adding TUI for starting up windows VM * updating to use docker-compose * adding possibility to set windows product-key * ram and cpu settings * first time run notes * add two needed pacman packages * key and package install * Revert "add two needed pacman packages" This reverts commit 04dc96cee0d3e37103b9866d9140ba47133db7ad. * add install and remove scripts * install icon * rename scripts and menu to Windows VM * rename also launch script to windows vm * update nameing * remove quotes * fix paramter and quiting after installation * fix launch script * update * certificate acceptance and remove of desktop app * move desktop app * rename app from "Windows VM" to "Windows" * add example of sharing local share with Windows * merge 'dev' into windows-docker-vm * exchange rdesktop with freerdc * accept certificates automatically so user don't fail first try * remove certi during normal launch (handled in install process) * remove volumes and orphans to have clean state (avoids hang on login) * /cert option still needed * Simplify package installs * Fix icon + desktop to prevent creation on initial install * omarchy-windows-vm in working form * Don't need this anymore * Fix commands * Always use uwsm-app * We are generating it instead * Make omarchy-pkg-add quiet when the packages are already there * Improve the questionnaire * Show where you change resource usage * Add default Windows share --------- Co-authored-by: sspaeti <simon@ssp.sh> Co-authored-by: David Heinemeier Hansson <david@hey.com>
16 lines
351 B
Bash
Executable File
16 lines
351 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if omarchy-pkg-missing "$@"; then
|
|
sudo pacman -S --noconfirm --needed "$@" || exit 1
|
|
fi
|
|
|
|
for pkg in "$@"; do
|
|
# Secondary check to handle states where pacman doesn't actually register an error
|
|
if ! pacman -Q "$pkg" &>/dev/null; then
|
|
echo -e "\033[31mError: Package '$pkg' did not install\033[0m" >&2
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
exit 0
|