Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Shipping Node 18 with the release bundle #93

Open
ninh-nd opened this issue Oct 8, 2023 · 3 comments
Open

[Suggestion] Shipping Node 18 with the release bundle #93

ninh-nd opened this issue Oct 8, 2023 · 3 comments

Comments

@ninh-nd
Copy link

ninh-nd commented Oct 8, 2023

To avoid the issues people may encounter because up setting up Node by themselves incorrectly, why don't we just attach the Node binary together with the release bundle?

@pierre-josselin
Copy link
Owner

Indeed it's a good idea, thank you for your suggestion. I will create a Google Drive folder for this.

@macr1408
Copy link

I didn't want to install node on my windows machine, and the app won't work on linux, so here are the steps to run it without installing node:

  • Download portable node from here https://github.com/crazy-max/nodejs-portable/releases/download/2.10.0/nodejs-portable.exe
  • Run the app, press 1 to install node, when it asks for a version input the latest one from here https://nodejs.org/download/release/latest-v18.x/ in my case it is 18.18.2
  • Close the app
  • Download or clone this git repo https://github.com/pierre-josselin/payday-2-ultimate-trainer-6/archive/refs/heads/main.zip and unzip it under the directory work
  • Open the node portable app again, select 2 (option shell) and confirm selection
  • Input cd payday-2-ultimate-trainer-6-main (it might fail if you're in the directory already or if it has a different name)
  • Input node index.js install
  • Go to Payday 2 mods dir (C:\Program Files (x86)\Steam\steamapps\common\PAYDAY 2\mods), create a new directory with any name you want, for example ultimate-trainer-6, inside this directory put the file mod.txt and the directory payday-2-ultimate-trainer-6-mod which you downloaded from the previous step. Final result is ...\PAYDAY 2\mods\ultimate-trainer-6\mods.txt and ...\PAYDAY 2\mods\ultimate-trainer-6\payday-2-ultimate-trainer-6-mod\...
  • Input node index.js run
  • Open game and it should work

You might see an error of node not found while in game but it still will work, just ignore it

@pierre-josselin
Copy link
Owner

@macr1408 thanks for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants