MCPcopy Create free account
hub / github.com/Sjj1024/PakePlus-Win7 / updateConfig

Function updateConfig

scripts/ppworker.cjs:25–32  ·  view source on GitHub ↗
(windows, desktop)

Source from the content-addressed store, hash-verified

23
24// update config.json
25const updateConfig = async (windows, desktop) => {
26 const configJson = { ...windows, ...desktop }
27 await fs.writeJson(
28 path.join(__dirname, '../', 'src-electron', 'config.json'),
29 configJson
30 )
31 console.log('config.json updated', configJson)
32}
33
34// update pppwd.html
35const updatePPPwdHtml = (

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected