fix(portable): honor bundled OpenClaw version on USB
This commit is contained in:
@@ -499,7 +499,7 @@ function togglePw(id) {
|
||||
// --- Build OpenClaw config ---
|
||||
function buildConfig(provider, base, model, apiKey) {
|
||||
var baseConfig = {
|
||||
gateway: { auth: { mode: 'token', token: 'uclaw' }, remote: { token: 'uclaw' } },
|
||||
gateway: { mode: 'local', auth: { mode: 'token', token: 'uclaw' }, remote: { token: 'uclaw' } },
|
||||
commands: { native: 'auto', nativeSkills: 'auto', restart: true, ownerDisplay: 'raw' },
|
||||
meta: { lastTouchedVersion: '2026.3.13', lastTouchedAt: new Date().toISOString() }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user