refactor(stage-tamagotchi): rewrite it in rust (#90)

* chore: create tauri project, let window transparent

* chore: fix i18n

* chore: remove cocoa

* feat: open settings window

* feat: window controls shortcuts

* feat: system tray

* chore: install dependencies
This commit is contained in:
LemonNeko
2025-03-24 03:03:14 +08:00
committed by GitHub
parent 06a021b9de
commit 758e30a123
82 changed files with 11325 additions and 7 deletions
+26
View File
@@ -0,0 +1,26 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>アイリ</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta
http-equiv="Content-Security-Policy"
content="
default-src 'self';
script-src-elem 'self' 'unsafe-eval' https://cdn.jsdelivr.net/;
script-src 'self' 'unsafe-eval';
style-src 'self' 'unsafe-inline';
img-src 'self' data: blob:;
font-src 'self' https://fonts.gstatic.com/;
connect-src 'self' https://cdn.jsdelivr.net/ blob: https://openrouter.ai/"
/>
<script src="/assets/js/CubismSdkForWeb-5-r.1/Core/live2dcubismcore.min.js"></script>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>