Skip to content

Commit

Permalink
Some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Sep 26, 2023
1 parent 24f23c5 commit 041a142
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 5 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
"@electron-toolkit/preload": "^2.0.0",
"@electron-toolkit/utils": "^1.0.2",
"@electron/remote": "^2.0.10",
"better-sqlite3": "^8.5.0",
"compare-versions": "^6.1.0",
"electron-updater": "^5.3.0",
"follow-redirects": "^1.15.2",
"marked": "^7.0.1",
"pinia": "^2.1.6",
"vue-router": "4",
Expand Down
9 changes: 9 additions & 0 deletions src/common/progress/ProgressListener.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export default interface ProgressListener {
/**
* This method is called when the process of a process is updated.
*
* @param progress The current progress as a floating point value between 0 and 1, where 1 means the process is
* fully completed.
*/
onProgressUpdate(progress: number): void;
}
Loading

0 comments on commit 041a142

Please sign in to comment.