Skip to content
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

Commit d4871c7

Browse files
committed
v1.0.8
1 parent c6aceff commit d4871c7

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

Main.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ private IEnumerator Setup() {
180180
}
181181
switchPinButton.setText("Cycle Pin\n<color=#845bff>" + pin + "</color>");
182182
// Eventually change this to the same way I do the other buttons, I suppose it changes every VRChat update so yeah as soon as possible please Lucas...
183-
// It seemed that setting method to '3' made clicking on pins button crash the game
184183
VRCUtils.GetUserCameraController().Method_Public_Void_Int32_0(newPin);
185184
}
186185
}));
@@ -251,9 +250,9 @@ private IEnumerator Setup() {
251250
}
252251
}));
253252

254-
var gitHubButton = new SingleButton("GitHubPage", "<color=orange>" + (updated ? "GitHub\nPage</color>" : "GitHub Page</color>\n<color=lime>Update\navailable!</color>"), "Opens the GitHub page of the mod\nMod created by nitro.#0007\nVersion: " + ModBuildInfo.Version + (updated ? "" : "\n<color=lime>New version found (" + latest + "), update in the GitHub page.</color>"), -1, -1, cameraMenu);
253+
var gitHubButton = new SingleButton("GitHubPage", "<color=orange>" + (updated ? "GitHub\nPage</color>" : "GitHub Page</color>\n<color=lime>Update\navailable!</color>"), "Opens the GitHub page of the mod\nMod created by nitro.#0007\nVersion: " + ModBuildInfo.Version + (updated ? "" : "\n<color=lime>New version found (" + latest + "), update it in the GitHub page.</color>"), -1, -1, cameraMenu);
255254
gitHubButton.setAction((Action)(() => {
256-
Application.OpenURL("https://github.com/nitrog0d/DesktopCamera");
255+
Application.OpenURL(updated ? "https://github.com/nitrog0d/DesktopCamera" : "https://github.com/nitrog0d/DesktopCamera/releases");
257256
}));
258257

259258
var childCount = filtersMenu.transform.childCount;
@@ -295,7 +294,6 @@ private IEnumerator Setup() {
295294
button.setAction((Action)(() => {
296295
if (Settings.cameraEnabled) {
297296
// Eventually change this to the same way I do the other buttons, I suppose it changes every VRChat update so yeah as soon as possible please Lucas...
298-
// Setting method to '0' makes the filter not work for some reason [thanks to my friend for helping me with this]
299297
VRCUtils.GetUserCameraController().Method_Public_Void_Int32_4(filter.Value);
300298
}
301299
}));

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ A mod that allows Desktop users use the VRChat Camera feature, yay!
3838
*Special thanks to:*
3939
*[Emilia](https://github.com/thetrueyoshifan) for letting me use the README from [VRCDiscordRichPresence-ML](https://github.com/thetrueyoshifan/VRCDiscordRichPresence-ML) and helping me with opening new pages in the QuickMenu.*
4040
*[DubyaDude](https://github.com/DubyaDude) and [Emilia](https://github.com/thetrueyoshifan) for [RubyButtonAPI](https://github.com/DubyaDude/RubyButtonAPI).*
41-
*[Janni9009](https://github.com/Janni9009) for helping me with resizing the QuickMenu Collider.*
41+
*[Janni9009](https://github.com/Janni9009) for helping me resize the QuickMenu Collider.*

Utils/VRCUtils.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ public static VRCUiManager GetVRCUiManager() {
6464
}
6565

6666
public static void QueueHudMessage(string message) {
67-
// Old method was somehow broken [thanks to my friend for helping me with this]
68-
GetVRCUiManager().Method_Public_Boolean_String_2(message);
67+
GetVRCUiManager().Method_Public_Void_String_3(message);
6968
}
7069
}
7170
}

0 commit comments

Comments
 (0)