Skip to content

Commit

Permalink
Merge branch 'release/1.0.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphiiko committed Mar 20, 2023
2 parents 724c4fd + 000561f commit f00c9b5
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1]

### Fixed

- Fixed IBControl listening to the wrong address for /IBControl/Brightness

## [1.0.0]

### Fixed

- Fixed crash when enabling HTTP control in release build

## [0.1.1]

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Its main purpose is to allow VRChat players to control their display brightness
<tr>
<td><p align="center"><img src="https://user-images.githubusercontent.com/111654848/226119125-69d2be0c-ccf8-4947-a355-d24dad479140.png" width="100%" crossorigin></p></td>
<td><p align="center"><img src="https://user-images.githubusercontent.com/111654848/226119129-443e713a-92ca-4504-9fa2-0a5f0fa4ee48.png" width="100%" crossorigin></p></td>
<td><p align="center"><img src="https://user-images.githubusercontent.com/111654848/226115420-47241aa7-71d5-492b-9bb4-a049e3a3ad92.png" width="100%" crossorigin></p></td>
<td><p align="center"><img src="https://user-images.githubusercontent.com/111654848/226123598-88edd0cb-2120-4cf5-a435-1ba248a4c531.png" width="100%" crossorigin></p></td>
<td><p align="center"><img src="https://user-images.githubusercontent.com/111654848/226119178-2d354c15-1f98-4eb4-abe4-2631024a6d68.png" width="100%" crossorigin></p></td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "IBControl",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"scripts": {
"tauri": "tauri",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/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 src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ibcontrol"
version = "1.0.0"
version = "1.0.1"
description = "Display brightness control for the Valve Index"
authors = ["Raphiiko"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "IBControl",
"version": "1.0.0"
"version": "1.0.1"
},
"tauri": {
"allowlist": {
Expand Down Expand Up @@ -80,7 +80,7 @@
"width": 600,
"resizable": false,
"title": "IBControl",
"userAgent": "IBControl/1.0.0 (https://github.com/Raphiiko/IBControl)",
"userAgent": "IBControl/1.0.1 (https://github.com/Raphiiko/IBControl)",
"transparent": true,
"center": true,
"theme": "Dark"
Expand Down
6 changes: 4 additions & 2 deletions src/app/services/osc-control.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ export class OscControlService {
// Skip if OSC control is disabled
const settings = await firstValueFrom(this.appSettings.settings);
if (!settings.oscControlEnabled) return;
switch (message.address) {
let address = message.address;
if (address.endsWith('/')) address = address.slice(0, -1);
switch (address) {
case '/avatar/parameters/IBControl/Brightness':
await this.handleVRChatBrightness(message.values[0], settings);
break;
case '/IBControl/Brightness/':
case '/IBControl/Brightness':
await this.handleBrightness(message.values[0]);
break;
case '/avatar/change':
Expand Down

0 comments on commit f00c9b5

Please sign in to comment.