mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-09-22 19:15:05 +03:00
Windows installer
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
VM_NAME="${FROMCHAT_WINDOWS_VM:-Windows 11}"
|
||||
SCOPE="${1:-all}"
|
||||
|
||||
if ! command -v prlctl >/dev/null 2>&1; then
|
||||
echo "prlctl not found — run sync-windows-vm.cmd inside the VM instead" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
prlctl exec "$VM_NAME" cmd /c "C:\\FromChat\\app\\scripts\\sync-windows-vm.cmd ${SCOPE}"
|
||||
Reference in New Issue
Block a user