diff --git a/rpms/nodejs-electron11-bin/LICENSE b/rpms/nodejs-electron11-bin/LICENSE new file mode 100644 index 0000000..536d54e --- /dev/null +++ b/rpms/nodejs-electron11-bin/LICENSE @@ -0,0 +1,21 @@ +Copyright (c) Electron contributors +Copyright (c) 2013-2020 GitHub Inc. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/rpms/nodejs-electron11-bin/electron11-launcher.sh b/rpms/nodejs-electron11-bin/electron11-launcher.sh index 7efcdd7..472be92 100644 --- a/rpms/nodejs-electron11-bin/electron11-launcher.sh +++ b/rpms/nodejs-electron11-bin/electron11-launcher.sh @@ -2,7 +2,7 @@ set -euo pipefail -name=electron9 +name=electron11 flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/${name}-flags.conf" declare -a flags diff --git a/rpms/nodejs-electron11-bin/nodejs-electron11-bin.spec b/rpms/nodejs-electron11-bin/nodejs-electron11-bin.spec index 52a9231..424a15d 100644 --- a/rpms/nodejs-electron11-bin/nodejs-electron11-bin.spec +++ b/rpms/nodejs-electron11-bin/nodejs-electron11-bin.spec @@ -4,7 +4,8 @@ Release: 1%{?dist} Summary: Build cross-platform desktop apps with JavaScript, HTML, and CSS License: MIT Url: https://github.com/electron/electron -Source0: %{url}/releases/download/v%{version}/electron-v%{version}-linux-x64.zip +Source0: https://npmmirror.com/mirrors/electron/v%{version}/electron-v%{version}-linux-x64.zip +# You can find original source here: https://github.com/electron/electron/releases Source1: electron11-launcher.sh Source2: https://raw.githubusercontent.com/electron/electron/main/LICENSE