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