this.me 2.6.1 → 2.6.3
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/main.js +1 -35
- package/package.json +2 -2
package/main.js
CHANGED
|
@@ -8,7 +8,6 @@ const args = process.argv.slice(2);
|
|
|
8
8
|
const neurons = require("neurons.me");
|
|
9
9
|
const cleaker = require("cleaker");
|
|
10
10
|
const netget = require("netget");
|
|
11
|
-
const Atom = require("this.atom");
|
|
12
11
|
//User Context.
|
|
13
12
|
const Me = require("./me");
|
|
14
13
|
const os = require('os');
|
|
@@ -44,38 +43,6 @@ console.log(`Host_Session@ ${os.userInfo().username}`);
|
|
|
44
43
|
console.log("System Role: ", cleaked.role);
|
|
45
44
|
};
|
|
46
45
|
|
|
47
|
-
//ATOMS ELECTRONS AND PARTICLES IN PROGRESS...
|
|
48
|
-
//WE WILL RUN OUR NODE PROCCESSES IN ELECTRON WINDOWS AND EACH ATOM WILL HOLD ELECTRONS WHICH HOLDS THE PROCESSES
|
|
49
|
-
//THUS WE WILL KNOW HOW CHARGED AN ATOM IS BY THE NUMBER OF ELECTRONS IT HAS AND HOW MANY PROCESSES IT IS RUNNING.
|
|
50
|
-
//WE WILL ALSO BE ABLE TO SEE THE PROCESSES RUNNING IN EACH ELECTRON AND THE ATOMS THAT ARE RUNNING THEM.
|
|
51
|
-
function handleViewerCommand() {
|
|
52
|
-
const atom = new Atom();
|
|
53
|
-
atom.createElectron('viewer', {
|
|
54
|
-
width: 800,
|
|
55
|
-
height: 600,
|
|
56
|
-
viewFile: path.resolve(__dirname, 'viewer.html')
|
|
57
|
-
});
|
|
58
|
-
atom.showElectron('viewer');
|
|
59
|
-
}
|
|
60
|
-
function handleAtomCommand() {
|
|
61
|
-
const atom = new Atom();
|
|
62
|
-
atom.createElectron('electron1', {
|
|
63
|
-
width: 800,
|
|
64
|
-
height: 600,
|
|
65
|
-
viewFile: './view1.html'
|
|
66
|
-
});
|
|
67
|
-
atom.createElectron('electron2', {
|
|
68
|
-
width: 600,
|
|
69
|
-
height: 400,
|
|
70
|
-
viewFile: './view2.html'
|
|
71
|
-
});
|
|
72
|
-
atom.createElectron('electron3', {
|
|
73
|
-
width: 1000,
|
|
74
|
-
height: 800,
|
|
75
|
-
viewFile: './view3.html'
|
|
76
|
-
});
|
|
77
|
-
atom.showAtom();
|
|
78
|
-
}
|
|
79
46
|
|
|
80
47
|
//.. THIS SECTION IS FOR HASHING PURPOSES ...//
|
|
81
48
|
/* Create a function that computes the hash of the @src directory.
|
|
@@ -102,7 +69,7 @@ switch(args[0]) {
|
|
|
102
69
|
handleViewerCommand();
|
|
103
70
|
break;
|
|
104
71
|
case 'atom':
|
|
105
|
-
|
|
72
|
+
console.log("Atom");
|
|
106
73
|
break;
|
|
107
74
|
default:
|
|
108
75
|
// Here you can define what you'd like to happen when no arguments are passed.
|
|
@@ -115,7 +82,6 @@ module.exports = {
|
|
|
115
82
|
cleaker,
|
|
116
83
|
netget,
|
|
117
84
|
neurons,
|
|
118
|
-
Atom,
|
|
119
85
|
getAllFiles,
|
|
120
86
|
hashThis,
|
|
121
87
|
hashSrc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "this.me",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.3",
|
|
4
4
|
"description": "This.me should This.be",
|
|
5
5
|
"bin": {
|
|
6
6
|
".me": "./main.js"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"i.mlearning": "^2.2.0",
|
|
30
30
|
"netget": "^2.2.3",
|
|
31
31
|
"neurons.me": "^2.7.1",
|
|
32
|
-
"this.atom":"1.2.
|
|
32
|
+
"this.atom":"1.2.1",
|
|
33
33
|
"this.audio": "^1.0.6",
|
|
34
34
|
"this.be": "^2.1.6",
|
|
35
35
|
"this.dom": "^1.0.4",
|