Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/png" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="theme-color" content="#c9a473" />
<title>MathScrap</title>
Expand Down
Binary file modified packaging/icon-source.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions packaging/icon-source.svg

This file was deleted.

1 change: 1 addition & 0 deletions packaging/logo/SHA256SUMS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b61b9160596a0f4e7fa1a9a9296d341687b3a158e24fdf082f24c1bb208c57bf app-icon.png
Binary file added packaging/logo/app-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/favicon.svg

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/verify-packaged-dist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ need('models/comer/decoder_int8.onnx', 1_000_000)
need('models/comer/vocab.json', 100)
need('models/comer/LICENSE', 100)
need('models/comer/NOTICE.md', 50)
need('favicon.svg', 50)
need('favicon.png', 50)

const ortDir = path.join(dist, 'ort')
if (!existsSync(ortDir)) fail('dist/ort is missing. ONNX Runtime WASM was not copied into the bundle.')
Expand Down
23 changes: 23 additions & 0 deletions signing/v0.0.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# v0.0.1 公开签名材料

# v0.0.1 public signing material

这些是本机发行钥匙的公钥和指纹。私钥留在签名那台机器上,不进入仓库,也不注册到 GitHub 账户。

These are the public keys and fingerprints for the machine that signs this release. Private keys stay on that machine. They are not in the repository and they are not added to the GitHub account.

Git 提交和 annotated tag 使用 GPG Ed25519 `13E203AC53D88778AD69A9361EC5DC0B3EDBB23E`。UID 是 `DNT_OF`,没有邮箱。因此这把钥匙的有效签名不能写成 GitHub Verified。已在 `main` 上的三个提交保持原样,这个新提交不回头补签它们。

Git commits and the annotated tag use GPG Ed25519 `13E203AC53D88778AD69A9361EC5DC0B3EDBB23E`. The UID is `DNT_OF` and it has no email address, so a valid signature from this key is not GitHub Verified. The three commits already on `main` stay as they are. This new commit does not re-sign them.

Android 正式证书 SHA-256 是 `3D0E7FCAFEACF781628A29DE1D7EBCC7E2FEE58CC14A9F0D258C06776CE5F690`,alias `mathscrap-release`。它不是 CI 的 Android debug 证书。

The Android release certificate SHA-256 is `3D0E7FCAFEACF781628A29DE1D7EBCC7E2FEE58CC14A9F0D258C06776CE5F690`, alias `mathscrap-release`. It is not the CI Android debug certificate.

Windows 自签代码签名证书 SHA-256 是 `62B307F926AFE2641E306A557ACB0260A9159DA0A404A738298F01C5EC4F9F1F`。CurrentUser\My 指纹是 `75F97DC8735195D8E04A254FA906B4E1003AA65A`。系统会显示不受信任,这是预期结果。

The Windows self-signed code-signing certificate SHA-256 is `62B307F926AFE2641E306A557ACB0260A9159DA0A404A738298F01C5EC4F9F1F`. The CurrentUser\My thumbprint is `75F97DC8735195D8E04A254FA906B4E1003AA65A`. An untrusted-root warning is expected.

`SHA256SUMS` 覆盖同目录的三个公钥文件。

`SHA256SUMS` covers the three public files in this directory.
3 changes: 3 additions & 0 deletions signing/v0.0.1/SHA256SUMS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
2932a7d4a531fcf6d92da32b3efcd34215f60902e26640091295dd5a90242c3c git-signing-public.asc
3d0e7fcafeacf781628a29de1d7ebcc7e2fee58cc14a9f0d258c06776ce5f690 android-release-public.cer
62b307f926afe2641e306a557acb0260a9159da0a404a738298f01c5ec4f9f1f windows-code-signing-public.cer
Binary file added signing/v0.0.1/android-release-public.cer
Binary file not shown.
9 changes: 9 additions & 0 deletions signing/v0.0.1/git-signing-public.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mDMEau9DaBYJKwYBBAHaRw8BAQdAhRVEZcHn64PMyZ9bVx3jX1TZhv4jN8xxvAcj
fpuNp2W0BkROVF9PRoiWBBMWCgA+FiEEE+IDrFPYh3itaak2HsXcCz7bsj4FAmrv
Q2gCGwMFCQlmAYAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQHsXcCz7bsj4F
MAD+JYkDxP5iAl22KNMg90fHVQWOBMqfy3jYroY6cuSC5GYA/jahsCAlh8vZPXGZ
r2gJ7duokSmtv49lPqJjZN07DsMM
=KYFk
-----END PGP PUBLIC KEY BLOCK-----
Binary file added signing/v0.0.1/windows-code-signing-public.cer
Binary file not shown.
Binary file modified src-tauri/icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/128x128@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square107x107Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square142x142Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square150x150Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square284x284Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square30x30Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square310x310Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square44x44Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square71x71Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square89x89Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/StoreLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/android/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/android/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png
Binary file modified src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png
Binary file modified src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png
Binary file modified src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png
Binary file modified src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png
Binary file modified src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png
Binary file modified src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png
Binary file modified src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png
2 changes: 1 addition & 1 deletion src-tauri/icons/android/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#C9A473</color>
<color name="ic_launcher_background">#E7C9A7</color>
</resources>
Binary file modified src-tauri/icons/icon.icns
Binary file not shown.
Binary file modified src-tauri/icons/icon.ico
Binary file not shown.
Binary file modified src-tauri/icons/icon.png
Binary file modified src-tauri/icons/ios/AppIcon-20x20@1x.png
Binary file modified src-tauri/icons/ios/AppIcon-20x20@2x-1.png
Binary file modified src-tauri/icons/ios/AppIcon-20x20@2x.png
Binary file modified src-tauri/icons/ios/AppIcon-20x20@3x.png
Binary file modified src-tauri/icons/ios/AppIcon-29x29@1x.png
Binary file modified src-tauri/icons/ios/AppIcon-29x29@2x-1.png
Binary file modified src-tauri/icons/ios/AppIcon-29x29@2x.png
Binary file modified src-tauri/icons/ios/AppIcon-29x29@3x.png
Binary file modified src-tauri/icons/ios/AppIcon-40x40@1x.png
Binary file modified src-tauri/icons/ios/AppIcon-40x40@2x-1.png
Binary file modified src-tauri/icons/ios/AppIcon-40x40@2x.png
Binary file modified src-tauri/icons/ios/AppIcon-40x40@3x.png
Binary file modified src-tauri/icons/ios/AppIcon-512@2x.png
Binary file modified src-tauri/icons/ios/AppIcon-60x60@2x.png
Binary file modified src-tauri/icons/ios/AppIcon-60x60@3x.png
Binary file modified src-tauri/icons/ios/AppIcon-76x76@1x.png
Binary file modified src-tauri/icons/ios/AppIcon-76x76@2x.png
Binary file modified src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png
Loading