Skip to content

Commit

Permalink
[chore] only check for linux with shouldLoadFromConfig function
Browse files Browse the repository at this point in the history
  • Loading branch information
silentrald committed Dec 17, 2024
1 parent 27f7c04 commit ecb2645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/services/bs-version-lib.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class BSVersionLibService {

private async shouldLoadFromConfig(): Promise<boolean> {
// Some special cases of readonly memory installations
return IS_FLATPAK || this.linuxService.isNixOS();
return process.platform === "linux" && (IS_FLATPAK || this.linuxService.isNixOS());
}

private async getLocalVersions(): Promise<BSVersion[]> {
Expand Down

0 comments on commit ecb2645

Please sign in to comment.