Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
0b9400ec4b |
4
.github/workflows/scripts/butler_push.sh
vendored
4
.github/workflows/scripts/butler_push.sh
vendored
@@ -12,7 +12,7 @@ elif [ "$BUILD_OS" = "windows" ]; then
|
||||
butler_exe=butler.exe
|
||||
release_dir="windows"
|
||||
elif [ "$BUILD_OS" = "macos" ]; then
|
||||
butler_channel=mac-universal
|
||||
butler_channel=darwin-amd64
|
||||
butler_exe=butler
|
||||
release_dir="macos"
|
||||
fi
|
||||
@@ -25,4 +25,4 @@ unzip butler.zip
|
||||
chmod +x ${butler_exe}
|
||||
# just a sanity check run (and also helpful in case you're sharing CI logs)
|
||||
./${butler_exe} -V
|
||||
./${butler_exe} push "build/Blades of Exile/" nqn/blades-of-exile:${butler_channel}
|
||||
./${butler_exe} push "build/Blades of Exile/" nqn/blades-of-exile:${release_dir}
|
||||
|
@@ -93,16 +93,18 @@ std::vector<fs::path> all_scen_dirs() {
|
||||
// and Itch meta files
|
||||
// (designers might want to ship a README.txt)
|
||||
fs::path itch_apps_path = scenDir/".."/".."/"itch"/"apps";
|
||||
for(fs::directory_iterator app_iter(itch_apps_path); app_iter != fs::directory_iterator(); app_iter++){
|
||||
fs::path app = *app_iter;
|
||||
for(fs::directory_iterator file_iter(app); file_iter != fs::directory_iterator(); file_iter++){
|
||||
fs::path file = *file_iter;
|
||||
if(file.extension() == ".boes"){
|
||||
scen_dirs.push_back(*app_iter);
|
||||
break;
|
||||
}else if(file.extension() == ".itch"){
|
||||
}else if(file.extension() != ".txt"){
|
||||
break;
|
||||
if(fs::is_directory(itch_apps_path)){
|
||||
for(fs::directory_iterator app_iter(itch_apps_path); app_iter != fs::directory_iterator(); app_iter++){
|
||||
fs::path app = *app_iter;
|
||||
for(fs::directory_iterator file_iter(app); file_iter != fs::directory_iterator(); file_iter++){
|
||||
fs::path file = *file_iter;
|
||||
if(file.extension() == ".boes"){
|
||||
scen_dirs.push_back(*app_iter);
|
||||
break;
|
||||
}else if(file.extension() == ".itch"){
|
||||
}else if(file.extension() != ".txt"){
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user