-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Steam/GOG/Epic binaries on Xbox if Xbox binaries are not available
Fixed redundant auto sort triggers
- Loading branch information
Showing
23 changed files
with
357 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { createAction } from 'redux-act'; | ||
import { EXTENSION_BASE_ID } from '../common'; | ||
|
||
export type SetUseSteamBinariesOnXboxPayload = { | ||
useSteamBinariesOnXbox: boolean; | ||
}; | ||
|
||
const setUseSteamBinariesOnXbox = createAction<boolean, SetUseSteamBinariesOnXboxPayload>( | ||
`${EXTENSION_BASE_ID}_SET_USE_STEAM_BINARIES_ON_XBOX`, | ||
(useSteamBinariesOnXbox: boolean) => ({ | ||
useSteamBinariesOnXbox, | ||
}) | ||
); | ||
|
||
export const actionsLauncher = { | ||
setUseSteamBinariesOnXbox, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export * from './actions'; | ||
export * from './hooks'; | ||
export * from './manager'; | ||
export * from './utils'; | ||
export * from './version'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { types as vetypes } from '@butr/vortexextensionnative'; | ||
import { VortexStoreIds } from '../types'; | ||
|
||
export const vortexStoreToLibraryStore = (storeId: string): vetypes.GameStore => { | ||
switch (storeId) { | ||
case VortexStoreIds.Steam: | ||
return 'Steam'; | ||
case VortexStoreIds.GOG: | ||
return 'GOG'; | ||
case VortexStoreIds.Epic: | ||
return 'Epic'; | ||
case VortexStoreIds.Xbox: | ||
return 'Xbox'; | ||
default: | ||
return 'Unknown'; | ||
} | ||
}; |
Oops, something went wrong.