vrcx: 2025-01-27T00.10-0ee8137 -> 2025.01.31 (#379068)
This commit is contained in:
@@ -6,10 +6,11 @@
|
||||
}:
|
||||
let
|
||||
pname = "vrcx";
|
||||
version = "2025-01-27T00.10-0ee8137";
|
||||
version = "2025.01.31";
|
||||
filename = builtins.replaceStrings [ "." ] [ "" ] version;
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Natsumi-sama/VRCX/releases/download/${version}/VRCX_${version}.AppImage";
|
||||
hash = "sha256-kaQOME3jBLr7QJjc7rubNqFu3z+LmiP+UHe2EWYC7ek=";
|
||||
hash = "sha256-hrAsy/yv8GW0mIDA5PJLUs4EYNufPiOplLlmb9pFwX4=";
|
||||
url = "https://github.com/vrcx-team/VRCX/releases/download/v${version}/VRCX_${filename}.AppImage";
|
||||
};
|
||||
appimageContents = appimageTools.extract {
|
||||
inherit pname src version;
|
||||
@@ -19,12 +20,13 @@ appimageTools.wrapType2 rec {
|
||||
inherit pname version src;
|
||||
extraPkgs = pkgs: [ dotnet-runtime ];
|
||||
extraInstallCommands = ''
|
||||
install -m 444 -D ${appimageContents}/vrcx.desktop $out/share/applications/vrcx.desktop
|
||||
install -m 444 -D ${appimageContents}/vrcx.desktop \
|
||||
$out/share/applications/vrcx.desktop
|
||||
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/256x256/apps/vrcx.png \
|
||||
$out/share/icons/hicolor/256x256/apps/vrcx.png
|
||||
|
||||
substituteInPlace $out/share/applications/vrcx.desktop \
|
||||
--replace-fail 'Exec=AppRun' 'Exec=${pname}'
|
||||
# Fix icon path
|
||||
substituteInPlace $out/share/applications/vrcx.desktop \
|
||||
--replace-fail 'Icon=VRCX' "Icon=$out/share/icons/hicolor/256x256/apps/vrcx.png"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user