Handle web player

This commit is contained in:
jeffvli
2022-11-08 00:20:39 -08:00
parent e774cdf031
commit 587fa2422a
17 changed files with 835 additions and 276 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import isElectron from 'is-electron';
export * from './components/settings';
export * from './hooks/use-default-settings';
const ipc = isElectron() ? window.electron.ipcRenderer : null;
@@ -14,7 +15,7 @@ const restart = () => {
ipc?.APP_RESTART();
};
export const settings = {
export const localSettings = {
get,
restart,
set,