스캔 캐시를 백그라운드로 갱신
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
define('CONTROL_API_LIBRARY', true);
|
||||
|
||||
require __DIR__ . '/../public/api.php';
|
||||
|
||||
$type = (string)($argv[1] ?? '');
|
||||
if ($type === 'wifi') {
|
||||
wifi_scan_refresh_payload();
|
||||
} elseif ($type === 'bluetooth') {
|
||||
bluetooth_scan_refresh_payload();
|
||||
}
|
||||
Reference in New Issue
Block a user