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