Release: fix portable runtime and updater
This commit is contained in:
1 parent
659e4467e0
commit
978930f4d2
5 files changed
+45
-6
No files matched your search
@@ -101,11 +101,19 @@ int main()
|
||||
const auto packagedIndex =
|
||||
installRoot / "share" / "echoion" / "web" / "index.html";
|
||||
check(writeFile(packagedIndex), "failed to create packaged web fixture");
|
||||
check(
|
||||
Echoion::Standalone::runtimeWorkingDirectory(installRoot,
|
||||
executableDirectory) ==
|
||||
installRoot / "share" / "echoion",
|
||||
"packaged web root did not select share/echoion as working directory");
|
||||
check(Echoion::Standalone::runtimeWorkingDirectory(
|
||||
installRoot, executableDirectory) == installRoot,
|
||||
"packaged web root did not select the installation root as working "
|
||||
"directory");
|
||||
const auto bundledCertificates =
|
||||
installRoot / "share" / "echoion" / "certs" / "ca-certificates.crt";
|
||||
check(!Echoion::Standalone::bundledCertificateBundle(installRoot),
|
||||
"missing bundled certificate store was accepted");
|
||||
check(writeFile(bundledCertificates),
|
||||
"failed to create bundled certificate store fixture");
|
||||
check(Echoion::Standalone::bundledCertificateBundle(installRoot) ==
|
||||
bundledCertificates,
|
||||
"bundled certificate store was not resolved from the install root");
|
||||
std::filesystem::remove_all(installRoot / "share");
|
||||
const auto developmentIndex = executableDirectory / "web" / "index.html";
|
||||
check(writeFile(developmentIndex),
|
||||
|
||||
Reference in new issue
Block a user