mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue