summarylogtreecommitdiffstats
path: root/itch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'itch.patch')
-rw-r--r--itch.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/itch.patch b/itch.patch
deleted file mode 100644
index 9d5d986323d1..000000000000
--- a/itch.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- a/resources/app/dist/main/main.bundle.js 2022-03-07 18:24:14.543518719 -0500
-+++ b/resources/app/dist/main/main.bundle.js 2022-03-07 18:36:09.803727617 -0500
-@@ -37530,7 +37530,7 @@
- return;
- }
- withWebContents(store, wind, tab, async (wc) => {
-- const webUrl = wc.history[wc.currentIndex];
-+ const webUrl = "";
- if (webUrl !== url) {
- logger.debug(`WebContents has\n--> ${webUrl}\ntab evolved to\n--> ${url}\nlet's load`);
- loadURL(wc, url);
-@@ -37622,12 +37622,12 @@
- }));
- };
- let printWebContentsHistory = (previousIndex) => {
-- if (wc.history.length === 0) {
-+ if (0 === 0) {
- logger.debug(`(The webcontents history are empty for some reason)`);
- }
- else {
- logger.debug("WebContents history:");
-- for (let i = 0; i < wc.history.length; i++) {
-+ for (let i = 0; i < 0; i++) {
- let prevMark = i === previousIndex ? "<" : " ";
- let pendMark = i === wc.pendingIndex ? "P" : " ";
- let currMark = i === wc.currentIndex ? ">" : " ";
-@@ -37654,7 +37654,7 @@
- ) => {
- if (wc.currentIndex < 0) {
- // We get those spurious events after a "clear history & loadURL()"
-- // at this point `wc.history.length` is 0 anyway, so it's not like we
-+ // at this point `0` is 0 anyway, so it's not like we
- // can figure out much. They're followed by a meaningful event shortly after.
- logger.debug(`Ignoring commit with negative currentIndex`);
- return;
-@@ -37662,7 +37662,7 @@
- let { previousIndex, previousHistorySize } = previousState;
- previousState = {
- previousIndex: wc.currentIndex,
-- previousHistorySize: wc.history.length,
-+ previousHistorySize: 0,
- };
- const space = common_helpers_space__WEBPACK_IMPORTED_MODULE_2__[/* Space */ "a"].fromStore(store, wind, tab);
- const stateHistory = space.history();
-@@ -37700,7 +37700,7 @@
- });
- }
- let offset = wc.currentIndex - previousIndex;
-- let sizeOffset = wc.history.length - previousHistorySize;
-+ let sizeOffset = 0 - previousHistorySize;
- if (sizeOffset === 1) {
- logger.debug(`History grew one, offset is ${offset}`);
- if (stateURL === url) {
-@@ -47618,4 +47618,4 @@
-
- /***/ })
- /******/ ]);
--//# sourceMappingURL=main.bundle.js.map
-\ No newline at end of file
-+//# sourceMappingURL=main.bundle.js.map