alectrocute / setapp-nodejs-wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setapp lib Node.JS plugin

The only development dependency of this project is Node.js, so make sure you have it installed.

Prerequisites

  • Download Setapp Library archive at the top of the Add New Version/Edit Version page (libSetapp<AppName>.zip) in vendor account.
  • Unzip this archive to the root of this project to folder libSetapp.

Build process

  1. Initial dependencies installation:
npm install
  1. Build libSetapp nodejs wrapper:
npm run build
  1. Use setapp.node in your Electron app project(documentation):
const setapp = require(process.resourcesPath + "/setapp.node");
  1. Run integration script in order to add libSetapp to your Electron app:
./integrate_setapp.sh
params:
 app - path to your builded application <AppName>.app
 sign - code sign identity to resign your updated build

About


Languages

Language:Python 44.6%Language:Makefile 36.8%Language:Objective-C 7.5%Language:Objective-C++ 7.3%Language:Shell 3.8%