Whisky-App / Whisky

A modern Wine wrapper for macOS built with SwiftUI
https://getwhisky.app
GNU General Public License v3.0
12.35k stars 261 forks source link

[Bug]: Running .bat files does nothing #481

Closed logiota closed 1 year ago

logiota commented 1 year ago

Description

running a .bat does nothing when I launch Whisky from the terminal I get the error: Failed to run external program: Wine Crashed! (49)

Steps to reproduce

use any method to open a .bat file

Expected behaviour

run it through Wine cmd

Logs

Whisky Version: 2.0.1
Date: 2023-10-05, 21:02:38
macOS Version: Version 14.0 (Build 23A344)
Bottle Name: w10
Wine Version: 7.7.0
Windows Version: winXP
Bottle URL: /Users/xxx/Library/Containers/com.isaacmarovitz.Whisky/Bottles/F719E376-AE38-4BEF-9BD5-A2A520D639EB

Arguments: cmd /c /Users/xxx/Library/Containers/com.isaacmarovitz.Whisky/Bottles/F719E376-AE38-4BEF-9BD5-A2A520D639EB/drive_c/Program Files/Steam/steamapps/common/Valheim dedicated server/start_headless_serverb.bat 

Launched Wine (74428)
0068:err:module:open_builtin_so_file failed to load .so lib "/Users/xxx/Library/Application Support/com.isaacmarovitz.Whisky/Libraries/Wine/lib/wine/x86_64-unix/wineusb.sys.so"
0068:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
"Starting server PRESS CTRL-C to exit"
Can't recognize 'valheim_server -nographics -batchmode -name "My server" -port 2456 -world "Dedicated" -password "secret" -crossplay' as an internal or external command, or batch script.
Process exited with code 49

What version of Whisky are you using?

2.0.1

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

IsaacMarovitz commented 1 year ago

.bat file is running here, but it's not formatted correctly it seems