hytopia 0.7.9 → 0.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/scripts.mjs +2 -2
- package/bun-server.mjs +86 -86
- package/node-server.mjs +86 -86
- package/package.json +4 -2
- package/server.d.ts +1 -1
package/bin/scripts.mjs
CHANGED
|
@@ -115,8 +115,8 @@ function installProjectDependencies() {
|
|
|
115
115
|
execSync('bun init --yes');
|
|
116
116
|
execSync('bun add hytopia@latest --force');
|
|
117
117
|
execSync('bun add @hytopia.com/assets --force');
|
|
118
|
-
execSync('bun pm trust mediasoup');
|
|
119
|
-
execSync('bun pm trust sharp');
|
|
118
|
+
try { execSync('bun pm trust mediasoup'); } catch { console.log('Failed to install optional dependency "mediasoup", skipping for local development...'); }
|
|
119
|
+
try { execSync('bun pm trust sharp'); } catch { console.log('Failed to install optional dependency "sharp", skipping for local development...'); }
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
/**
|