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