yuze-vlan-server 2.0.1 → 2.0.2
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/cli.mjs +4 -1
- package/native/linux-arm64/manifest.json +1 -1
- package/native/linux-arm64/release.sig +1 -1
- package/native/linux-arm64/vlan +0 -0
- package/native/linux-x64/manifest.json +1 -1
- package/native/linux-x64/release.sig +1 -1
- package/native/linux-x64/vlan +0 -0
- package/package.json +1 -1
package/bin/cli.mjs
CHANGED
|
@@ -46,7 +46,10 @@ try{
|
|
|
46
46
|
fs.writeFileSync(input,JSON.stringify({...settings,releaseKey}),{mode:0o600});
|
|
47
47
|
try{run(nativeBinary(),['init','--config',input,...(dry?['--dry-run']:[])])}finally{fs.rmSync(dir,{recursive:true,force:true})}
|
|
48
48
|
if(!dry){
|
|
49
|
-
|
|
49
|
+
// The profile only seeds the recovery install; afterwards the recovery
|
|
50
|
+
// service's own config.json is the single copy. A failed setup keeps it for a retry.
|
|
51
|
+
const recoveryProfile=path.join(settings.root||serverRoot,'config/recovery.json');
|
|
52
|
+
run(process.execPath,[recoveryCli(),'setup','--profile',recoveryProfile]);fs.rmSync(recoveryProfile);
|
|
50
53
|
console.log('Core server and recovery server installed. Dashboard credentials: '+path.join(settings.root||serverRoot,'config/admin-credentials.json'));
|
|
51
54
|
}
|
|
52
55
|
}else if(command==='upgrade'){
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a18288df4bff19b2864341bdb4e4c1ddf51cc111a3049fb012dcf9f7d33a32b15441425cc9ac36de2dbf5e5401e8d9fc7aaefdf83749116c1b145f3eb0594d0d
|
package/native/linux-arm64/vlan
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
97e6d467618cd050161d20e328f5e06cf4543ea4b994732d47a3cdaf948b9f6c255e4009ddd3c6858acb53690ebdc39df23ac19913599cc5f20750856cba8107
|
package/native/linux-x64/vlan
CHANGED
|
Binary file
|
package/package.json
CHANGED