mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-22 20:26:22 +03:00
Fix issues with paths on different OSes
This commit is contained in:
parent
fd534159c8
commit
7717e8c388
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ const fs = require('fs');
|
||||||
|
|
||||||
|
|
||||||
module.exports = async function (options) {
|
module.exports = async function (options) {
|
||||||
options.root = path.normalize(options.root);
|
options.root = path.resolve(options.root);
|
||||||
if(!fs.existsSync(options.root)) fs.mkdirSync(options.root);
|
if(!fs.existsSync(options.root)) fs.mkdirSync(options.root);
|
||||||
|
|
||||||
if(options.clientPackage) {
|
if(options.clientPackage) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue