mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
remove console logs
This commit is contained in:
@@ -392,7 +392,6 @@ app.whenReady().then(async () => {
|
||||
});
|
||||
|
||||
checkEnvironmentVariables();
|
||||
console.log()
|
||||
const server = await spawnServer();
|
||||
|
||||
createWindow();
|
||||
|
||||
@@ -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'))
|
||||
|
||||
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user