Profiles that keep open apps on Windows guests

Open
#42 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
bash, electron, powershell, react, typescript
Domain
desktop, devops

Research direction

Start with the existing one-time setup script, which is bash for Debian-based Linux, and the setup popup that shows it for every guest. Add a PowerShell variant for Windows guests and choose between the two from the VM's guest OS setting. Run npm run dev:web to see the popup with the fake backend, then npm test and npm run typecheck. Done means a Windows guest gets the PowerShell script and can be suspended and resumed, which needs a Windows 10/11 guest to test.

Written by the indexing model from the issue text.

Description

enhancement help wanted

Running profiles hibernate the guest through qemu-guest-agent (guest-suspend-disk), and the one-time setup script is bash for Debian-based Linux only. Windows guests get the Linux setup popup and can't take a running profile.

What's needed:

  • a PowerShell setup script served the same way: install the QEMU guest agent from the virtio-win ISO, turn hibernation on (powercfg /hibernate on), make sure hiberfil.sys can fit RAM
  • pick the Windows or Linux script from the VM's guest OS setting
  • check guest-suspend-disk really powers a Windows 10/11 guest off under WHPX and resumes on next boot

Someone with a Windows guest to test on would help a lot here.

Getting set up

  1. Fork and clone, then npm install and npx install-electron --no (full steps in CONTRIBUTING.md)
  2. npm run dev:web shows the UI in a browser with a fake backend, no QEMU needed. npm run dev runs the real app
  3. Before the PR: npm run typecheck and npm test

Comment here if you want to take it, so nobody doubles up. Ask anything in this issue and I will answer here, usually within a few days.

Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
2m
Merged PRs (30d)
59

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from A21-devs/Virtual-Machine-Manager

All issues in A21-devs/Virtual-Machine-Manager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.