mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-09-21 06:00:11 +08:00
feat(submitter,update-center): add multiple features and optimize submission flow
1. add shell caller ssupdate command support 2. add pre-update system refresh for update center 3. add get-git-email IPC handler and auto-fill email 4. optimize deb submission UI and category handling 5. disable and auto-fill package name/version fields 6. add loading and error states for category list 7. fix category value matching for history data
This commit is contained in:
@@ -152,6 +152,8 @@ export const createUpdateCenterStore = (): UpdateCenterStore => {
|
||||
lastStoreFilter = storeFilter;
|
||||
loading.value = true;
|
||||
try {
|
||||
// 先运行系统更新(aptss update / apm update),确保本地包信息最新
|
||||
await window.ipcRenderer.invoke("update-center-run-system-update", storeFilter);
|
||||
const nextSnapshot = await window.updateCenter.refresh(storeFilter);
|
||||
applySnapshot(nextSnapshot);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user