GooseMod / OpenAsar

Open-source alternative of Discord desktop's app.asar
https://openasar.dev
GNU Affero General Public License v3.0
2.54k stars 67 forks source link

Frozen bootup due to error in updater_client #110

Closed TheStachelfisch closed 2 years ago

TheStachelfisch commented 2 years ago

Sometimes when starting Discord with OpenAsar installed and quickStart enabled the updater_client freezes the whole boot sequence due to an error. This mostly happens on the very first bootup after Windows was started, reloading Discord usually fixes the issue temporarily and allows Discord to start.

[OpenAsar > Init] OpenAsar polynt-6328f3c
[OpenAsar > Settings] C:\Users\TheStachelfisch\AppData\Roaming\discordcanary\settings.json {
  openasar: { setup: true, noTyping: false, quickstart: true },
  IS_MAXIMIZED: true,
  IS_MINIMIZED: false,
  trayBalloonShown: true,
  WINDOW_BOUNDS: { x: -829, y: 193, width: 1280, height: 720 }
}
[OpenAsar > BuildInfo] { newUpdater: true, releaseChannel: 'canary', version: '1.0.52' }
Optional module ./ElectronTestRpc was not included.
[OpenAsar > AsarUpdate] Updating...
[2022-11-09 15:54:37.682279 +01:00] ERROR [updater_client]: Couldn't cleanup obsolete module ModuleVersionIdentifier { module: ModuleIdentifier { host_version: HostVersionIdentifier { host: HostIdentifier { name: APP, release_channel: CANARY, platform: WIN, arch: X86 }, version: HostVersionTriple(1, 0, 52) }, name: "discord_desktop_core" }, version: 6 }: Os { code: 32, kind: Uncategorized, message: "The process cannot access the file because it is being used by another process." }

After that error no further output is printed and Discord is frozen with a gray screen.

CanadaHonk commented 2 years ago

Please use our Discord for easier support.