pi-courier 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/deploy/docker/Dockerfile
CHANGED
|
@@ -22,7 +22,7 @@ ENV https_proxy=${HTTPS_PROXY} \
|
|
|
22
22
|
|
|
23
23
|
# pi-courier 版本:发新版本后更新此值 —— RUN 层指令文本随之变化,
|
|
24
24
|
# docker 缓存自动失效,不会装到旧版(避免"升级了但镜像还是旧代码"的坑)
|
|
25
|
-
ARG PI_COURIER_VERSION=0.1.
|
|
25
|
+
ARG PI_COURIER_VERSION=0.1.15
|
|
26
26
|
|
|
27
27
|
# 仅需要 ca-certificates(npm install 走 https;git 由 runtime 层负责)
|
|
28
28
|
RUN apt-get update \
|
|
@@ -42,7 +42,7 @@ export class MatrixProvider {
|
|
|
42
42
|
let cryptoProvider;
|
|
43
43
|
if (this.config.encryption !== false) {
|
|
44
44
|
try {
|
|
45
|
-
const cryptoStorePath = path.join(os.homedir(), ".pi", "
|
|
45
|
+
const cryptoStorePath = path.join(os.homedir(), ".pi", "pi-courier-matrix-crypto");
|
|
46
46
|
cryptoProvider = new RustSdkCryptoStorageProvider(cryptoStorePath, 0 /* RustSdkCryptoStoreType.Sqlite */);
|
|
47
47
|
console.log("[Matrix] E2EE crypto storage enabled (Rust/SQLite)");
|
|
48
48
|
}
|
package/package.json
CHANGED