plutonium-installer
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -34,2 +34,3 @@ #!/usr/bin/env node | ||
console.log("Installed!"); | ||
process.exit(0); | ||
}); | ||
@@ -36,0 +37,0 @@ } |
@@ -40,10 +40,9 @@ // Dependencies | ||
console.warn("WARN: install path is not empty"); | ||
if (Force) | ||
if (!Force) { | ||
if (Verbose) | ||
console.warn("WARN: Forcing..."); | ||
else { | ||
if (Verbose) | ||
console.error("ERROR: stopping install"); | ||
return reject(new Error("install path is not empty, stopping install")); | ||
} | ||
console.error("ERROR: stopping install"); | ||
return reject(new Error("install path is not empty, stopping install")); | ||
} | ||
if (Verbose) | ||
console.warn("WARN: Forcing..."); | ||
} | ||
@@ -50,0 +49,0 @@ // Vars |
{ | ||
"name": "plutonium-installer", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Lets you install plutonium games for both personal use and server use", | ||
@@ -5,0 +5,0 @@ "exports": "./lib/index.js", |
@@ -42,2 +42,3 @@ #!/usr/bin/env node | ||
console.log("Installed!") | ||
process.exit(0) | ||
}) | ||
@@ -57,3 +58,3 @@ } | ||
await InstallPlutoniumLauncher(Options.path) | ||
console.log("Installed!") | ||
console.log("Installed!") | ||
}) | ||
@@ -60,0 +61,0 @@ } |
@@ -46,8 +46,8 @@ // Dependencies | ||
if (Force) | ||
if (Verbose) console.warn("WARN: Forcing...") | ||
else { | ||
if (!Force){ | ||
if (Verbose) console.error("ERROR: stopping install") | ||
return reject(new Error("install path is not empty, stopping install")) | ||
} | ||
if (Verbose) console.warn("WARN: Forcing...") | ||
} | ||
@@ -54,0 +54,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53757