Skip to content

Fail to launch .bat file #387

Description

@codeon89

Atlas version

0.9.9-nightly.487

How did you install it?

Nightly prerelease

Operating system

Windows 11

What happened

Atlas didn't seem to launch bat file successfully.
Emulator can be workaround but not straight forward, and usually meant for emulators.
We should support launching .bat file since it exists in supported extension code.

Current:

else if (['exe', 'bat', 'cmd'].includes(extension)) {
    await spawnTrackedGame(execPath, [], {
      recordId,
      version,
      cwd: path.dirname(execPath),
      shell: extension === 'bat' || extension === 'cmd',
    })

Steps to reproduce

  1. Open Atlas
  2. Download and install Sara Game.
  3. Try to launch the game (auto set up as .bat)
  4. Nothing happens.

Does it happen every time?

Every time

Logs

Before submitting

  • I searched existing issues and this isn't a duplicate
  • I'm on the latest nightly or stable build, or have said above why not

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions