appstore: make the features file readable

This commit is contained in:
Girish Ramakrishnan
2025-06-13 10:47:48 +02:00
parent 16141a7104
commit ef9a17a28a
+1 -1
View File
@@ -121,7 +121,7 @@ async function getSubscription() {
if (typeof response.body.features[f] !== 'undefined') gFeatures[f] = response.body.features[f];
if (response.body.features[f] === null) gFeatures[f] = 100000; // null essentially means unlimited
}
safe.fs.writeFileSync(paths.FEATURES_INFO_FILE, JSON.stringify(gFeatures), 'utf8');
safe.fs.writeFileSync(paths.FEATURES_INFO_FILE, JSON.stringify(gFeatures, null, 2), 'utf8');
return response.body;
}