add webpack for lib
This commit is contained in:
@@ -82,6 +82,10 @@ export class FrontblockAdmin extends ConfigLoader<AdminConf>{
|
||||
return {httpPort: 8080}
|
||||
}
|
||||
|
||||
private async updateFrontblockLib(){
|
||||
await (new FrontblockCherryPicker("fb-dist/admin", "master", "FrontblockLib.js")).write("./static/FrontblockLib.js")
|
||||
}
|
||||
|
||||
private async updateDashboard(){
|
||||
const dashboard = new GitUpdater("./static")
|
||||
const status = await dashboard.cloneRepo("https://gitea.frontblock.me/fb-dist/dashboard.git", true)
|
||||
@@ -96,6 +100,7 @@ export class FrontblockAdmin extends ConfigLoader<AdminConf>{
|
||||
|
||||
private async initialize(){
|
||||
await this.updateDashboard()
|
||||
await this.updateFrontblockLib()
|
||||
await this.updatePluginmanager()
|
||||
|
||||
let str = "../plugins/PluginManager/Plugin"
|
||||
|
||||
Submodule src/frontend/dashboard deleted from 73c9c973f8
Reference in New Issue
Block a user