File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 env :
3939 GH_TOKEN : ${{ github.token }}
4040 run : |
41+ PLUGIN_DIR="./Refs/Plugins"
42+ mkdir -p "$PLUGIN_DIR"
4143 download_mod() {
4244 local dll="$1" repo="$2" tag="$3"
43- if [ -f "$BEATSABER_PATH/Plugins /${dll}.dll" ]; then
45+ if [ -f "${PLUGIN_DIR} /${dll}.dll" ]; then
4446 echo "${dll}.dll already present, skipping"
4547 return
4648 fi
5658 echo "::error::${dll}.dll not found in release archive for ${repo} ${tag}"
5759 exit 1
5860 fi
59- cp "$found" "$BEATSABER_PATH/Plugins /${dll}.dll"
61+ cp "$found" "${PLUGIN_DIR} /${dll}.dll"
6062 echo "Installed ${dll}.dll"
6163 }
6264 DP_VER=$(jq -r '.dependsOn.DataPuller | ltrimstr("^") | ltrimstr("~")' manifest.json)
Original file line number Diff line number Diff line change 3838 env :
3939 GH_TOKEN : ${{ github.token }}
4040 run : |
41+ PLUGIN_DIR="./Refs/Plugins"
42+ mkdir -p "$PLUGIN_DIR"
4143 download_mod() {
4244 local dll="$1" repo="$2" tag="$3"
43- if [ -f "$BEATSABER_PATH/Plugins /${dll}.dll" ]; then
45+ if [ -f "${PLUGIN_DIR} /${dll}.dll" ]; then
4446 echo "${dll}.dll already present, skipping"
4547 return
4648 fi
5658 echo "::error::${dll}.dll not found in release archive for ${repo} ${tag}"
5759 exit 1
5860 fi
59- cp "$found" "$BEATSABER_PATH/Plugins /${dll}.dll"
61+ cp "$found" "${PLUGIN_DIR} /${dll}.dll"
6062 echo "Installed ${dll}.dll"
6163 }
6264 DP_VER=$(jq -r '.dependsOn.DataPuller | ltrimstr("^") | ltrimstr("~")' manifest.json)
Original file line number Diff line number Diff line change 3333 env :
3434 GH_TOKEN : ${{ github.token }}
3535 run : |
36+ PLUGIN_DIR="./Refs/Plugins"
37+ mkdir -p "$PLUGIN_DIR"
3638 download_mod() {
3739 local dll="$1" repo="$2" tag="$3"
38- if [ -f "$BEATSABER_PATH/Plugins /${dll}.dll" ]; then
40+ if [ -f "${PLUGIN_DIR} /${dll}.dll" ]; then
3941 echo "${dll}.dll already present, skipping"
4042 return
4143 fi
5153 echo "::error::${dll}.dll not found in release archive for ${repo} ${tag}"
5254 exit 1
5355 fi
54- cp "$found" "$BEATSABER_PATH/Plugins /${dll}.dll"
56+ cp "$found" "${PLUGIN_DIR} /${dll}.dll"
5557 echo "Installed ${dll}.dll"
5658 }
5759 DP_VER=$(jq -r '.dependsOn.DataPuller | ltrimstr("^") | ltrimstr("~")' manifest.json)
You can’t perform that action at this time.
0 commit comments