Skip to content

ErAz7/Servicifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Servicifier version-shield

Script to install any file as a service with a single click

You can download latest release from here

Platforms

windows macos linux
Windows 10 ✔ Not Yet ❌ Not Yet ❌

Setup & Usage

To setup Servicifier, you only need to:

  • Downlaod the release and extract it or build it yourself using the source code
  • Put files that you want to install inside /files folder
  • create an installation config file in path config/installation-config.json, which will tell Servicifier where to copy your script taken from /files and also details like service name. You can do this without config file by manually entering details after running Servicifier, but this of course won't be a single click
  • that's it, now you can install your scripts as service with a single click

Build Yourself

To generate executable files, run:

npm run release

then copy binary assets from src/windows/bin to release/bin. Also you'll need to create release/files folder to put you scripts there to be used as service files

Installation Config

To automate service installation process, you can create a config file in path config/installation-config.json:

{
    // directory to host service files
    "destDir": "c:/ServiceFolder",

    // name of service
    "name": "Service Name",

    // service description
    "description": "Service description",

    // name of entry point file of your script inside /files
    "serviceFile": "script.exe"
}

Dependencies

This script uses node-windows (maybe node-mac and node-linux later) internally but with some changes to work with PKG

About

Executable to install any file as a service on a computer with a single click

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages