sliftutils 0.7.5 → 0.7.6
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.
|
@@ -5,6 +5,7 @@ import yargs from "yargs";
|
|
|
5
5
|
import { formatTime } from "socket-function/src/formatting/format";
|
|
6
6
|
import path from "path";
|
|
7
7
|
import { getAllFiles } from "../misc/fs";
|
|
8
|
+
import { green } from "socket-function/src/formatting/logColors";
|
|
8
9
|
|
|
9
10
|
async function main() {
|
|
10
11
|
// Check if Electron is installed
|
|
@@ -16,9 +17,7 @@ async function main() {
|
|
|
16
17
|
console.error("Electron is too heavy to be included by default for non-electron projects.");
|
|
17
18
|
console.error("Please manually add Electron to your package.json dependencies:");
|
|
18
19
|
console.error("");
|
|
19
|
-
console.error("
|
|
20
|
-
console.error(" \"electron\": \"^33.2.1\"");
|
|
21
|
-
console.error(" }");
|
|
20
|
+
console.error(green("yarn add electron"));
|
|
22
21
|
console.error("");
|
|
23
22
|
console.error("Then run: yarn install");
|
|
24
23
|
process.exit(1);
|