Comparing version 1.0.34 to 1.0.35
@@ -126,3 +126,3 @@ #! /usr/bin/env node | ||
const pathToGame = path_1.default.resolve(__dirname, './Features/Game/index.js'); | ||
(0, shelljs_1.exec)(`open -a iTerm ${pathToGame}`); | ||
(0, shelljs_1.exec)(`open -a Terminal ${pathToGame}`); | ||
isTerminalActive = true; | ||
@@ -129,0 +129,0 @@ } |
@@ -30,3 +30,3 @@ #! /usr/bin/env node | ||
const fs_1 = __importDefault(require("fs")); | ||
const utils_1 = require("../../utils"); | ||
; | ||
const nanospinner_1 = require("nanospinner"); | ||
@@ -37,2 +37,3 @@ const shelljs_1 = require("shelljs"); | ||
const _1 = require("."); | ||
const utils_1 = require("../../utils"); | ||
const sleep = (ms = 1000) => new Promise((r) => setTimeout(r, ms)); | ||
@@ -39,0 +40,0 @@ const welcome = () => __awaiter(void 0, void 0, void 0, function* () { |
{ | ||
"name": "ply-cli", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "\"Ply-cli\" is a cli tool that aim to entertain you while you wait for any process to be over.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -134,3 +134,3 @@ #! /usr/bin/env node | ||
const pathToGame = path.resolve(__dirname, './Features/Game/index.js'); | ||
exec(`open -a iTerm ${pathToGame}`); | ||
exec(`open -a Terminal ${pathToGame}`); | ||
@@ -137,0 +137,0 @@ isTerminalActive = true; |
@@ -9,7 +9,3 @@ #! /usr/bin/env node | ||
import fs from "fs"; | ||
import { | ||
getLocalStorage, | ||
getUserData, | ||
shouldReFecthData, | ||
} from "../../utils"; | ||
; | ||
import { createSpinner } from "nanospinner"; | ||
@@ -20,2 +16,3 @@ import { echo, exec } from "shelljs"; | ||
import { gameSelectorScreen } from "."; | ||
import { getLocalStorage, getUserData, shouldReFecthData } from '../../utils'; | ||
@@ -22,0 +19,0 @@ type Question = { |
245269
2522