refactor(desktop-electron): enable contextIsolation and sandbox (#23523)
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { initI18n, t } from "./i18n"
|
||||
|
||||
export const UPDATER_ENABLED = () => window.__OPENCODE__?.updaterEnabled ?? false
|
||||
|
||||
export async function runUpdater({ alertOnFail }: { alertOnFail: boolean }) {
|
||||
await initI18n()
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user