mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Merge pull request #325 from Insprill/fix/liv-linux
Skip Liv initialization on Linux
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user