From bb203afaeb8d54d7d816f51f07907f9db5a4c749 Mon Sep 17 00:00:00 2001 From: Savsis Date: Wed, 6 May 2026 00:21:50 +0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5fb76db..6b9c942 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,6 @@ jobs: - name: Install dependencies run: | npm install --legacy-peer-deps --ignore-scripts - # Ставим потерянные либы принудительно npm install react-native-svg expo-updates --legacy-peer-deps --ignore-scripts - name: Prepare app.json @@ -55,6 +54,18 @@ jobs: }; EOF + - name: Patch Player Syntax + run: | + node -e " + const fs = require('fs'); + const p = 'components/Player.tsx'; + if (fs.existsSync(p)) { + let c = fs.readFileSync(p, 'utf8'); + c = c.replace(/]*>\{fmt\(progress\)\}<\/Text>\s*]*>\{fmt\(duration\)\}<\/Text>/, m => '<>' + m + ''); + fs.writeFileSync(p, c, 'utf8'); + } + " + - name: Expo prebuild run: npx expo prebuild --platform ios --clean --no-install