Skip to content

Commit

Permalink
fix: do cross platform directory location correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ariscript committed Nov 25, 2021
1 parent 8091ef0 commit b99c530
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/instances/createInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export default async function create(
opts: InstanceOptions
): Promise<boolean> {
const instanceRoot = path.join(
(process.platform === "win32"
? process.env.USERPROFILE
: process.env.HOME) as string,
".multiserver",
app.getPath("userData"),
"instances",
opts.name
);
Expand Down

0 comments on commit b99c530

Please # to comment.