mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-08-28 17:01:18 +00:00
Merge branch 'dev' into feat/phone-configurator
This commit is contained in:
@@ -650,7 +650,7 @@ pnpm build
|
|||||||
|
|
||||||
### The resource starts but the phone UI is missing
|
### The resource starts but the phone UI is missing
|
||||||
|
|
||||||
- On startup, the server console prints `SKY PHONE UI BUILD IS MISSING OR INCOMPLETE` and lists the missing or invalid packaged files.
|
- On startup, the server console prints `SKY PHONE UI BUILD IS MISSING OR INCOMPLETE`, lists the missing or invalid packaged files, and shows repository-native build commands.
|
||||||
- Install the latest published release package rather than GitHub's automatically generated source archive.
|
- Install the latest published release package rather than GitHub's automatically generated source archive.
|
||||||
- Confirm `sky_phone/source/html/index.html`, `assets`, `img`, and `sounds` exist.
|
- Confirm `sky_phone/source/html/index.html`, `assets`, `img`, and `sounds` exist.
|
||||||
- Developers working from source must run the frontend production build before starting the resource.
|
- Developers working from source must run the frontend production build before starting the resource.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use_experimental_fxv2_oal 'yes'
|
|||||||
|
|
||||||
author 'Sky-Systems'
|
author 'Sky-Systems'
|
||||||
description 'Sky Phone'
|
description 'Sky Phone'
|
||||||
version '0.2.1'
|
version '0.2.5'
|
||||||
|
|
||||||
provide 'lb-phone'
|
provide 'lb-phone'
|
||||||
provide '17mov_Phone'
|
provide '17mov_Phone'
|
||||||
|
|||||||
@@ -112,7 +112,11 @@ local function print_missing_nui_notice(missing_paths)
|
|||||||
lines[#lines + 1] = ""
|
lines[#lines + 1] = ""
|
||||||
lines[#lines + 1] = "^3 Install the latest published release package, not GitHub's automatic source archive.^0"
|
lines[#lines + 1] = "^3 Install the latest published release package, not GitHub's automatic source archive.^0"
|
||||||
lines[#lines + 1] = "^5 Release: https://github.com/sky-systems/sky_phone/releases/latest^0"
|
lines[#lines + 1] = "^5 Release: https://github.com/sky-systems/sky_phone/releases/latest^0"
|
||||||
lines[#lines + 1] = "^3 Developers working from source must run build_frontend.bat before starting sky_phone.^0"
|
lines[#lines + 1] = "^3 Developers working from source:^0"
|
||||||
|
lines[#lines + 1] = "^5 cd frontend^0"
|
||||||
|
lines[#lines + 1] = "^5 pnpm install --frozen-lockfile^0"
|
||||||
|
lines[#lines + 1] = "^5 pnpm build^0"
|
||||||
|
lines[#lines + 1] = "^5 Build guide: https://github.com/sky-systems/sky_phone#frontend-development^0"
|
||||||
lines[#lines + 1] = ("^1%s^0"):format(border)
|
lines[#lines + 1] = ("^1%s^0"):format(border)
|
||||||
|
|
||||||
print(table.concat(lines, "\n"))
|
print(table.concat(lines, "\n"))
|
||||||
|
|||||||
@@ -39,7 +39,11 @@ assert(missing_build_output:find("source/html/assets/*", 1, true))
|
|||||||
assert(missing_build_output:find("source/html/img/custom-app.svg", 1, true))
|
assert(missing_build_output:find("source/html/img/custom-app.svg", 1, true))
|
||||||
assert(missing_build_output:find("source/html/sounds/button.mp3", 1, true))
|
assert(missing_build_output:find("source/html/sounds/button.mp3", 1, true))
|
||||||
assert(missing_build_output:find("not GitHub's automatic source archive", 1, true))
|
assert(missing_build_output:find("not GitHub's automatic source archive", 1, true))
|
||||||
assert(missing_build_output:find("build_frontend.bat", 1, true))
|
assert(missing_build_output:find("cd frontend", 1, true))
|
||||||
|
assert(missing_build_output:find("pnpm install --frozen-lockfile", 1, true))
|
||||||
|
assert(missing_build_output:find("pnpm build", 1, true))
|
||||||
|
assert(missing_build_output:find("https://github.com/sky-systems/sky_phone#frontend-development", 1, true))
|
||||||
|
assert(not missing_build_output:find("build_frontend.bat", 1, true))
|
||||||
|
|
||||||
local missing_asset_files = {}
|
local missing_asset_files = {}
|
||||||
for path, content in pairs(valid_files) do
|
for path, content in pairs(valid_files) do
|
||||||
|
|||||||
Reference in New Issue
Block a user