SaaS.DesktopPlayer
Tutorial link
a powerful desktop application built on Electron that operates as a multi-user server under a SaaS model. This comprehensive guide is designed to assist you in understanding, configuring, and effectively using [Your Application Name].
Prerequisites
Before you dive into SaaS.DesktopPlayer, there are a few prerequisites you should be aware of:
1- Install node.js
To use Electron, you need to install Node.js. https://nodejs.org/en/download
2- Install npm
Then open the CMD and install the npm using this command:
npm install -g npm
3- Clone the repo
To get started with SaaS.DesktopPlayer, you'll need to clone the repository into your local directory. Follow these steps:
Open the CMD: Command Prompt on Windows.
Navigate to Your Desired Directory: Use the
cd
command to navigate to the directory where you want to clone the repository. For example:cd /path/to/your/local/directory
Clone the Repository: Run the following command to clone the SaaS.DesktopPlayer repository:
git clone https://qdevproj@dev.azure.com/qdevproj/Acadeemy/_git/DevNAS.LMS.SaaS.DesktopPlayer
This command will download all the necessary files from the repository to your local machine.
Now you have successfully cloned the SaaS.DesktopPlayer repository to your local machine. You can proceed with configuring and using the application as outlined in the rest of this documentation.
SaaS.DesktopPlayer structure:
1- Jobs:
This service is responsible for content protection and making an interval background job to detect prohibited Processes.
We determine the prohibited processes by filtering the names of the processes retrieved from https://saasauth.devnas-us.com/api/desktop/prohibited-apps
:
- This API is provided by our product (SaaS AuthGenerator).
The background job works internally as much as it is determined in the
app.js
:
this.configure_jobs = function () {
const jobsManager = backgroundJobs(this._container, {
contentProtectionJob: {
interval: 180000 //here the interval determined in ms
},
});
// Starts the background jobs
jobsManager.start();
};