0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-06-05 08:11:16 +00:00
Files
termux-packages/x11-packages/electron-host-tools-for-code-oss/electron-patches/9001-electron-getversion-from-file.patch
2025-05-12 15:06:25 +08:00

13 lines
448 B
Diff

We pass `--no-history` to gclient, so there will be no version for electron.
--- a/electron/script/get-git-version.py
+++ b/electron/script/get-git-version.py
@@ -20,7 +20,7 @@
try:
output = subprocess.check_output(
- ['git', 'describe', '--tags', '--abbrev=0'],
+ ['cat', 'ELECTRON_VERSION'],
cwd=os.path.abspath(os.path.join(os.path.dirname(__file__), '..')),
stderr=subprocess.PIPE,
universal_newlines=True)