mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-10-08 11:50:39 +02:00
Add new sigls
This commit is contained in:
@@ -1,9 +1,15 @@
|
|||||||
export enum GamePassCloudGallery {
|
export enum GamePassCloudGallery {
|
||||||
ALL = '29a81209-df6f-41fd-a528-2ae6b91f719c',
|
ALL = '29a81209-df6f-41fd-a528-2ae6b91f719c',
|
||||||
ALL_WITH_BYGO = 'ce573635-7c18-4d0c-9d68-90b932393470',
|
ALL_WITH_BYOG = 'ce573635-7c18-4d0c-9d68-90b932393470',
|
||||||
LEAVING_SOON = '393f05bf-e596-4ef6-9487-6d4fa0eab987',
|
LEAVING_SOON = '393f05bf-e596-4ef6-9487-6d4fa0eab987',
|
||||||
MOST_POPULAR = 'e7590b22-e299-44db-ae22-25c61405454c',
|
MOST_POPULAR = 'e7590b22-e299-44db-ae22-25c61405454c',
|
||||||
NATIVE_MKB = '8fa264dd-124f-4af3-97e8-596fcdf4b486',
|
NATIVE_MKB = '8fa264dd-124f-4af3-97e8-596fcdf4b486',
|
||||||
RECENTLY_ADDED = '44a55037-770f-4bbf-bde5-a9fa27dba1da',
|
RECENTLY_ADDED = '44a55037-770f-4bbf-bde5-a9fa27dba1da',
|
||||||
TOUCH = '9c86f07a-f3e8-45ad-82a0-a1f759597059',
|
TOUCH = '9c86f07a-f3e8-45ad-82a0-a1f759597059',
|
||||||
|
|
||||||
|
ALL_BYOG_V3 = 'e78d9a61-5ef4-43af-b400-edba1250b18e',
|
||||||
|
FRESNO_FPD = '32d63c6c-c555-4baf-af74-61a99b64a3b9',
|
||||||
|
FRESNO_SYOG = 'e4c1d680-2c70-45e4-a38d-8a292c68c700',
|
||||||
|
FRESNO_MAIN = '51f14e5d-bdcb-4e04-b9cb-76e5057702df',
|
||||||
|
FRESNO_F2P = 'd8f4afcd-882a-49e3-86b3-f61fa0172b75',
|
||||||
}
|
}
|
||||||
|
@@ -43,6 +43,7 @@ export const BxExposed = {
|
|||||||
for (const exp in FeatureGates) {
|
for (const exp in FeatureGates) {
|
||||||
state.experiments.overrideFeatureGates[exp.toLocaleLowerCase()] = FeatureGates[exp];
|
state.experiments.overrideFeatureGates[exp.toLocaleLowerCase()] = FeatureGates[exp];
|
||||||
}
|
}
|
||||||
|
BxLogger.info('state.experiments', state.experiments);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
BxLogger.error(LOG_TAG, e);
|
BxLogger.error(LOG_TAG, e);
|
||||||
}
|
}
|
||||||
@@ -55,7 +56,7 @@ export const BxExposed = {
|
|||||||
let customList = TouchController.getCustomList();
|
let customList = TouchController.getCustomList();
|
||||||
|
|
||||||
// Remove non-cloud games from the official list
|
// Remove non-cloud games from the official list
|
||||||
const siglId = GamePassCloudGallery.ALL_WITH_BYGO;
|
const siglId = GamePassCloudGallery.ALL_WITH_BYOG;
|
||||||
if (siglId in sigls) {
|
if (siglId in sigls) {
|
||||||
const allGames = sigls[siglId].data.products;
|
const allGames = sigls[siglId].data.products;
|
||||||
customList = customList.filter(id => allGames.includes(id));
|
customList = customList.filter(id => allGames.includes(id));
|
||||||
|
Reference in New Issue
Block a user