Skip to content

Commit 533c37f

Browse files
committed
updater
1 parent ced7af9 commit 533c37f

4 files changed

Lines changed: 7 additions & 17 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
releaseDraft: false
6060
prerelease: false
6161

62-
- name: Fix latest.json repository path
62+
- name: Fix latest.json repository url
6363
shell: powershell
6464
run: |
6565
$version = "${{ steps.get_version.outputs.version }}"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ghostie",
33
"private": true,
4-
"version": "0.1.12",
4+
"version": "0.1.74",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src-tauri/tauri.conf.json

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2.0.0-rc",
33
"productName": "ghostie",
4-
"version": "0.1.12",
4+
"version": "0.1.74",
55
"identifier": "com.wangenius.ghostie",
66
"build": {
77
"frontendDist": "../dist",
@@ -36,29 +36,20 @@
3636
"img-src": "'self' asset: http://asset.localhost",
3737
"style-src": "'self' 'unsafe-inline'"
3838
},
39-
"capabilities": [
40-
"main-capability"
41-
],
39+
"capabilities": ["main-capability"],
4240
"assetProtocol": {
4341
"enable": true,
44-
"scope": [
45-
"**"
46-
]
42+
"scope": ["**"]
4743
}
4844
}
4945
},
5046
"bundle": {
5147
"category": "Productivity",
5248
"createUpdaterArtifacts": true,
5349
"active": true,
54-
"targets": [
55-
"nsis"
56-
],
50+
"targets": ["nsis"],
5751
"publisher": "wangenius",
58-
"icon": [
59-
"icons/icon.ico",
60-
"icons/icon.png"
61-
],
52+
"icon": ["icons/icon.ico", "icons/icon.png"],
6253
"windows": {
6354
"nsis": {
6455
"headerImage": "icons/icon.ico",

src/page/settings/components/SystemSettings.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ export function UpdateSettings() {
255255
if (update?.version) {
256256
setNewVersion(update.version);
257257
setUpdateState("downloading");
258-
259258
await update.downloadAndInstall();
260259

261260
const confirm = await cmd.confirm(

0 commit comments

Comments
 (0)