import { Store } from "@/types";

const store = {
  globalMask: false,
  env: {
    loginName: "",
    password: "",
    server: "",
    user: {},
  },
  config: window.electron.config || {
    server: "",
    loginName: "",
    password: "",
  },
} as Store;

export { store };

// @ts-ignore
window.store = store;
