MCPcopy Index your code
hub / github.com/massCodeIO/massCode / runUpdateCheck

Function runUpdateCheck

src/main/updates/index.ts:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32async function runUpdateCheck() {
33 try {
34 await autoUpdater.checkForUpdates()
35 }
36 catch (error) {
37 log('Error checking for updates', error)
38 }
39}
40
41export function installDownloadedUpdate() {
42 // На macOS quitAndInstall закрывает окна, а обработчик 'close' без этого флага

Callers 1

checkForUpdatesFunction · 0.85

Calls 1

logFunction · 0.90

Tested by

no test coverage detected