[arch-commits] Commit in react-native-debugger/trunk (3 files)
Nicola Squartini
tensor5 at gemini.archlinux.org
Sun Jul 10 08:41:40 UTC 2022
Date: Sunday, July 10, 2022 @ 08:41:39
Author: tensor5
Revision: 1249268
upgpkg: react-native-debugger 0.12.1-4
Added:
react-native-debugger/trunk/disable-context-isolation.patch
Modified:
react-native-debugger/trunk/PKGBUILD
react-native-debugger/trunk/react-native-debugger.js
---------------------------------+
PKGBUILD | 9 ++++++---
disable-context-isolation.patch | 10 ++++++++++
react-native-debugger.js | 2 +-
3 files changed, 17 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-10 08:24:48 UTC (rev 1249267)
+++ PKGBUILD 2022-07-10 08:41:39 UTC (rev 1249268)
@@ -3,26 +3,29 @@
pkgname=react-native-debugger
pkgver=0.12.1
_commit=816daff45247715a09bc657e13555d89bb5cb3dd
-pkgrel=3
+pkgrel=4
pkgdesc='The standalone app for React Native Debugger, with React DevTools / Redux DevTools'
arch=('any')
url='https://github.com/jhen0409/react-native-debugger'
license=('MIT')
-depends=('electron')
+depends=('electron12')
makedepends=('asar' 'git' 'yarn')
options=(!emptydirs)
source=("git+https://github.com/jhen0409/react-native-debugger.git#commit=${_commit}"
+ 'disable-context-isolation.patch'
'iconPath.patch'
'react-native-debugger.desktop'
'react-native-debugger.js')
sha256sums=('SKIP'
+ 'e82a75bfb28a4cafe8b90c707e1e818917511200dada09e9224042bf29c3a804'
'75cd9814325bfcdfc5dc9f85a7ce75a021e4b3c8cd105b851eb804e7b580d474'
'f63e79516db0feb2e76c366402cf266165c0f7eb282dc55703b800b91152867d'
- '949661b3c14081d1e59b8036dd63f8895d195c17a259eb9df8fdf2239a7739dd')
+ '59f0aa629cdb6e287ba08f47ced2e442fe449b58d07e8182a10e855a3a34f433')
prepare() {
cd ${pkgname}
+ patch -Np1 -i ../disable-context-isolation.patch
patch -Np1 -i ../iconPath.patch
}
Added: disable-context-isolation.patch
===================================================================
--- disable-context-isolation.patch (rev 0)
+++ disable-context-isolation.patch 2022-07-10 08:41:39 UTC (rev 1249268)
@@ -0,0 +1,10 @@
+--- a/electron/window.js
++++ b/electron/window.js
+@@ -99,6 +99,7 @@
+ backgroundColor: '#272c37',
+ tabbingIdentifier: 'rndebugger',
+ webPreferences: {
++ contextIsolation: false,
+ nodeIntegration: true,
+ enableRemoteModule: true,
+ },
Modified: react-native-debugger.js
===================================================================
--- react-native-debugger.js 2022-07-10 08:24:48 UTC (rev 1249267)
+++ react-native-debugger.js 2022-07-10 08:41:39 UTC (rev 1249268)
@@ -1,4 +1,4 @@
-#!/usr/bin/electron
+#!/usr/bin/electron12
const name = "react-native-debugger";
More information about the arch-commits
mailing list