Skip to content

Commit

Permalink
chore: updater
Browse files Browse the repository at this point in the history
  • Loading branch information
lencx committed Oct 3, 2022
1 parent c14d795 commit cf5c0d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions scripts/updater.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function updater() {
linux: { signature: '', url: '' }, // compatible with older formats
darwin: { signature: '', url: '' }, // compatible with older formats
'darwin-aarch64': { signature: '', url: '' },
'darwin-intel': { signature: '', url: '' },
'darwin-x86_64': { signature: '', url: '' },
'linux-x86_64': { signature: '', url: '' },
'windows-x86_64': { signature: '', url: '' },
// 'windows-i686': { signature: '', url: '' }, // no supported
Expand Down Expand Up @@ -74,8 +74,8 @@ async function updater() {
// darwin
await setAsset(asset, /.app.tar.gz/, [
'darwin',
'darwin-x86_64',
'darwin-aarch64',
'darwin-intel',
]);

// linux
Expand Down
8 changes: 1 addition & 7 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,7 @@ tauri-build = { version = "1.1.1", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.1.1", features = [
"api-all",
"icon-png",
"macos-private-api",
"system-tray",
"updater",
] }
tauri = { version = "1.1.1", features = ["api-all", "icon-png", "macos-private-api", "system-tray", "updater"] }
thiserror = "1.0"
window-vibrancy = "0.2.0"

Expand Down
1 change: 0 additions & 1 deletion src/views/dashboard/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import OmbCard, { OmbIcon } from '@/components/OmbCard';
import SwitchLang from '@/components/SwitchLang';
// import useI18n from '@/hooks/useI18n';

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

0 comments on commit cf5c0d9

Please sign in to comment.