Skip to content

Commit

Permalink
CI: Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Sep 30, 2023
1 parent 1611885 commit 7c102ec
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rolling-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,15 @@ jobs:

- name: Generate AppStream XML
run: |
scripts/generate-metainfo.sh scripts/flatpak/org.duckstation.duckstation.metainfo.xml
cat scripts/flatpak/org.duckstation.duckstation.metainfo.xml
flatpak run org.freedesktop.appstream-glib validate scripts/flatpak/org.duckstation.duckstation.metainfo.xml
scripts/generate-metainfo.sh scripts/flatpak
cat scripts/flatpak/org.duckstation.DuckStation.metainfo.xml
flatpak run org.freedesktop.appstream-glib validate scripts/flatpak/org.duckstation.DuckStation.metainfo.xml
- name: Build Flatpak
uses: flatpak/flatpak-github-actions/[email protected]
with:
bundle: duckstation-x64.flatpak
manifest-path: scripts/flatpak/org.duckstation.duckstation.json
manifest-path: scripts/flatpak/org.duckstation.DuckStation.json
arch: x86_64
build-bundle: true
verbose: true
Expand Down
1 change: 1 addition & 0 deletions src/core/achievements.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "common/small_string.h"
#include "common/types.h"

#include <mutex>
#include <string>
#include <utility>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/duckstation-nogui/nogui_host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ bool NoGUIHost::InitializeConfig(std::string settings_filename)
if (!Log::IsConsoleOutputEnabled() &&
s_base_settings_interface->GetBoolValue("Logging", "LogToConsole", Settings::DEFAULT_LOG_TO_CONSOLE))
{
Log::SetConsoleOutputParams(true, nullptr, LOGLEVEL_NONE);
Log::SetConsoleOutputParams(true, s_base_settings_interface->GetBoolValue("Logging", "LogTimestamps", true));
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion src/duckstation-regtest/regtest_host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ bool RegTestHost::ParseCommandLineParameters(int argc, char* argv[], std::option
return false;
}

Log::SetConsoleOutputParams(true, nullptr, level.value());
Log::SetConsoleOutputParams(true, level.value());
s_base_settings_interface->SetStringValue("Logging", "LogLevel", Settings::GetLogLevelName(level.value()));
continue;
}
Expand Down
2 changes: 0 additions & 2 deletions src/updater/cocoa_main.mm
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ int main(int argc, char* argv[])
const ProcessSerialNumber psn = {0, kCurrentProcess};
TransformProcessType(&psn, kProcessTransformToForegroundApplication);

Log::SetConsoleOutputParams(true, "", LOGLEVEL_DEBUG);

CocoaProgressCallback progress;

if (argc != 4)
Expand Down

0 comments on commit 7c102ec

Please sign in to comment.