Skip to content

Commit

Permalink
fix gamedir
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow committed Aug 12, 2022
1 parent 35a5804 commit f3ebbe3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/assets/js/elements/folderInfo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
///<reference path="../api/base.js" />

import { SEPARATOR } from "../api/fileApi.js";

class FolderInfo extends HTMLElement {
constructor() {
super();
Expand Down Expand Up @@ -31,7 +33,7 @@ class FolderInfo extends HTMLElement {
);
existingProfiles.profiles["skyclient"] = {
created: new Date().toISOString(),
gameDir: "./skyclient",
gameDir: window.chosen.path ? window.chosen.path + SEPARATOR + "skyclient" : "./skyclient",
icon: "Furnace_On",
lastUsed: "1970-01-01T00:00:00.000Z",
lastVersionId: "1.8.9-forge1.8.9-11.15.1.2318-1.8.9",
Expand Down

0 comments on commit f3ebbe3

Please sign in to comment.