Restore MPV check

This commit is contained in:
jeffvli 2022-12-19 16:17:34 -08:00
parent b0cd967ae6
commit 93c6d046ee

View file

@ -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();