Moved isOfficial under caproverOneClickApp property

This commit is contained in:
Kasra Bigdeli 2020-08-16 09:46:13 -04:00
parent 7bab4b4afc
commit 090e2473bd
3 changed files with 4 additions and 1 deletions

View File

@ -30,5 +30,6 @@ caproverOneClickApp:
end: |- end: |-
PrivateBin has been successfully deployed! PrivateBin has been successfully deployed!
displayName: PrivateBin displayName: PrivateBin
isOfficial: true
description: A minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES. description: A minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES.
documentation: See https://github.com/PrivateBin/docker-nginx-fpm-alpine documentation: See https://github.com/PrivateBin/docker-nginx-fpm-alpine

View File

@ -79,13 +79,14 @@ function convertV2toV4(v2String) {
parsed.services = parsed.dockerCompose.services; parsed.services = parsed.dockerCompose.services;
parsed.dockerCompose = undefined; parsed.dockerCompose = undefined;
parsed.captainVersion = 4; parsed.captainVersion = 4;
parsed.caproverOneClickApp = {}; parsed.caproverOneClickApp = {};
moveProperty('variables'); moveProperty('variables');
moveProperty('instructions'); moveProperty('instructions');
moveProperty('displayName'); moveProperty('displayName');
moveProperty('isOfficial');
moveProperty('description'); moveProperty('description');
moveProperty('documentation'); moveProperty('documentation');

View File

@ -92,6 +92,7 @@ function convertV4toV2(v4String) {
moveProperty('variables'); moveProperty('variables');
moveProperty('instructions'); moveProperty('instructions');
moveProperty('displayName'); moveProperty('displayName');
moveProperty('isOfficial');
moveProperty('description'); moveProperty('description');
moveProperty('documentation'); moveProperty('documentation');