nodejs-portable

command module
v0.0.0-...-c80f5a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2021 License: MIT Imports: 17 Imported by: 0

README

For more portable applications, checkout Portapps !

GitHub release Total downloads Build Status Go Report
Become a sponsor Donate Paypal

Read this in other languages: English, 简体中文.

⚠ Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

Thanks to everyone for their valuable feedback and contributions.

About

A single EXE written in Go to make Node.js portable on Windows systems.
Tested on Windows 7, Windows 8.1 and Windows 10.

Main window of Node.js Portable

Configuration file nodejs-portable.conf is generated at first launch:

Installation

  • Download the latest release.
  • Put nodejs-portable.exe in a new empty folder.

Getting started

Run nodejs-portable.exe, then choose task:

  • 1 to install node.js by entering version and architecture.
  • 2 to launch Node.js shell.

If you have already installed Node.js, create a folder named app and put your node.js environment inside, then launch nodejs-portable.exe. (See #35)

Config file nodejs-portable.conf

  • workPath : Shell working dir (can be relative to nodejs-portable.exe).
  • customPaths : Array of custom paths that will be placed in the PATH environment variable (paths can be relative to nodejs-portable.exe).
  • immediateMode: Set this to true if you want to use node shell immediately.
  • shell: Shell to be used. Can be cmd (default) or powershell.

If an exception happened, take a look into nodejs-portable.log for further information.

Command line

Node.js Portable can be used through the command line to inject arguments directly to node:

$ nodejs-portable.exe --version
v9.5.0

Take a look into nodejs-portable.log if you have any issue.

Building

  • Install Go 1.12+
  • Add Go to your PATH (ex. C:\Go\bin)
  • Install latest version of Mage
  • Add Mage to your PATH
  • Clone this repository
  • Run mage build inside. The artifact will be available in bin

Contributing

Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues.

You can also support this project by becoming a sponsor on GitHub or by making a Paypal donation to ensure this journey continues indefinitely!

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.
USB icon credit to Dakirby309.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
fs
log
menu
Package menu fork of https://github.com/turret-io/go-menu
Package menu fork of https://github.com/turret-io/go-menu

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL