Skip to content

Commit adf732c

Browse files
committed
feat(bootstrapper): disable winedbg dialog; partially fixes #638
1 parent d61646d commit adf732c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/vinegar/bootstrapper_setup_pfx.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ func (b *bootstrapper) setupPrefix() error {
2525
return err
2626
}
2727

28+
if err := b.pfx.RegistryAdd(`HKCU\Software\Wine\WineDbg`, "ShowCrashDialog", uint(0)); err != nil {
29+
return fmt.Errorf("winedbg set: %w", err)
30+
}
31+
2832
// Latest versions of studio require a implemented call, check if the given
2933
// prefix supports it
3034
if b.cfg.Studio.ForcedVersion != "" {

0 commit comments

Comments
 (0)