Skip to content

Commit 1c991fd

Browse files
committed
Merge branch 'steam-beta'
2 parents 37fa410 + fceedff commit 1c991fd

File tree

14 files changed

+36
-34
lines changed

14 files changed

+36
-34
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project (now) adheres to [Calendar Versioning](https://calver.org/#scheme).
77

8+
## [25.6.5]
9+
10+
### Fixed
11+
12+
- Moved sidecar process logs to the correct log directory
13+
- Parsing of some cli parameters
14+
815
## [25.6.4]
916

1017
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oyasumi",
3-
"version": "25.6.4",
3+
"version": "25.6.5",
44
"author": "Raphiiko",
55
"license": "MIT",
66
"type": "module",

src-core/Cargo.lock

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

src-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oyasumivr"
3-
version = "25.6.4"
3+
version = "25.6.5"
44
description = ""
55
authors = ["Raphiiko"]
66
license = "MIT"

src-core/src/main.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,16 @@ async fn main() {
7070
.plugin(tauri_plugin_store::Builder::default().build())
7171
.plugin(configure_tauri_plugin_aptabase())
7272
.setup(|app| {
73-
let matches = app.cli().matches().unwrap();
73+
let matches = match app.cli().matches() {
74+
Ok(matches) => Some(matches),
75+
Err(e) => {
76+
eprintln!("Error parsing command line arguments: {e}");
77+
app.handle().exit(1);
78+
None
79+
}
80+
};
7481
futures::executor::block_on(async {
75-
*globals::TAURI_CLI_MATCHES.lock().await = Some(matches);
82+
*globals::TAURI_CLI_MATCHES.lock().await = matches;
7683
});
7784
match futures::executor::block_on(tauri::async_runtime::spawn(app_setup(
7885
app.handle().clone(),

src-core/tauri.conf.json

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
},
6868
"productName": "OyasumiVR",
6969
"mainBinaryName": "OyasumiVR",
70-
"version": "25.6.4",
70+
"version": "25.6.5",
7171
"identifier": "co.raphii.oyasumi",
7272
"plugins": {
7373
"cli": {
@@ -87,8 +87,8 @@
8787
"short": "c",
8888
"description": "Mode for running the core module",
8989
"longDescription": "See developer notes for more information",
90-
"maxValues": 1,
9190
"takesValue": true,
91+
"multiple": false,
9292
"possibleValues": [
9393
"release",
9494
"dev"
@@ -99,20 +99,8 @@
9999
"short": "o",
100100
"description": "Mode for handling the overlay sidecar",
101101
"longDescription": "See developer notes for more information",
102-
"maxValues": 1,
103-
"takesValue": true,
104-
"possibleValues": [
105-
"release",
106-
"dev"
107-
]
108-
},
109-
{
110-
"name": "mdns-sidecar-mode",
111-
"short": "m",
112-
"description": "Mode for handling the mdns sidecar",
113-
"longDescription": "See developer notes for more information",
114-
"maxValues": 1,
115102
"takesValue": true,
103+
"multiple": false,
116104
"possibleValues": [
117105
"release",
118106
"dev"
@@ -151,7 +139,7 @@
151139
"skipTaskbar": true,
152140
"minimizable": false,
153141
"focus": true,
154-
"userAgent": "OyasumiVR/25.6.4 (https://github.com/Raphiiko/OyasumiVR)",
142+
"userAgent": "OyasumiVR/25.6.5 (https://github.com/Raphiiko/OyasumiVR)",
155143
"useHttpsScheme": false
156144
},
157145
{
@@ -167,7 +155,7 @@
167155
"theme": "Dark",
168156
"visible": false,
169157
"transparent": true,
170-
"userAgent": "OyasumiVR/25.6.4 (https://github.com/Raphiiko/OyasumiVR)",
158+
"userAgent": "OyasumiVR/25.6.5 (https://github.com/Raphiiko/OyasumiVR)",
171159
"useHttpsScheme": false
172160
}
173161
],

src-elevated-sidecar/Cargo.lock

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

src-elevated-sidecar/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "oyasumivr-elevated-sidecar"
3-
version = "25.6.4"
3+
version = "25.6.5"
44
authors = ["Raphiiko"]
55
license = "MIT"
66
edition = "2021"

src-elevated-sidecar/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ async fn main() {
3030
// Initialize logging
3131
let log_path = if let Some(base_dirs) = BaseDirs::new() {
3232
base_dirs
33-
.preference_dir()
34-
.join("co.raphii.oyasumi/logs/OyasumiSidecar.log")
33+
.data_local_dir()
34+
.join("co.raphii.oyasumi/logs/OyasumiVR_Elevated_Sidecar.log")
3535
} else {
36-
Path::new("co.raphii.oyasumi/logs/OyasumiSidecar.log").to_path_buf()
36+
Path::new("co.raphii.oyasumi/logs/OyasumiVR_Elevated_Sidecar.log").to_path_buf()
3737
};
3838
CombinedLogger::init(vec![
3939
TermLogger::new(

src-overlay-sidecar/Utils/LogConfigurator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static class LogConfigurator {
1212

1313
public static void Init()
1414
{
15-
var logPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
15+
var logPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData),
1616
"co.raphii.oyasumi\\logs\\OyasumiVR_Overlay_Sidecar_.log");
1717
var config = new LoggerConfiguration()
1818
.Filter.ByExcluding(Matching.FromSource("Microsoft"))

0 commit comments

Comments
 (0)