Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pikdum committed Aug 22, 2023
1 parent 2b79ac5 commit ffbbfe8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
]
"extends": ["config:base"]
}
4 changes: 2 additions & 2 deletions src/lib/proton.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const setProton = (protonBuild) => {
!lstatSync(protonBuildPath).isDirectory()
) {
throw new Error(
`Proton build directory '${protonBuild}' does not exist.`
`Proton build directory '${protonBuild}' does not exist.`,
);
}

Expand All @@ -122,7 +122,7 @@ export const protonRunUrl = async (downloadUrl, args) => {
const response = await fetch(downloadUrl);
if (!response.ok) {
throw new Error(
`Failed to download file (${response.status} ${response.statusText})`
`Failed to download file (${response.status} ${response.statusText})`,
);
}
await pipelineAsync(response.body, createWriteStream(tempFilePath));
Expand Down
6 changes: 3 additions & 3 deletions src/lib/vortex.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const VORTEX_DIR = path.join(
"drive_c",
"Program Files",
"Black Tree Gaming Ltd",
"Vortex"
"Vortex",
);

export const downloadVortex = async (downloadUrl) => {
Expand Down Expand Up @@ -59,7 +59,7 @@ export const installVortex = async (vortexInstaller) => {
const vortexInstallerPath = path.join(
BASE_DIR,
"vortex-installers",
vortexInstaller
vortexInstaller,
);
const command = `"${vortexInstallerPath}" /S`;
await protonRun(command);
Expand All @@ -70,7 +70,7 @@ export const setupVortexDesktop = () => {
process.env.HOME,
".local",
"share",
"applications"
"applications",
);
const iconPath = path.join(applicationsPath, "vortex.ico");
const desktopPath = path.join(applicationsPath, "vortex.desktop");
Expand Down

0 comments on commit ffbbfe8

Please sign in to comment.