Skip to content

Commit

Permalink
feat: 网站统计
Browse files Browse the repository at this point in the history
  • Loading branch information
027xiguapi committed Mar 1, 2024
1 parent 1a2cf23 commit f0aff8d
Show file tree
Hide file tree
Showing 22 changed files with 35 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pear-rec/desktop",
"version": "1.3.12",
"version": "1.3.13",
"main": "dist-electron/main/index.js",
"description": "pear-rec",
"author": "027xiguapi",
Expand Down
4 changes: 4 additions & 0 deletions packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @pear-rec/web

## 1.4.10

feat: 网站统计

## 1.4.9

fix: vite 加载 worker.js bug
Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pear-rec/web",
"private": true,
"version": "1.4.7",
"version": "1.4.10",
"scripts": {
"dev": "vite",
"build": "rimraf dist && tsc && vite build",
Expand Down
7 changes: 7 additions & 0 deletions packages/web/public/js/tongji.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src = 'https://hm.baidu.com/hm.js?203d35a562e8ebca24b72e2ceb57bac7';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
1 change: 1 addition & 0 deletions packages/web/src/pages/canvas.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 画布</title>
<link rel="stylesheet" href="/css/style.css">
<script src="/js/mp4-muxer.js" defer></script>
Expand Down
3 changes: 2 additions & 1 deletion packages/web/src/pages/clipScreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 录屏</title>
</head>

Expand All @@ -13,4 +14,4 @@
<script type="module" src="./clipScreen/index.tsx"></script>
</body>

</html>
</html>
1 change: 1 addition & 0 deletions packages/web/src/pages/editGif.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | GIF</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/editImage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 编辑图片</title>
</head>

Expand Down
3 changes: 2 additions & 1 deletion packages/web/src/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 首页</title>
</head>

Expand All @@ -13,4 +14,4 @@
<script type="module" src="./home/index.tsx"></script>
</body>

</html>
</html>
1 change: 1 addition & 0 deletions packages/web/src/pages/pinImage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 图片</title>
</head>

Expand Down
3 changes: 2 additions & 1 deletion packages/web/src/pages/pinVideo.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 视频</title>
</head>

Expand All @@ -13,4 +14,4 @@
<script type="module" src="./pinVideo/index.tsx"></script>
</body>

</html>
</html>
1 change: 1 addition & 0 deletions packages/web/src/pages/recorderAudio.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 录音</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/recorderFullScreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 录屏</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/recorderScreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 录屏</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/recorderVideo.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 录像</title>
</head>

Expand Down
3 changes: 2 additions & 1 deletion packages/web/src/pages/records.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 记录</title>
</head>

Expand All @@ -13,4 +14,4 @@
<script type="module" src="./records/index.tsx"></script>
</body>

</html>
</html>
1 change: 1 addition & 0 deletions packages/web/src/pages/setting.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 设置</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/shotScreen.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 截图</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/spliceImage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 拼图</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/viewAudio.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 音频</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/viewImage.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 图片</title>
</head>

Expand Down
1 change: 1 addition & 0 deletions packages/web/src/pages/viewVideo.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/imgs/logo/favicon.ico" />
<script type="text/javascript" src="/js/tongji.js"></script>
<title>pear-rec | 视频</title>
</head>

Expand Down

0 comments on commit f0aff8d

Please sign in to comment.