Stop using npm to get version number/name

This commit is contained in:
Difegue 2023-05-17 18:25:22 +02:00
parent 6a63e50849
commit dd7cbb1a0b

View File

@ -261,8 +261,8 @@ namespace Karen.Interop
private string GetVersion()
{
// Use the included get-version script in LRR to get the version of the distro
// wsl.exe -d lanraragi --exec ash -c "cd /home/koyomi/lanraragi && npm run --silent get-version"
string oneLiner = "ash -c \"cd /home/koyomi/lanraragi && npm run --silent get-version\" ";
// wsl.exe -d lanraragi --exec ash -c "cd /home/koyomi/lanraragi && perl script/get_version"
string oneLiner = "ash -c \"cd /home/koyomi/lanraragi && perl script/get_version\" ";
var proc = new Process
{