Whisky-App / Whisky

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

[Bug]: Winetricks command fails due to empty %AppData% #1011

Open yavda1 opened 1 month ago

yavda1 commented 1 month ago

Description

I'm trying to enable d3dcompiler_47 via winetricks however, I'm unable to install it.

Steps to reproduce

Winetricks > DLLS > d3dcompiler_47

Expected behaviour

I was expecting it to normally download.

Logs

xxx@xxxs-iMac ~ % PATH="/Users/xxx/Library/Application Support/com.isaacmarovitz.Whisky/Libraries/Wine/bin:/Applications/Whisky.app/Contents/Resources/:$PATH" WINE=wine64 WINEPREFIX="/Users/xxx/Library/Containers/com.isaacmarovitz.Whisky/Bottles/E7CBB97F-6AF4-4888-A0A9-A0629A6A6DF9" "/Users/xxx/Library/Application Support/com.isaacmarovitz.Whisky/Libraries/winetricks" d3dcompiler_47
warning: taskset/cpuset not available on your platform!
------------------------------------------------------
warning: Your version of wine 7.7 is no longer supported upstream. You should upgrade to 8.x
------------------------------------------------------
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
warning: You apppear to be using Wine's new wow64 mode. Note that this is EXPERIMENTAL and not yet fully supported. If reporting an issue, be sure to mention this.
------------------------------------------------------
------------------------------------------------------
WINEPREFIX INFO:
Drive C: .
..
.DS_Store
Program Files
Program Files (x86)
ProgramData
users
windows

Registry info:
/Users/xxx/Library/Containers/com.isaacmarovitz.Whisky/Bottles/E7CBB97F-6AF4-4888-A0A9-A0629A6A6DF9/system.reg:#arch=win64
/Users/xxx/Library/Containers/com.isaacmarovitz.Whisky/Bottles/E7CBB97F-6AF4-4888-A0A9-A0629A6A6DF9/user.reg:#arch=win64
/Users/xxx/Library/Containers/com.isaacmarovitz.Whisky/Bottles/E7CBB97F-6AF4-4888-A0A9-A0629A6A6DF9/userdef.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
warning: wine64 cmd.exe /c echo '%AppData%' returned empty string, error message "" 
------------------------------------------------------

What version of Whisky are you using?

2.3.2

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

IsaacMarovitz commented 1 month ago

This can happen if certain processes like Steam are already running your bottle. Please click File > Kill All Bottles in Whisky and reattempt the installation.