mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
Restore MPV check
This commit is contained in:
@@ -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 New Issue
Block a user