SteamGridDB/steamgriddb-manager

Incorrect path to Steam

ShackledTime opened this issue · 1 comments

Program attempts to find Steam directory in incorrect location, is there any way to change the path the program chooses to fix this issue?

This shortened snippet is basically how it gets the Steam path. Whats is in your registry? What is in your opinion the wrong/correct path?

static getSteamPath() {
        hive: Registry.HKCU, key: '\\Software\\Valve\\Steam',

      key.values((err, items) => {
        let steamPath = false;

        items.forEach((item) => {
          if (item.name === 'SteamPath') {
            steamPath = item.value;
          }
        });

        if (steamPath) {
          this.steamPath = steamPath;
          log.info(`Got Steam path: ${steamPath}`);
          return resolve(steamPath);
        }