Skip to content

Running "Run Installer First" overrides existing WinePrefix folder to "..." #5551

@LurkAndLoiter

Description

@LurkAndLoiter

Describe the bug

Running any exe via the run installer first in an existing game's edit app/game menu over writes the already existing WinePrefix folder location to be "...".

Add logs

(15:49:11) [INFO]:    [Backend]:         System Information: CPU: 12x AMD Ryzen 5 5600 6-Core Processor

Memory: 33.56 GB (used: 5.78 GB)

GPUs:

  GPU 0:

    Name: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate]

    IDs: D=2489 V=10de SD=4663 SV=3842

    Driver: nvidia

OS: Arch Linux 7.0.3-arch1-1 (linux)

The current system is not a Steam Deck

We are not running inside a Flatpak container

We are not running from an AppImage

Software Versions:

  Heroic: 2.21.0 Loki

  Legendary: 0.20.43 Riding Shotgun (Heroic)

  gogdl: 1.2.1

  comet: comet 0.2.0

  Nile: 1.1.2 Will A. Zeppeli

(15:49:11) [INFO]:    [Connection]:      Connectivity: check-online

(15:49:11) [INFO]:    [Connection]:      Pinging external endpoints

(15:49:11) [INFO]:    [Gog]:             Checking for existing gog manifests

.... Truncated

(15:49:38) [INFO]:    Game: Setting winePrefix to "/mnt/tera/Games/Heroic/Prefixes/Game"

(15:49:50) [INFO]:    [Backend]:         Writing config for Game

(15:49:50) [INFO]:    [Backend]:         Changed config: wineVersion from {

  "bin": "/home/NoOne/.config/heroic/tools/proton/Proton-GE-latest/proton",

  "name": "Proton-GE-latest",

  "type": "proton"

} to 

(15:49:50) [INFO]:    [Backend]:         Changed config: winePrefix from /mnt/tera/Games/Heroic/Prefixes/Game to ...

(15:49:50) [INFO]:    [Backend]:         Checking if wine version exists: Proton-GE-latest

(15:49:50) [DEBUG]:   [Backend]:         Running Wine command: /mnt/tera/Games/Heroic/Game/Hello.exe

(15:49:57) [INFO]:    [Frontend]:        Refreshing sideload Library

(15:49:57) [WARNING]: refresh not implemented on Sideload Library Manager

(15:49:57) [WARNING]: getExtraInfo not implemented on Sideload Game Manager. called for appName = Game

(15:50:24) [INFO]:    Game: Setting winePrefix to "/mnt/tera/Games/Heroic/Prefixes/Game"

Steps to reproduce

  1. Go to any games page
  2. Click on vertical '...'
  3. Click on 'Edit App/Game'
  4. Click on 'Run Installer First'
  5. Run anything even a simple HelloWorld.exe works
  6. Click 'Finished'
  7. See WinePrefix has been updated to '...' and a new folder '...' has been created in the executor directory typically $HOME

Expected behavior

WinePrefix shouldn't be updated.

Screenshots

No response

Heroic Version

Latest Stable

System Information

Arch Linux x86_64
Linux 7.0.3-arch1-1
Hyprland 0.54.3
nvidia (open source) 595.71.05
Heroic 2.21.0-1

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:unconfirmedSomeone works on identifying the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions