Jump to content


Photo

Appdirectory.js Bug

node.js node-steam-user

  • Please log in to reply
1 reply to this topic

#1 cookie

cookie

    Advanced Member

  • Member
  • PipPipPip
  • 62 posts

Posted 17 March 2016 - 06:34 AM

If you try to execute the bot using a user that doesn't have a home directory the application will crash on

dataPath = path.join(process.env.HOME, ".local", "share", "{0}")

perhaps check if process.env.HOME exists, otherwise set a fixed path?



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,992 posts

Posted 17 March 2016 - 08:59 PM

https://github.com/M...irectory/issues







Also tagged with one or more of these keywords: node.js, node-steam-user

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users