script tweak

This commit is contained in:
Brahim Hadriche committed 2025-01-10 17:12:37 -05:00
1 parent 3daa94dee1
commit 26774d5655
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -13,7 +13,11 @@ const config = getEnvVars(['ROKU_DEV_TARGET']);
parser.add_argument('--app-id', { help: 'App Id' });
const args = parser.parse_args();
const appId = args.app_id
let appId = args.app_id || "dev";
if (appId === "prod") {
appId = "693751";
}
const url = `http://${config.ROKU_DEV_TARGET}:8060/launch/${appId}?restart=true`;
console.log("Restarting app", appId);