fix: Change pack base path to beatpacks in home

master
ogomez-at-wiris 2022-02-24 16:13:47 +01:00
parent ef7355bb7d
commit 3c739524a8
1 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,10 @@
import Pack from "../interfaces/pack";
import fs from "fs";
import * as fsWalk from "@nodelib/fs.walk";
import os from 'os';
import { resolve } from "path/posix";
const PACK_BASE_PATH = "packs";
const PACK_BASE_PATH =`${os.homedir()}/beatpacks`;
export default class PackService {
private static packList: Pack[] = [];