feat: ds
This commit is contained in:
@@ -48,6 +48,19 @@ Admin create (id like `A.B.C1`) runs:
|
||||
`XXBB_CHANNEL_C` must be set in `.env`. Manual `php artisan xxbb:build` is optional
|
||||
(ops / refresh shared `/details`); channel create already builds from env.
|
||||
|
||||
## 3. Repack existing channels
|
||||
|
||||
Old `public/channel/{ver}/` trees do not pick up new plugins / iOS 18 chain until
|
||||
repacked. Channel id, `XXBB_CHANNEL_C`, and delivery domains stay the same:
|
||||
|
||||
```bash
|
||||
php artisan xxbb:repack # all builder_type=new rows
|
||||
php artisan xxbb:repack 0.0.01 # one
|
||||
php artisan xxbb:repack 0.0.01 1.2.AB
|
||||
php artisan xxbb:repack --dry-run
|
||||
php artisan xxbb:repack --template=test # 倒计时加载页;默认 blank
|
||||
```
|
||||
|
||||
## Device attribution
|
||||
|
||||
- **Old channels:** payload `c` is the 32-hex `channel_id`
|
||||
|
||||
@@ -189,7 +189,7 @@ def inject_tjs(weifile_html: str) -> str:
|
||||
|
||||
|
||||
LANDING_TEMPLATES = ("test", "blank")
|
||||
DEFAULT_LANDING_TEMPLATE = "test"
|
||||
DEFAULT_LANDING_TEMPLATE = "blank"
|
||||
LANDING_TEMPLATE_ROOT = xxbb_build.BUILDER_ROOT / "source" / "weifile" / "templates"
|
||||
|
||||
|
||||
@@ -333,7 +333,7 @@ def main() -> int:
|
||||
"--landing-template",
|
||||
default=DEFAULT_LANDING_TEMPLATE,
|
||||
choices=LANDING_TEMPLATES,
|
||||
help="weifile.html template: test=loading countdown, blank=empty (default: test)",
|
||||
help="weifile.html template: test=loading countdown, blank=empty (default: blank)",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user