Fix Formating
This commit is contained in:
parent
8f5cc2099a
commit
94cedd3e1a
|
@ -11,6 +11,7 @@ const buildInfoFile = path.resolve(appPath, "..", "build_info.json");
|
|||
|
||||
// Locate data path to find transparency settings
|
||||
let dataPath = "";
|
||||
if (process.platform === "win32" || process.platform === "darwin") dataPath = path.join(electron.app.getPath("userData"), "..");
|
||||
if (process.argv.filter((arg) => arg.startsWith("--bd-data-dir")).length > 0)
|
||||
dataPath = process.argv.filter((arg) => arg.startsWith("--bd-data-dir"))[0].split("=")[1];
|
||||
else if (process.platform === "win32" || process.platform === "darwin")
|
||||
|
|
Loading…
Reference in New Issue