mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-25 13:36:21 +03:00
Merge pull request #10 from IanMurray/master
Fix issues with paths on different OSes
This commit is contained in:
commit
77fe23a6a2
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