wip fix
This commit is contained in:
parent
1ecf997e6f
commit
176ee4f309
|
|
@ -174,5 +174,8 @@ dist
|
||||||
# Finder (MacOS) folder config
|
# Finder (MacOS) folder config
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
app/*
|
app/web
|
||||||
|
app/srv
|
||||||
|
app/db
|
||||||
|
app/static
|
||||||
.data
|
.data
|
||||||
|
|
@ -22,11 +22,11 @@ if (!(await existsAsync(dir("app")))) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(await existsAsync(dir("app/db")))) {
|
if (!(await existsAsync(dir("app/db")))) {
|
||||||
await $`unzip -o pkgs/zip/dbzip -d app/db`;
|
await $`unzip -o pkgs/zip/dbzip -d app`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(await existsAsync(dir("app/srv")))) {
|
if (!(await existsAsync(dir("app/srv")))) {
|
||||||
await $`unzip -o pkgs/zip/srvzip -d app/srv`;
|
await $`unzip -o pkgs/zip/srvzip -d app`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!process.env.PORT) {
|
if (!process.env.PORT) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue