depot/third_party/nixpkgs/pkgs/by-name/po/poptracker/assets-path.diff
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

12 lines
580 B
Diff

diff --git a/src/poptracker.cpp b/src/poptracker.cpp
index dbf477b..6ccfac2 100644
--- a/src/poptracker.cpp
+++ b/src/poptracker.cpp
@@ -217,6 +217,7 @@ PopTracker::PopTracker(int argc, char** argv, bool cli, const json& args)
Pack::addOverrideSearchPath(os_pathcat(appPath, "user-override")); // portable/system overrides
Assets::addSearchPath(os_pathcat(appPath, "assets")); // system assets
}
+ Assets::addSearchPath("@assets@");
_asio = new asio::io_service();
HTTP::certfile = asset("cacert.pem"); // https://curl.se/docs/caextract.html