fix: added the @globals back and removed some merge leftovers

This commit is contained in:
lilezek 2024-04-30 11:09:29 +02:00
parent c8fe984171
commit 6d36db5446
8 changed files with 535 additions and 367 deletions

View file

@ -90,7 +90,7 @@ export class TorrentClient {
return GameStatus.DownloadingMetadata;
if (state === TorrentState.Finished) return GameStatus.Finished;
if (state === TorrentState.Seeding) return GameStatus.Seeding;
return "";
return null;
}
public static async onSocketData(data: Buffer) {

View file

@ -7,7 +7,6 @@ export class Unrar {
private constructor(private extractor: Extractor<Uint8Array>) { }
static async fromFilePath(filePath: string, targetFolder: string) {
console.log(filePath, targetFolder);
const extractor = await createExtractorFromFile({
filepath: filePath,
targetPath: targetFolder,