Add a new dashboard page.
This commit is contained in:
parent
89150e1164
commit
fd24b1898e
133 changed files with 17303 additions and 11112 deletions
16
webui/dev/scripts/transfer.js
Normal file
16
webui/dev/scripts/transfer.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
const fs = require('fs-extra')
|
||||
|
||||
const folder = process.argv[2]
|
||||
|
||||
async function execute () {
|
||||
try {
|
||||
await fs.emptyDir('../static')
|
||||
console.log('Deleted static folder contents!')
|
||||
await fs.copy(`./dist/${folder}`, '../static', { overwrite: true })
|
||||
console.log('Installed new files in static folder!')
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
}
|
||||
}
|
||||
|
||||
execute()
|
Loading…
Add table
Add a link
Reference in a new issue