feat(config): unify startup mode and server selection
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { STARTUP_CONFIG } from '../../YouleNexus/assets/framework/config/profiles.ts';
|
||||
import assert from 'node:assert/strict';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { test } from 'node:test';
|
||||
@@ -121,7 +122,7 @@ test('real modern vertical replay preserves wire contracts, room ordering and te
|
||||
const runtime = new PlatformRuntime({
|
||||
gameEntry: entry,
|
||||
resolveRuntimeConfig: () => resolveRuntimeConfig({
|
||||
mode: 'release', hostKind: 'native-settings', search: '',
|
||||
startupConfig: {...STARTUP_CONFIG,mode:'release',useLocalServer:false}, hostKind: 'native-settings', search: '',
|
||||
win: { settings: {
|
||||
getothername(name: string) {
|
||||
nativeCalls.push(`getothername:${name}`);
|
||||
|
||||
Reference in New Issue
Block a user