Skip to content

Commit

Permalink
fix: script syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed Nov 22, 2023
1 parent 2dcd0e2 commit 32f6368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/routes/customize/lib/gradle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function generateGradle({
\twhen {`;
if (platform.freebsd) {
script += `\n\t\t"FreeBSD".equals(name) ->
\t\t\t"natives-freebsd"`
\t\t\t"natives-freebsd"`
}
if (linuxArches != 0) {
script +=
Expand Down
2 changes: 1 addition & 1 deletion client/routes/customize/lib/maven.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function generateMaven({
}${nl5}<classifier>${natives}</classifier>${nl4}</dependency>`;
});

return `\n\t<profile>${nl3}<id>lwjgl-natives-${profile}-${arch}</id>${nl3}<activation>${nl4}<os>${nl5}<family>${family}</family>${name === null ? '' : '${nl5}<name>${name}</name>'}${nl5}<arch>${arch}</arch>${nl4}</os>${nl3}</activation>${nl3}<properties>${nl4}<lwjgl.natives>${natives}</lwjgl.natives>${nl3}</properties>${
return `\n\t<profile>${nl3}<id>lwjgl-natives-${profile}-${arch}</id>${nl3}<activation>${nl4}<os>${nl5}<family>${family}</family>${name === null ? '' : `${nl5}<name>${name}</name>`}${nl5}<arch>${arch}</arch>${nl4}</os>${nl3}</activation>${nl3}<properties>${nl4}<lwjgl.natives>${natives}</lwjgl.natives>${nl3}</properties>${
dependencies.length === 0 ? '' : `${nl3}<dependencies>${dependencies.join(nl4)}${nl3}</dependencies>`
}${nl2}</profile>`;
};
Expand Down

0 comments on commit 32f6368

Please sign in to comment.