Skip to content

Commit ae58d01

Browse files
Merge branch 'main' into new-instance-settings
Signed-off-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2 parents 6e085ca + 6ceed4b commit ae58d01

38 files changed

+1678
-2709
lines changed

Cargo.lock

Lines changed: 100 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ strip = true # Remove debug symbols
1919

2020
[profile.dev.package.sqlx-macros]
2121
opt-level = 3
22+
23+
[patch.crates-io]
24+
tauri = { git = "https://github.com/modrinth/tauri", rev = "9c36dd3" }

apps/app-frontend/src/components/ui/SplashScreen.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ const os = ref('')
127127
getOS().then((x) => (os.value = x))
128128
129129
loading_listener(async (e) => {
130-
console.log(e)
131130
if (e.event.type === 'directory_move') {
132131
loadingProgress.value = 100 * (e.fraction ?? 1)
133132
message.value = 'Updating app directory...'

apps/app-frontend/src/helpers/utils.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,3 @@ export const releaseColor = (releaseType) => {
4949
return ''
5050
}
5151
}
52-
53-
export function debounce(fn, wait) {
54-
let timer
55-
return function (...args) {
56-
if (timer) {
57-
clearTimeout(timer) // clear any pre-existing timer
58-
}
59-
60-
const context = this // get the current context
61-
timer = setTimeout(() => {
62-
fn.apply(context, args) // call the function if time expires
63-
}, wait)
64-
}
65-
}

0 commit comments

Comments
 (0)