-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix Gnome Shell app menu name and icon for copr packages.
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ VCS: {{{ git_dir_vcs }}} | |
Source0: {{{ git_dir_pack }}} | ||
Source1: {{{ git_pack path=cbeta_gaiji dir_name=cbeta_gaiji }}} | ||
|
||
BuildRequires: jq | ||
BuildRequires: wget | ||
BuildRequires: make | ||
BuildRequires: python3 | ||
|
@@ -43,9 +44,13 @@ wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash | |
. ~/.nvm/nvm.sh | ||
nvm install 14 | ||
cd %{name} | ||
cat package.json | jq '.name="io.github.mrmyhuang.cbetar2"' > temp | ||
mv temp package.json | ||
npm i | ||
npm run build-electron | ||
#npx electron-builder install-app-deps | ||
cat package.json | jq '.name="io.github.mrmyhuang.cbetar2"' > temp | ||
mv temp package.json | ||
npx electron-packager . %{name} --overwrite --prune=true --asar.unpackDir node_modules/node1-libxmljsmt-myh --ignore '^\/(?!(package\.json|node_modules(?!(.*\.(h|cc|cpp|c|mk|a)))|buildElectron))' --icon buildElectron/icon.png | ||
electronPackagePath=$(ls -d ./%{name}-linux-*) | ||
cp -v electronBuilderConfigs/IsNoUpdater.txt ${electronPackagePath}/resources | ||
|
@@ -89,7 +94,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml | |
|
||
%changelog | ||
* Wed Apr 21 2022 Meng-Yuan Huang <[email protected]> 19.2.0-1 | ||
- 19.2.0: Update Electron to 18.1.0. | ||
- 19.2.0: Fix Gnome Shell app menu name and icon. | ||
|
||
* Wed Apr 20 2022 Meng-Yuan Huang <[email protected]> 19.1.0-2 | ||
- 19.1.0: Initial release on COPR. |