Skip to content

Commit

Permalink
Merge pull request #164 from Gawdl3y/rel/0.8.1
Browse files Browse the repository at this point in the history
Release version 0.8.1
  • Loading branch information
Gawdl3y authored Feb 27, 2024
2 parents b3cae91 + 2d4d1cc commit 7551990
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
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.

2 changes: 1 addition & 1 deletion 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.8.0"
version = "0.8.1"
description = "Resolute, a mod manager for Resonite"
authors = ["Schuyler Cebulskie <me@gawdl3y.dev>"]
license = "GPL-3.0-or-later"
Expand Down
10 changes: 5 additions & 5 deletions crates/tauri-app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ async fn init(app: &AppHandle) -> Result<(), anyhow::Error> {
// Open the database
let resolver = handle.path();
let db_path = resolver
.data_dir()
.app_data_dir()
.context("Unable to get data dir")?
.join("resolute.db");
info!("Opening database at {}", db_path.display());
Expand Down Expand Up @@ -202,17 +202,17 @@ async fn create_app_dirs(app: &AppHandle) -> Result<(), String> {
let results: [Result<(), io::Error>; 3] = join!(
fs::create_dir(
resolver
.data_dir()
.app_data_dir()
.map_err(|err| format!("unable to get data dir: {}", err))?
),
fs::create_dir(
resolver
.config_dir()
.app_config_dir()
.map_err(|err| format!("unable to get config dir: {}", err))?
),
fs::create_dir(
resolver
.cache_dir()
.app_cache_dir()
.map_err(|err| format!("unable to get cache dir: {}", err))?
),
)
Expand Down Expand Up @@ -292,7 +292,7 @@ pub(crate) fn build_manifest_config(app: &AppHandle) -> Result<manifest::Config,
let mut config = manifest::Config {
cache_file_path: Some(
app.path()
.cache_dir()
.app_cache_dir()
.map_err(|err| format!("Unable to locate cache directory: {}", err))?
.join("resonite-mod-manifest.json"),
),
Expand Down
4 changes: 2 additions & 2 deletions crates/tauri-app/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"identifier": "dev.gawdl3y.resolute",
"productName": "Resolute",
"version": "0.8.0",
"version": "0.8.1",
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
Expand All @@ -10,7 +10,7 @@
},
"app": {
"security": {
"csp": "default-src 'self'; connect-src 'self' ipc.localhost; style-src 'self' 'nonce-cEStTGt8qsTHCwfCKZ5ecUbba33gWfrY'; img-src *"
"csp": "default-src 'self'; connect-src 'self' ipc.localhost ipc://localhost; style-src 'self' 'nonce-cEStTGt8qsTHCwfCKZ5ecUbba33gWfrY'; img-src *"
},
"windows": [
{
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.8.0",
"version": "0.8.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down

0 comments on commit 7551990

Please sign in to comment.