Skip to content

Commit

Permalink
Merge pull request #57 from Gawdl3y/main
Browse files Browse the repository at this point in the history
Release v0.4.1
  • Loading branch information
Gawdl3y authored Dec 17, 2023
2 parents 02a2b0d + b94088b commit 0ea88a9
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 1 addition & 6 deletions crates/tauri-app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <me@gawdl3y.dev>"]
license = ""
Expand Down Expand Up @@ -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"
2 changes: 1 addition & 1 deletion crates/tauri-app/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"package": {
"productName": "Resolute",
"version": "0.4.0"
"version": "0.4.1"
},
"build": {
"beforeDevCommand": "npm run dev",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "resolute",
"private": true,
"version": "0.4.0",
"version": "0.4.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
9 changes: 7 additions & 2 deletions ui/src/components/pages/ModAuthorToolsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
v-model="checksum"
variant="solo"
label="SHA-256 Checksum"
:hint="checksumFile"
:persistent-hint="Boolean(checksumFile)"
:loading="loading"
readonly
>
Expand All @@ -21,7 +23,7 @@
variant="text"
:icon="mdiFileSearch"
:loading="loading"
@click="checksumFile"
@click="hashFile"
/>
</template>
</v-tooltip>
Expand All @@ -43,22 +45,25 @@ 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;
// 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',
Expand Down
18 changes: 10 additions & 8 deletions ui/src/components/pages/SettingsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@
</AppHeader>

<v-main>
<v-container>
<v-window v-model="tab">
<v-window-item value="general">
<v-window v-model="tab">
<v-window-item value="general">
<v-container>
<DropdownSetting setting="theme" :items="themes" label="Theme" />
<ResonitePathSetting />
<CheckboxSetting setting="groupMods" label="Group mods by category" />
<v-btn @click="settings.current.setupGuideDone = false">
Setup guide
</v-btn>
</v-window-item>
</v-container>
</v-window-item>

<v-window-item value="advanced">
<v-window-item value="advanced">
<v-container>
<TextSetting
setting="manifestUrl"
:rules="[rules.url]"
Expand All @@ -31,9 +33,9 @@
setting="modAuthorTools"
label="Show mod authoring tools"
/>
</v-window-item>
</v-window>
</v-container>
</v-container>
</v-window-item>
</v-window>
</v-main>
</template>

Expand Down

0 comments on commit 0ea88a9

Please sign in to comment.