Skip to content

Commit

Permalink
CrazyGames: Use IDBFS after all
Browse files Browse the repository at this point in the history
  • Loading branch information
geneotech committed Jul 25, 2024
1 parent 228037c commit 7aa2d78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/web/assets/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function sync_idbfs() {
}

function sync_idbfs_cg() {

sync_idbfs();
}

function revokeDiscord(accessToken) {
Expand Down Expand Up @@ -491,6 +491,9 @@ function create_module(for_cg) {
Module.sync_idbfs = sync_idbfs_cg;
Module['preRun'].push(pre_run_cg);

// We're using idbfs after all, just for a single file
Module['preRun'].push(pre_run);

Module.loginCrazyGames = loginCrazyGames;
Module.setBrowserLocation = setBrowserLocation_cg;
}
Expand Down

0 comments on commit 7aa2d78

Please sign in to comment.