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(() => {
|
useEffect(() => {
|
||||||
const getMpvPath = async () => {
|
const getMpvPath = async () => {
|
||||||
if (!isElectron()) return setIsMpvRequired(false);
|
if (!isElectron()) return setIsMpvRequired(false);
|
||||||
// const mpvPath = await localSettings.get('mpv_path');
|
const mpvPath = await localSettings.get('mpv_path');
|
||||||
// return setIsMpvRequired(!mpvPath);
|
return setIsMpvRequired(!mpvPath);
|
||||||
};
|
};
|
||||||
|
|
||||||
getMpvPath();
|
getMpvPath();
|
||||||
|
|
Reference in a new issue