VERY experimental Nintendo Switch 2 emulator
C++
[ci] push sources on every master push (#3007)
crueterb7584cb2c3ba
diff --git a/.github/workflows/sources.yml b/.github/workflows/sources.ymlnew file mode 100644index 0000000000..20cb03c449--- /dev/null+++ b/.github/workflows/sources.yml@@ -0,0 +1,19 @@+name: tx-src++on:+ push:+ branches: [ master ]++jobs:+ license-header:+ runs-on: source+ steps:+ - uses: actions/checkout@v4+ with:+ fetch-depth: 0++ - name: Push New Sources+ run: |+ export PATH=/usr/lib/qt6/bin:$PATH+ ./tools/translations/qt-source.sh+ tx-cli push -sdiff --git a/tools/translations/lupdate.sh b/tools/translations/lupdate.shdeleted file mode 100755index 0442d25d02..0000000000--- a/tools/translations/lupdate.sh+++ /dev/null@@ -1,14 +0,0 @@-#!/bin/sh--# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project-# SPDX-License-Identifier: GPL-3.0-or-later--for i in dist/languages/*.ts; do- SRC=en_US- TARGET=`head -n1 $i | awk -F 'language="' '{split($2, a, "\""); print a[1]}'`-- # requires fd- SOURCES=`fd . src/yuzu src/qt_common -tf -e ui -e cpp -e h -e plist`-- lupdate -source-language $SRC -target-language $TARGET $SOURCES -ts /data/code/eden/$i-donediff --git a/tools/translations/qt-source.sh b/tools/translations/qt-source.shindex 3480070624..89c881d8c0 100755--- a/tools/translations/qt-source.sh+++ b/tools/translations/qt-source.sh@@ -3,10 +3,7 @@# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project# SPDX-License-Identifier: GPL-3.0-or-later-SRC=en_US-TARGET=en_US+SOURCES=$(find src/yuzu src/qt_common -type f \( -name "*.ui" -o -name "*.cpp" -o -name "*.h" -o -name "*.plist" \))-# requires fd-SOURCES=`fd . src/yuzu src/qt_common -tf -e ui -e cpp -e h -e plist`--lupdate -source-language $SRC -target-language $TARGET $SOURCES -ts dist/languages/en.ts+# shellcheck disable=SC2086+lupdate -source-language en_US -target-language en_US $SOURCES -ts dist/languages/en.ts\ No newline at end of file