mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Remove "disable mpv" setting and desktop requirement
This commit is contained in:
parent
eb4d099804
commit
ff4ce89bc9
5 changed files with 5 additions and 70 deletions
|
|
@ -9,8 +9,6 @@ import { mpvPlayer, mpvPlayerListener } from './preload/mpv-player';
|
|||
import { remote } from './preload/remote';
|
||||
import { utils } from './preload/utils';
|
||||
|
||||
const disableMpv = localSettings.get('disable_mpv');
|
||||
|
||||
contextBridge.exposeInMainWorld('electron', {
|
||||
browser,
|
||||
discordRpc,
|
||||
|
|
@ -18,8 +16,8 @@ contextBridge.exposeInMainWorld('electron', {
|
|||
localSettings,
|
||||
lyrics,
|
||||
mpris,
|
||||
mpvPlayer: disableMpv ? undefined : mpvPlayer,
|
||||
mpvPlayerListener: disableMpv ? undefined : mpvPlayerListener,
|
||||
mpvPlayer,
|
||||
mpvPlayerListener,
|
||||
remote,
|
||||
utils,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue