Skip to content

Commit

Permalink
chore: update Electron to latest version
Browse files Browse the repository at this point in the history
Verified via the REPL that plots still render.
  • Loading branch information
kgryte committed Jul 20, 2023
1 parent ff1557b commit d333681
Show file tree
Hide file tree
Showing 21 changed files with 34 additions and 15 deletions.
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_darwin_arm64_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1cc5e9b6451757ada1c07130b9454164d4206cf92595708fb6fc9ebff030f860
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_darwin_x64_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
66c86c8651c4699b069fde53d5fcbf8887a2573c27e3eefc655462b27c047d07
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_linux_arm64_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2ae9fd05ffe59d59586d9e8afdbb45381971d964527123506ae08e2411872b4d
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_linux_armv7l_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6c837332b63a973304b1eaf769bd4054ee972f4b8a74832053715959e1555a15
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_linux_x64_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
36f139c779ae0c0abc7227e9e3d65f34b8dfc3a0e4d40beb18bdf31750d4ca74
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_mas_arm64_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b78d6d997a88f30e7620c678898f6046a547534bee16f563cde39d6fc2ab75f7
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_mas_x64_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a27647f28916ed852e02bcb037351bb7a3ec37fad0fce3f0120a3b49f0e768e9
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_win32_arm64_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f2197ca61f23c8e54c2409cecab4e701aad680d6e08c88c1bfaf71fc0b8ae2a0
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_win32_ia32_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c377d1fe50de0e49f937f9bf2db92750340565e306cfd895bc8ab1422fc5d1e3
1 change: 1 addition & 0 deletions deps/checksums/electron_v25_3_1_win32_x64_zip/sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f94b0099c2d81c914a65ba7b6c0d776f68cfee7d5438d57b3911497ca4ca37bf
1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_darwin_x64_zip/sha256

This file was deleted.

1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_linux_arm64_zip/sha256

This file was deleted.

1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_linux_armv7l_zip/sha256

This file was deleted.

1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_linux_ia32_zip/sha256

This file was deleted.

1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_linux_x64_zip/sha256

This file was deleted.

1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_mas_x64_zip/sha256

This file was deleted.

1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_win32_arm64_zip/sha256

This file was deleted.

1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_win32_ia32_zip/sha256

This file was deleted.

1 change: 0 additions & 1 deletion deps/checksums/electron_v6_0_10_win32_x64_zip/sha256

This file was deleted.

28 changes: 23 additions & 5 deletions docs/updating_dependencies.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
<!--
@license Apache-2.0
Copyright (c) 2023 The Stdlib Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

# Updating Dependencies

> A guide to updating project dependencies.
Expand All @@ -14,13 +34,11 @@ To update [Electron][electron], perform the following steps:

If updating [Electron][electron] **will** introduce breaking changes, assess the implications to the project and determine whether the changes affect internal project usage or will cause downstream effects for project consumers. If the former, assess whether refactoring to accommodate the changes is possible. In both scenarios, consult with a project lead to determine an update strategy.

2. Update the configuration file found in `/etc` for David, a package which monitors npm for new releases, to use the desired [Electron][electron] version.
2. Update the default `DEPS_ELECTRON_VERSION` Makefile environment variable value to the desired [Electron][electron] version.

3. Update the default `DEPS_ELECTRON_VERSION` Makefile environment variable value to the desired [Electron][electron] version.
3. For each [Electron][electron] checksum found in `/deps/checksums`, rename the folder to the desired [Electron][electron] version and update the checksum for each target platform. If [Electron][electron] adds support for a new target platform, add the checksum. If [Electron][electron] removes support for a target platform, remove the existing checksum.

4. For each [Electron][electron] checksum found in `/deps/checksums`, rename the folder to the desired [Electron][electron] version and update the checksum for each target platform. If [Electron][electron] adds support for a new target platform, add the checksum. If [Electron][electron] removes support for a target platform, remove the existing checksum.

5. Commit the changes.
4. Commit the changes.

## Node Modules

Expand Down
2 changes: 1 addition & 1 deletion tools/make/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ endif
endif

# Define the Electron version:
DEPS_ELECTRON_VERSION ?= 6.0.10
DEPS_ELECTRON_VERSION ?= 25.3.1

# Generate a version slug:
deps_electron_version_slug := $(subst .,_,$(DEPS_ELECTRON_VERSION))
Expand Down

0 comments on commit d333681

Please sign in to comment.