From ff17d1c0b5db5d984a85fd533369a8319479f6f2 Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 17 Dec 2023 08:21:51 -0500 Subject: [PATCH 1/5] Add a label to the diff link in changelogs --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa937e5..a052089 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: failOnError: true configurationJson: | { - "template": "#{{CHANGELOG}}\n\n#{{RELEASE_DIFF}}", + "template": "#{{CHANGELOG}}\n\n**Full changelog:** #{{RELEASE_DIFF}}", "pr_template": "- PR ##{{NUMBER}}: #{{TITLE}} (@#{{AUTHOR}})", "categories": [ { From 03807f9bfe9ded99d892c6c95e16cde50e460dea Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 17 Dec 2023 08:51:23 -0500 Subject: [PATCH 2/5] Add file path to checksum field's hint when chosen --- ui/src/components/pages/ModAuthorToolsPage.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ui/src/components/pages/ModAuthorToolsPage.vue b/ui/src/components/pages/ModAuthorToolsPage.vue index 5e113fb..a10a60a 100644 --- a/ui/src/components/pages/ModAuthorToolsPage.vue +++ b/ui/src/components/pages/ModAuthorToolsPage.vue @@ -9,6 +9,8 @@ v-model="checksum" variant="solo" label="SHA-256 Checksum" + :hint="checksumFile" + :persistent-hint="Boolean(checksumFile)" :loading="loading" readonly > @@ -21,7 +23,7 @@ variant="text" :icon="mdiFileSearch" :loading="loading" - @click="checksumFile" + @click="hashFile" /> @@ -43,12 +45,13 @@ import AppHeader from '../AppHeader.vue'; import FieldCopyButton from '../FieldCopyButton.vue'; const checksum = ref(''); +const checksumFile = ref(''); const loading = ref(false); /** * Opens a dialog to choose a file, then requests the backend to calculate the checksum for that file */ -async function checksumFile() { +async function hashFile() { // Prompt to choose a file const file = await open(); if (!file) return; @@ -56,9 +59,11 @@ async function checksumFile() { // Request the backend to checksum the selected file try { loading.value = true; + checksumFile.value = file; checksum.value = 'Calculating...'; checksum.value = await invoke('checksum_file', { file }); } catch (err) { + checksumFile.value = ''; checksum.value = ''; message(`Error hashing file:\n${err}`, { title: 'Error hashing file', From 7f96ca860a1877ef689e0257d7f6ee0a2ddc0aac Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 17 Dec 2023 09:08:48 -0500 Subject: [PATCH 3/5] Fix settings tab content animation being cut off on wider viewports --- ui/src/components/pages/SettingsPage.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/ui/src/components/pages/SettingsPage.vue b/ui/src/components/pages/SettingsPage.vue index 3ff9c8e..6c131e3 100644 --- a/ui/src/components/pages/SettingsPage.vue +++ b/ui/src/components/pages/SettingsPage.vue @@ -9,18 +9,20 @@ - - - + + + Setup guide - + + - + + - - - + + + From 79c79049ddb20207d83cb30dcd4b443d4fd8d8e9 Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 17 Dec 2023 09:58:19 -0500 Subject: [PATCH 4/5] Mention Resonite Mod Manifest in readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 04abf65..b470cce 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ This is a WIP project to create a friendly GUI for downloading, updating, and setup of Resonite mods. The goal is to provide a cross-platform beginning-to-end setup experience for Resonite modding. +Resolute loads its mod index and metadata from the +[Resonite Mod Manifest](https://github.com/resonite-modding-group/resonite-mod-manifest). + > [!IMPORTANT] > Resolute is built with [Tauri](https://tauri.app/), which relies upon your operating system's WebView to function. > If you're on Windows and have completely removed WebView2 and Edge from your system, Resolute will not work. From b94088b515fe6186a12c759915e64b24e96ca24a Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sun, 17 Dec 2023 10:07:11 -0500 Subject: [PATCH 5/5] Release v0.4.1 --- Cargo.lock | 2 +- crates/tauri-app/Cargo.toml | 7 +------ crates/tauri-app/tauri.conf.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 62da26a..e6d0c19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2947,7 +2947,7 @@ dependencies = [ [[package]] name = "resolute-app" -version = "0.4.0" +version = "0.4.1" dependencies = [ "anyhow", "log", diff --git a/crates/tauri-app/Cargo.toml b/crates/tauri-app/Cargo.toml index 7148268..461bcf7 100644 --- a/crates/tauri-app/Cargo.toml +++ b/crates/tauri-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resolute-app" -version = "0.4.0" +version = "0.4.1" description = "Resolute, a mod manager for Resonite" authors = ["Schuyler Cebulskie "] license = "" @@ -41,8 +41,3 @@ tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", # this feature is used for production builds or when `devPath` points to the filesystem # DO NOT REMOVE!! custom-protocol = ["tauri/custom-protocol"] - -[profile.release] -lto = "thin" -codegen-units = 1 -panic = "abort" diff --git a/crates/tauri-app/tauri.conf.json b/crates/tauri-app/tauri.conf.json index 0d240d1..faafcdb 100644 --- a/crates/tauri-app/tauri.conf.json +++ b/crates/tauri-app/tauri.conf.json @@ -1,7 +1,7 @@ { "package": { "productName": "Resolute", - "version": "0.4.0" + "version": "0.4.1" }, "build": { "beforeDevCommand": "npm run dev", diff --git a/package-lock.json b/package-lock.json index 956426c..d397828 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "resolute", - "version": "0.4.0", + "version": "0.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "resolute", - "version": "0.4.0", + "version": "0.4.1", "dependencies": { "@mdi/js": "^7.3.67", "@tauri-apps/api": "^1.5.1", diff --git a/package.json b/package.json index 3370515..11f15f4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "resolute", "private": true, - "version": "0.4.0", + "version": "0.4.1", "type": "module", "scripts": { "dev": "vite",