Restore MPV check
This commit is contained in:
parent
b0cd967ae6
commit
93c6d046ee
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ export const AppOutlet = () => {
|
|||
useEffect(() => {
|
||||
const getMpvPath = async () => {
|
||||
if (!isElectron()) return setIsMpvRequired(false);
|
||||
// const mpvPath = await localSettings.get('mpv_path');
|
||||
// return setIsMpvRequired(!mpvPath);
|
||||
const mpvPath = await localSettings.get('mpv_path');
|
||||
return setIsMpvRequired(!mpvPath);
|
||||
};
|
||||
|
||||
getMpvPath();
|
||||
|
|
Reference in a new issue