this.me 2.3.0 → 2.3.2

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.
Files changed (2) hide show
  1. package/main.js +2 -2
  2. package/package.json +3 -3
package/main.js CHANGED
@@ -1,11 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  //main.js
3
3
  const { exec } = require("child_process");
4
+ const path = require("path");
4
5
  const args = process.argv.slice(2);
5
6
 
6
7
  if (args[0] === "atom") {
7
8
  // Command to run the Electron GUI
8
- const command = "electron tab.js";
9
+ const command = `electron ${path.resolve(__dirname, "tab.js")}`;
9
10
  exec(command, (error, stdout, stderr) => {
10
11
  if (error) {
11
12
  console.error(`Could not start Electron: ${error}`);
@@ -14,7 +15,6 @@ if (args[0] === "atom") {
14
15
  console.log(`stdout: ${stdout}`);
15
16
  console.error(`stderr: ${stderr}`);
16
17
  });
17
- } else {
18
18
  // Your CLI logic goes here, display welcome message, handle other commands, etc.
19
19
  console.log(`
20
20
  ___________
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "this.me",
3
- "version": "2.3.0",
4
- "description": "CLI for managing the .me suite.",
3
+ "version": "2.3.2",
4
+ "description": "This.me should This.be",
5
5
  "bin": {
6
6
  ".me": "./main.js"
7
7
  },
@@ -23,8 +23,8 @@
23
23
  "electron": "^25.4.0",
24
24
  "netget": "^2.1.6",
25
25
  "neurons.me": "^2.5.7",
26
+ "this.be": "^2.1.3",
26
27
  "this.pixels": "3.2.6",
27
28
  "v.path": "^2.1.7"
28
29
  }
29
30
  }
30
-