🏡 index : github.com/captn3m0/which-electron.git

author Nemo <commits@captnemo.in> 2022-01-11 14:24:33.0 +05:30:00
committer Nemo <commits@captnemo.in> 2022-01-11 14:24:52.0 +05:30:00
commit
2f25c0682c87ac4f02424312f5307a61b87eca6f [patch]
tree
69a0433b5da09061627028554b2ce53cd97717aa
parent
094730471a013d444cbfc6c83ede9845bf1628cb
download
2f25c0682c87ac4f02424312f5307a61b87eca6f.tar.gz

Mark Electron v12 as unsupported



Diff

 CHANGELOG.md              | 4 ++++
 package.json              | 2 +-
 _scripts/gen_versions.php | 4 ++++
 src/versions.json         | 1 -
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2caa236..98ab91f 100644
--- a/CHANGELOG.md
+++ a/CHANGELOG.md
@@ -1,8 +1,12 @@
# Changelog

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.6
### Changed
- Electron v12 is no longer marked as supported

## 1.0.5

### Changed
diff --git a/package.json b/package.json
index e0115ba..5e9ee0c 100644
--- a/package.json
+++ a/package.json
@@ -1,6 +1,6 @@
{
  "name": "which-electron",
  "version": "1.0.7",
  "version": "1.0.8",
  "description": "Guess which electron version is bundled in an application",
  "main": "src/index.js",
  "bin": {
diff --git a/_scripts/gen_versions.php b/_scripts/gen_versions.php
index 25ecd77..df6ecfc 100644
--- a/_scripts/gen_versions.php
+++ a/_scripts/gen_versions.php
@@ -1,7 +1,9 @@
<?php

const VERSION_EXCLUDE = ['nightly', 'beta', 'alpha'];
const SUPPORTED_MAJOR_VERSIONS = [12, 13, 14, 15, 16];
// The latest four stable major versions are currently supported
// till May 2022, after which only 3 major versions will be supported
const SUPPORTED_MAJOR_VERSIONS = [13, 14, 15, 16];

function get_versions() {
    `rm -rf electron-src`;
diff --git a/src/versions.json b/src/versions.json
index 52c339b..8fb88c7 100644
--- a/src/versions.json
+++ a/src/versions.json
@@ -1,6 +1,5 @@
{
    "supported": [
        "v12.2.3",
        "v13.6.6",
        "v14.2.3",
        "v15.3.4",