trezor-suite: Remove deprecated use of --replace
The install script uses `substituteInPlace` with the deprecated `--replace` option. Since it must modify the `Exec` line of the desktop file to launch, the option has been changed to `--replace-fail`.
This commit is contained in:
@@ -42,7 +42,7 @@ appimageTools.wrapType2 rec {
|
||||
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
|
||||
install -m 444 -D ${appimageContents}/resources/images/desktop/512x512.png $out/share/icons/hicolor/512x512/apps/${pname}.png
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace 'Exec=AppRun --no-sandbox %U' 'Exec=${pname}'
|
||||
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=${pname}'
|
||||
|
||||
# symlink system binaries instead bundled ones
|
||||
mkdir -p $out/share/${pname}/resources/bin/{bridge,tor}
|
||||
|
||||
Reference in New Issue
Block a user