This commit is contained in:
Rizky
2024-01-25 12:21:48 +07:00
parent 1ecf997e6f
commit 176ee4f309
5 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -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
View File
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -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) {