remove console logs

This commit is contained in:
loucass003
2026-02-18 13:23:49 +01:00
parent f765ef0e4a
commit 215228551d
3 changed files with 1 additions and 5 deletions

View File

@@ -392,7 +392,6 @@ app.whenReady().then(async () => {
});
checkEnvironmentVariables();
console.log()
const server = await spawnServer();
createWindow();

View File

@@ -71,12 +71,11 @@ export const findSystemJRE = async (sharedDir: string) => {
...(await glob('/usr/lib/jvm/*/bin/' + javaBin)),
...(await glob('/Library/Java/JavaVirtualMachines/*/Contents/Home/bin/' + javaBin)),
]
console.log(paths);
for (const path of paths) {
if (!path) continue;
const version = await new Promise<number | null>((resolve) => {
console.log(`${path} -jar ${javaVersionJar}`)
const process = spawn(path, ['-jar', javaVersionJar]);
let version: number | null = null;
@@ -113,7 +112,6 @@ export const findServerJar = () => {
path.resolve('/app/share/slimevr/'),
path.resolve('/usr/share/slimevr/'),
];
console.log(paths)
return paths
.filter((p) => !!p)
.map((p) => join(p!, 'slimevr.jar'))

View File

@@ -23,7 +23,6 @@ const todaysRange = (deployData: [number, Date][]): number => {
};
const checkUserCanUpdate = async (uuid: string, url: string, fwVersion: string) => {
console.log(url);
const deployDataJson = JSON.parse(
(await cacheWrap(
`firmware-${fwVersion}-deploy`,