Исправление ошибки компиляции
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "to-do-app",
|
"name": "to-do-app",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "1.4.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@@ -24,5 +24,5 @@ custom-protocol = ["tauri/custom-protocol"]
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true # Enables link to optimizations
|
lto = true # Enables link to optimizations
|
||||||
opt-level = "z" # Optimize for binary size
|
opt-level = "s" # Optimize for binary size
|
||||||
strip = true # Remove debug symbols
|
strip = true # Remove debug symbols
|
||||||
|
|||||||
@@ -26,6 +26,9 @@
|
|||||||
"unmaximize": true,
|
"unmaximize": true,
|
||||||
"unminimize": true,
|
"unminimize": true,
|
||||||
"startDragging": true
|
"startDragging": true
|
||||||
|
},
|
||||||
|
"fs": {
|
||||||
|
"scope": ["$RESOURCE/*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"windows": [
|
"windows": [
|
||||||
@@ -49,6 +52,9 @@
|
|||||||
"icons/128x128@2x.png",
|
"icons/128x128@2x.png",
|
||||||
"icons/icon.icns",
|
"icons/icon.icns",
|
||||||
"icons/icon.ico"
|
"icons/icon.ico"
|
||||||
|
],
|
||||||
|
"resources": [
|
||||||
|
".env"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-2
@@ -32,10 +32,11 @@ let to_change_name = ref("");
|
|||||||
let to_change_priority = ref("");
|
let to_change_priority = ref("");
|
||||||
|
|
||||||
onBeforeMount(async () => {
|
onBeforeMount(async () => {
|
||||||
await invoke('check_or_create_tasks_file');
|
await invoke('check_or_create_tasks_file')
|
||||||
|
.then(async () => {
|
||||||
await get_tasks();
|
await get_tasks();
|
||||||
pending.value = false;
|
pending.value = false;
|
||||||
|
});
|
||||||
|
|
||||||
document
|
document
|
||||||
.getElementById('titlebar-minimize')
|
.getElementById('titlebar-minimize')
|
||||||
|
|||||||
Reference in New Issue
Block a user