Valheim - Changed update soruce for BepInEx (#261)

* Changed update soruce for BepInEx

* Fixed Update soruce for BepInEx

* Added delete after extract

* fixed typo

* Really fixed the windows copy this time...
This commit is contained in:
Geramie Kuba 2022-12-30 09:21:52 -07:00 committed by GitHub
parent fdea980d30
commit 737e2861c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,26 +21,34 @@
"UpdateSourceArgs": "-c \"mv {{$FullBaseDir}}/Data/ {{$FullBaseDir}}/Saves/\"" "UpdateSourceArgs": "-c \"mv {{$FullBaseDir}}/Data/ {{$FullBaseDir}}/Saves/\""
}, },
{ {
"UpdateStageName": "Fetch BepInEx from Github - Windows", "UpdateStageName": "Fetch BepInEx from Thunderstore",
"UpdateSourcePlatform": "Windows", "UpdateSourcePlatform": "All",
"UpdateSource": "GithubRelease", "UpdateSource": "FetchURL",
"UpdateSourceArgs": "BepInEx/BepInEx", "UpdateSourceData": "https://valheim.thunderstore.io/package/download/denikson/BepInExPack_Valheim/5.4.1901/",
"UpdateSourceData": "BepInEx_x64_5.4.21.0.zip", "UpdateSourceArgs": "denikson-BepInExPack_Valheim-5.4.1901.zip",
"UpdateSourceConditionSetting": "bepinex_install", "UpdateSourceConditionSetting": "bepinex_install",
"UpdateSourceConditionValue": "true", "UpdateSourceConditionValue": "true",
"UnzipUpdateSource": true, "UnzipUpdateSource": true,
"OverwriteExistingFiles": true "OverwriteExistingFiles": true,
"DeleteAfterExtract": true
}, },
{ {
"UpdateStageName": "Fetch BepInEx from Github - Linux", "UpdateStageName": "BepInEx Copy",
"UpdateSourcePlatform": "Linux", "UpdateSourcePlatform": "Windows",
"UpdateSource": "GithubRelease", "UpdateSource": "Executable",
"UpdateSourceArgs": "BepInEx/BepInEx", "UpdateSourceData": "cmd.exe",
"UpdateSourceData": "BepInEx_unix_5.4.21.0.zip", "UpdateSourceArgs": "/C xcopy /E /Y /I Valheim\\896660\\BepInExPack_Valheim\\* Valheim\\896660\\ && rmdir /Q /S Valheim\\896660\\BepInExPack_Valheim",
"UpdateSourceConditionSetting": "bepinex_install", "UpdateSourceConditionSetting": "bepinex_install",
"UpdateSourceConditionValue": "true", "UpdateSourceConditionValue": "true"
"UnzipUpdateSource": true, },
"OverwriteExistingFiles": true {
"UpdateStageName": "BepInEx Copy",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"cp -rf ./Valheim/896660/BepInExPack_Valheim/* ./Valheim/896660/ && rm -rf ./Valheim/896660/BepInExPack_Valheim/\"",
"UpdateSourceConditionSetting": "bepinex_install",
"UpdateSourceConditionValue": "true"
}, },
{ {
"UpdateStageName": "Fetch ValheimPlus from Github - Windows", "UpdateStageName": "Fetch ValheimPlus from Github - Windows",