Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
df73453
Merge pull request #234 from OpenCloudGaming/dev
zortos293 Apr 9, 2026
878d377
chore(release): prepare v0.3.3
github-actions[bot] Apr 9, 2026
67ecbdd
Merge pull request #253 from OpenCloudGaming/dev
zortos293 Apr 10, 2026
2ace8ca
chore(release): prepare v0.3.4
github-actions[bot] Apr 10, 2026
18190f2
Merge pull request #282 from OpenCloudGaming/dev
Kief5555 Apr 12, 2026
99d9cff
chore(release): prepare v1.3.5
github-actions[bot] Apr 12, 2026
4d041a4
chore(release): prepare v0.3.5
github-actions[bot] Apr 13, 2026
6918f58
Update README.md to include TestFlight badge and iOS packaging target
Kief5555 Apr 13, 2026
c022161
update AGENTS.md
capy-ai[bot] Apr 16, 2026
a34988a
Merge pull request #326 from OpenCloudGaming/dev
zortos293 Apr 16, 2026
8460b34
chore(release): prepare v0.3.6
github-actions[bot] Apr 16, 2026
6c2cd35
Add multi-account auth support with quick account switcher UI
PriyanshAg-1 Apr 20, 2026
9009259
Merge pull request #1 from priyanshrv1-oss/capy/multi-account-switcher
priyanshrv1-oss Apr 20, 2026
a763f77
Add confirmation modal for account removal
PriyanshAg-1 Apr 20, 2026
8ad07f8
Merge pull request #2 from priyanshrv1-oss/capy/add-account-remove-co…
priyanshrv1-oss Apr 20, 2026
8c405b7
Fix account switch session validation during refresh (#4)
capy-ai[bot] Apr 20, 2026
ffec305
Fix async session state in handleSwitchAccount - pass fresh session t…
PriyanshAg-1 Apr 22, 2026
905b8e1
Merge pull request #5 from priyanshrv1-oss/fix-async-session-state
PriyanshAg-1 Apr 22, 2026
b3909af
Fix all remaining Copilot review issues: auth session null returns, e…
PriyanshAg-1 Apr 22, 2026
df76988
Potential fix for pull request finding
PriyanshAg-1 Apr 22, 2026
9eae745
fix: use menu ARIA roles in account dropdown and return getSession() …
Copilot Apr 22, 2026
bfde5dc
Potential fix for pull request finding
PriyanshAg-1 Apr 22, 2026
ffab5bb
fix: add role=none to structural wrappers in menu and fix embedded li…
Copilot Apr 22, 2026
a0bf7b5
Potential fix for pull request finding
PriyanshAg-1 Apr 22, 2026
42d4257
Change logoutAll to logout in auth service
PriyanshAg-1 Apr 22, 2026
463cfe4
Potential fix for pull request finding
PriyanshAg-1 Apr 22, 2026
96c57e7
Potential fix for pull request finding
PriyanshAg-1 Apr 22, 2026
72a2b4f
Potential fix for pull request finding
PriyanshAg-1 Apr 22, 2026
75c26e9
Merge pull request #6 from priyanshrv1-oss/fix-copilot-reviews
PriyanshAg-1 Apr 22, 2026
71fd1cd
Update opennow-stable/src/main/gfn/auth.ts
PriyanshAg-1 Apr 23, 2026
308a928
Fixed errors and improved session auth flows
Kief5555 Apr 25, 2026
bc18c1d
Merge branch 'dev' into priyanshrv1-oss/main
Kief5555 Apr 25, 2026
cd35e0c
fix: improve session handling and error recovery in AuthService and A…
Kief5555 Apr 25, 2026
581e547
Update opennow-stable/src/main/gfn/auth.ts
Kief5555 Apr 25, 2026
a02d80b
Resolve styling issues
Kief5555 Apr 25, 2026
232f54b
Resolve startup issues
Kief5555 Apr 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
261 changes: 222 additions & 39 deletions opennow-stable/src/main/gfn/auth.ts

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions opennow-stable/src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,22 @@ function registerIpcHandlers(): void {
await authService.logout();
});

ipcMain.handle(IPC_CHANNELS.AUTH_LOGOUT_ALL, async () => {
await authService.logoutAll();
});

ipcMain.handle(IPC_CHANNELS.AUTH_GET_SAVED_ACCOUNTS, async () => {
return authService.getSavedAccounts();
});

ipcMain.handle(IPC_CHANNELS.AUTH_SWITCH_ACCOUNT, async (_event, userId: string) => {
return authService.switchAccount(userId);
});

ipcMain.handle(IPC_CHANNELS.AUTH_REMOVE_ACCOUNT, async (_event, userId: string) => {
await authService.removeAccount(userId);
});

ipcMain.handle(IPC_CHANNELS.SUBSCRIPTION_FETCH, async (_event, payload: SubscriptionFetchRequest) => {
const token = await resolveJwt(payload?.token);
const streamingBaseUrl =
Expand Down
7 changes: 7 additions & 0 deletions opennow-stable/src/preload/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ import electron from "electron";
import { IPC_CHANNELS } from "@shared/ipc";
import type {
AuthLoginRequest,
AuthSession,
AuthSessionRequest,
GamesFetchRequest,
CatalogBrowseRequest,
ResolveLaunchIdRequest,
RegionsFetchRequest,
MainToRendererSignalingEvent,
OpenNowApi,
SavedAccount,
SessionAdReportRequest,
SessionCreateRequest,
SessionPollRequest,
Expand Down Expand Up @@ -63,6 +65,11 @@ const api: OpenNowApi = {
getRegions: (input: RegionsFetchRequest = {}) => ipcRenderer.invoke(IPC_CHANNELS.AUTH_GET_REGIONS, input),
login: (input: AuthLoginRequest) => ipcRenderer.invoke(IPC_CHANNELS.AUTH_LOGIN, input),
logout: () => ipcRenderer.invoke(IPC_CHANNELS.AUTH_LOGOUT),
logoutAll: () => ipcRenderer.invoke(IPC_CHANNELS.AUTH_LOGOUT_ALL),
getSavedAccounts: (): Promise<SavedAccount[]> => ipcRenderer.invoke(IPC_CHANNELS.AUTH_GET_SAVED_ACCOUNTS),
switchAccount: (userId: string): Promise<AuthSession> =>
ipcRenderer.invoke(IPC_CHANNELS.AUTH_SWITCH_ACCOUNT, userId),
removeAccount: (userId: string): Promise<void> => ipcRenderer.invoke(IPC_CHANNELS.AUTH_REMOVE_ACCOUNT, userId),
fetchSubscription: (input: SubscriptionFetchRequest) =>
ipcRenderer.invoke(IPC_CHANNELS.SUBSCRIPTION_FETCH, input),
fetchMainGames: (input: GamesFetchRequest) => ipcRenderer.invoke(IPC_CHANNELS.GAMES_FETCH_MAIN, input),
Expand Down
Loading
Loading