Skip to content

Commit cf5c0d9

Browse files
committed
chore: updater
1 parent c14d795 commit cf5c0d9

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

scripts/updater.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function updater() {
4242
linux: { signature: '', url: '' }, // compatible with older formats
4343
darwin: { signature: '', url: '' }, // compatible with older formats
4444
'darwin-aarch64': { signature: '', url: '' },
45-
'darwin-intel': { signature: '', url: '' },
45+
'darwin-x86_64': { signature: '', url: '' },
4646
'linux-x86_64': { signature: '', url: '' },
4747
'windows-x86_64': { signature: '', url: '' },
4848
// 'windows-i686': { signature: '', url: '' }, // no supported
@@ -74,8 +74,8 @@ async function updater() {
7474
// darwin
7575
await setAsset(asset, /.app.tar.gz/, [
7676
'darwin',
77+
'darwin-x86_64',
7778
'darwin-aarch64',
78-
'darwin-intel',
7979
]);
8080

8181
// linux

src-tauri/Cargo.toml

+1-7
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@ tauri-build = { version = "1.1.1", features = [] }
1717
[dependencies]
1818
serde_json = "1.0"
1919
serde = { version = "1.0", features = ["derive"] }
20-
tauri = { version = "1.1.1", features = [
21-
"api-all",
22-
"icon-png",
23-
"macos-private-api",
24-
"system-tray",
25-
"updater",
26-
] }
20+
tauri = { version = "1.1.1", features = ["api-all", "icon-png", "macos-private-api", "system-tray", "updater"] }
2721
thiserror = "1.0"
2822
window-vibrancy = "0.2.0"
2923

src/views/dashboard/index.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import OmbCard, { OmbIcon } from '@/components/OmbCard';
22
import SwitchLang from '@/components/SwitchLang';
3-
// import useI18n from '@/hooks/useI18n';
43

54
export default function DashboardView() {
65
// const t = useI18n(['dashboard', 'tools', 'game']);

0 commit comments

Comments
 (0)