Fix electron version checking
This commit is contained in:
1 parent
67ab3e50ff
commit
60b4040f11
13 files changed
+1783
-144
No files matched your search
@@ -103,7 +103,6 @@ if [ -f "package.json" ]; then
|
||||
VERSION=$(grep '"version"' package.json | sed 's/.*"version": *"\([^"]*\)".*/\1/')
|
||||
if [ -n "$VERSION" ]; then
|
||||
export VERSION
|
||||
echo "Detected version: $VERSION"
|
||||
else
|
||||
echo "Warning: Could not extract version from package.json"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user