Merge pull request #325 from Insprill/fix/liv-linux

Skip Liv initialization on Linux
This commit is contained in:
MathieuG-P
2023-09-21 17:17:37 +02:00
committed by GitHub
+3 -3
View File
@@ -20,13 +20,13 @@ export class LivService {
}
public isLivInstalled(): Promise<boolean> {
public async isLivInstalled(): Promise<boolean> {
return execOnOs({
win32: async () => {
const regRes = await regedit.promisified.list([this.livRegeditKey]).then(res => res[this.livRegeditKey]);
return regRes?.exists;
}
});
},
}, true);
}
public async createLivShortcut(entry: LivEntry): Promise<void> {