fix: Change pack base path to beatpacks in home
parent
ef7355bb7d
commit
3c739524a8
|
@ -1,9 +1,10 @@
|
||||||
import Pack from "../interfaces/pack";
|
import Pack from "../interfaces/pack";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import * as fsWalk from "@nodelib/fs.walk";
|
import * as fsWalk from "@nodelib/fs.walk";
|
||||||
|
import os from 'os';
|
||||||
import { resolve } from "path/posix";
|
import { resolve } from "path/posix";
|
||||||
|
|
||||||
const PACK_BASE_PATH = "packs";
|
const PACK_BASE_PATH =`${os.homedir()}/beatpacks`;
|
||||||
|
|
||||||
export default class PackService {
|
export default class PackService {
|
||||||
private static packList: Pack[] = [];
|
private static packList: Pack[] = [];
|
||||||
|
|
Loading…
Reference in New Issue