Skip to content

feat: Make the webplatform shutdown stuff only if running on a mac mini

4d8f109
Select commit
Loading
Failed to load commit list.
Merged

Windows single binary application #151

feat: Make the webplatform shutdown stuff only if running on a mac mini
4d8f109
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 29, 2026 in 51s

Quality Gate failed

Failed conditions
7 Security Hotspots
4.2% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 33 in scripts/build-sea-unix.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yyGNOz_2SGvF-nks3&open=AZ5yyGNOz_2SGvF-nks3&pullRequest=151

Check warning on line 50 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3lWSNBVMjPn_Bp&open=AZ5yDK3lWSNBVMjPn_Bp&pullRequest=151

Check failure on line 95 in scripts/launcher-win.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure publicly writable directories are used safely here.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3SWSNBVMjPn_Bg&open=AZ5yDK3SWSNBVMjPn_Bg&pullRequest=151

Check warning on line 18 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:url` over `url`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3lWSNBVMjPn_Bm&open=AZ5yDK3lWSNBVMjPn_Bm&pullRequest=151

Check warning on line 74 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3lWSNBVMjPn_Br&open=AZ5yDK3lWSNBVMjPn_Br&pullRequest=151

Check warning on line 54 in src/api/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3JWSNBVMjPn_Bf&open=AZ5yDK3JWSNBVMjPn_Bf&pullRequest=151

Check warning on line 51 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3lWSNBVMjPn_Bq&open=AZ5yDK3lWSNBVMjPn_Bq&pullRequest=151

Check warning on line 62 in src/api/infra/StaticServer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK2mWSNBVMjPn_Bc&open=AZ5yDK2mWSNBVMjPn_Bc&pullRequest=151

Check warning on line 1 in src/api/infra/DeviceDetector.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:child_process` over `child_process`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yyUgbMpuIGLYefS2F&open=AZ5yyUgbMpuIGLYefS2F&pullRequest=151

Check warning on line 24 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yyGPLz_2SGvF-nks4&open=AZ5yyGPLz_2SGvF-nks4&pullRequest=151

Check warning on line 16 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:fs` over `fs`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3lWSNBVMjPn_Bk&open=AZ5yDK3lWSNBVMjPn_Bk&pullRequest=151

Check warning on line 17 in src/api/index.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:module` over `module`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3JWSNBVMjPn_Be&open=AZ5yDK3JWSNBVMjPn_Be&pullRequest=151

Check warning on line 71 in src/api/infra/StaticServer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK2mWSNBVMjPn_Bd&open=AZ5yDK2mWSNBVMjPn_Bd&pullRequest=151

Check warning on line 6 in src/api/infra/StaticServer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:module` over `module`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK2mWSNBVMjPn_Ba&open=AZ5yDK2mWSNBVMjPn_Ba&pullRequest=151

Check warning on line 13 in scripts/build-sea-unix.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:child_process` over `child_process`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5ydZXzJweY09LKiSN1&open=AZ5ydZXzJweY09LKiSN1&pullRequest=151

Check warning on line 16 in scripts/build-sea-unix.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:url` over `url`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5ydZXzJweY09LKiSN4&open=AZ5ydZXzJweY09LKiSN4&pullRequest=151

Check warning on line 21 in scripts/patch-pe-no-cfg.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:fs` over `fs`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3bWSNBVMjPn_Bh&open=AZ5yDK3bWSNBVMjPn_Bh&pullRequest=151

Check warning on line 17 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:path` over `path`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3lWSNBVMjPn_Bl&open=AZ5yDK3lWSNBVMjPn_Bl&pullRequest=151

Check warning on line 115 in scripts/build-sea-unix.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure this permission is safe.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5ydZXzJweY09LKiSN8&open=AZ5ydZXzJweY09LKiSN8&pullRequest=151

Check warning on line 38 in src/api/infra/StaticServer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK2mWSNBVMjPn_Bb&open=AZ5yDK2mWSNBVMjPn_Bb&pullRequest=151

Check warning on line 15 in scripts/build-sea-unix.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:path` over `path`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5ydZXzJweY09LKiSN3&open=AZ5ydZXzJweY09LKiSN3&pullRequest=151

Check warning on line 14 in scripts/build-sea-unix.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:fs` over `fs`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5ydZXzJweY09LKiSN2&open=AZ5ydZXzJweY09LKiSN2&pullRequest=151

Check warning on line 41 in scripts/patch-pe-no-cfg.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3bWSNBVMjPn_Bi&open=AZ5yDK3bWSNBVMjPn_Bi&pullRequest=151

Check warning on line 164 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`String.raw` should be used to avoid escaping `\`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3lWSNBVMjPn_Bt&open=AZ5yDK3lWSNBVMjPn_Bt&pullRequest=151

Check warning on line 15 in scripts/build-sea-win.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:child_process` over `child_process`.

See more on https://sonarcloud.io/project/issues?id=project-SIMPLE_simple.webplatform&issues=AZ5yDK3lWSNBVMjPn_Bj&open=AZ5yDK3lWSNBVMjPn_Bj&pullRequest=151