mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-21 17:41:28 -08:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c52a2cdd0 | ||
|
|
c0038bf14c | ||
|
|
4aa9f85c1a | ||
|
|
4f0bddc98e | ||
|
|
be9373bd8a | ||
|
|
fadbfa23ab | ||
|
|
a355bc5d90 |
No files matched your search
@@ -14,6 +14,7 @@
|
||||
"@react-three/fiber": "^8.17.10",
|
||||
"@sentry/react": "^9.9.0",
|
||||
"@sentry/vite-plugin": "^2.22.7",
|
||||
"@slimevr/update-manifest": "^0.0.1",
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
"@tanstack/react-query": "^5.48.0",
|
||||
"@tauri-apps/api": "^2.0.2",
|
||||
|
||||
@@ -1,6 +1,93 @@
|
||||
use std::process;
|
||||
|
||||
use cfg_aliases::cfg_aliases;
|
||||
|
||||
fn main() -> shadow_rs::SdResult<()> {
|
||||
println!("cargo:rerun-if-changed=.git/HEAD");
|
||||
println!("cargo:rerun-if-changed=.git/index");
|
||||
|
||||
let commit_hash = process::Command::new("git")
|
||||
.args(&["rev-parse", "--verify", "--short", "HEAD"])
|
||||
.output()
|
||||
.map(|output| {
|
||||
if output.status.success() {
|
||||
String::from_utf8_lossy(&output.stdout).trim().to_string()
|
||||
} else {
|
||||
eprintln!("Warning: Failed to get git commit hash: {:?}", output);
|
||||
"unknown_commit".to_string()
|
||||
}
|
||||
})
|
||||
.unwrap_or_else(|e| {
|
||||
eprintln!("Warning: Could not run 'git rev-parse': {}", e);
|
||||
"no_git_commit".to_string()
|
||||
});
|
||||
|
||||
let version_tag = process::Command::new("git")
|
||||
.args(&[
|
||||
"--no-pager",
|
||||
"tag",
|
||||
"--sort",
|
||||
"-taggerdate",
|
||||
"--points-at",
|
||||
"HEAD",
|
||||
])
|
||||
.output()
|
||||
.map(|output| {
|
||||
if output.status.success() {
|
||||
String::from_utf8_lossy(&output.stdout)
|
||||
.split('\n')
|
||||
.next()
|
||||
.unwrap_or("")
|
||||
.trim()
|
||||
.to_string()
|
||||
} else {
|
||||
eprintln!("Warning: Failed to get git tag: {:?}", output);
|
||||
"".to_string()
|
||||
}
|
||||
})
|
||||
.unwrap_or_else(|e| {
|
||||
eprintln!("Warning: Could not run 'git tag': {}", e);
|
||||
"".to_string()
|
||||
});
|
||||
|
||||
let git_status_output = process::Command::new("git")
|
||||
.args(&["status", "--porcelain"])
|
||||
.output()
|
||||
.map(|output| {
|
||||
if output.status.success() {
|
||||
String::from_utf8_lossy(&output.stdout).trim().to_string()
|
||||
} else {
|
||||
eprintln!("Warning: Failed to get git status: {:?}", output);
|
||||
"error".to_string()
|
||||
}
|
||||
})
|
||||
.unwrap_or_else(|e| {
|
||||
eprintln!("Warning: Could not run 'git status': {}", e);
|
||||
"error".to_string()
|
||||
});
|
||||
|
||||
let git_clean = git_status_output.is_empty();
|
||||
|
||||
if !git_clean {
|
||||
println!(
|
||||
"cargo:warning=Git is dirty because of:\n'{}'",
|
||||
git_status_output
|
||||
);
|
||||
}
|
||||
|
||||
let mut version = if !version_tag.is_empty() {
|
||||
version_tag
|
||||
} else {
|
||||
commit_hash
|
||||
};
|
||||
|
||||
if !git_clean {
|
||||
version.push_str("-dirty");
|
||||
}
|
||||
|
||||
println!("cargo:warning=Version is {}", version);
|
||||
println!("cargo:rustc-env=SLIMEVR_SERVER_VERSION={}", version);
|
||||
|
||||
// Bypass for Nix script having libudev-zero and Tauri not liking it
|
||||
if let Some(path) = option_env!("SLIMEVR_RUST_LD_LIBRARY_PATH") {
|
||||
println!("cargo:rustc-env=LD_LIBRARY_PATH={path}");
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
"allow": [
|
||||
{
|
||||
"url": "https://github.com/SlimeVR/SlimeVR-Tracker-ESP/releases/download/*"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/SlimeVR/SlimeVR-Server/releases/download/v0.0.0-update-manifest/update-manifest.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -43,6 +43,8 @@ fn update_window_state(
|
||||
Ok(())
|
||||
}
|
||||
|
||||
const VERSION: &str = env!("SLIMEVR_SERVER_VERSION");
|
||||
|
||||
#[tauri::command]
|
||||
fn logging(msg: String) {
|
||||
log::info!(target: "webview", "{}", msg)
|
||||
@@ -95,10 +97,12 @@ fn main() -> Result<()> {
|
||||
}));
|
||||
|
||||
let cli = Cli::parse();
|
||||
|
||||
let tauri_context = tauri::generate_context!();
|
||||
|
||||
// Set up loggers and global handlers
|
||||
let _logger = setup_logger(&tauri_context);
|
||||
log::info!(target: "backend", "Starting SlimeVR GUI v{}", VERSION);
|
||||
|
||||
// Ensure child processes die when spawned on windows
|
||||
// and then check for WebView2's existence
|
||||
|
||||
+30
-49
@@ -1,8 +1,8 @@
|
||||
import { createContext, useEffect, useState } from 'react';
|
||||
import { useEffect } from 'react';
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Outlet,
|
||||
Route,
|
||||
BrowserRouter as Router,
|
||||
Routes,
|
||||
} from 'react-router-dom';
|
||||
import { Home } from './components/home/Home';
|
||||
@@ -16,54 +16,54 @@ import {
|
||||
WebSocketApiContext,
|
||||
} from './hooks/websocket-api';
|
||||
|
||||
import { UpdateContextProvider } from '@/components/providers/UpdateContext.js';
|
||||
import { UpdateSettings } from '@/components/settings/pages/UpdateSettings.js';
|
||||
import { withSentryReactRouterV6Routing } from '@sentry/react';
|
||||
import { Event, listen } from '@tauri-apps/api/event';
|
||||
import * as os from '@tauri-apps/plugin-os';
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import { AppLayout } from './AppLayout';
|
||||
import { FirmwareToolSettings } from './components/firmware-tool/FirmwareTool';
|
||||
import { FirmwareUpdate } from './components/firmware-update/FirmwareUpdate';
|
||||
import { OnboardingContextProvider } from './components/onboarding/OnboardingContextProvicer';
|
||||
import { OnboardingLayout } from './components/onboarding/OnboardingLayout';
|
||||
import { AssignmentTutorialPage } from './components/onboarding/pages/assignment-preparation/AssignmentTutorial';
|
||||
import { AutomaticProportionsPage } from './components/onboarding/pages/body-proportions/AutomaticProportions';
|
||||
import { ManualProportionsPage } from './components/onboarding/pages/body-proportions/ManualProportions';
|
||||
import { ScaledProportionsPage } from './components/onboarding/pages/body-proportions/ScaledProportions';
|
||||
import { CalibrationTutorialPage } from './components/onboarding/pages/CalibrationTutorial';
|
||||
import { ConnectionLost } from './components/onboarding/pages/ConnectionLost';
|
||||
import { ConnectTrackersPage } from './components/onboarding/pages/ConnectTracker';
|
||||
import { DonePage } from './components/onboarding/pages/Done';
|
||||
import { EnterVRPage } from './components/onboarding/pages/EnterVR';
|
||||
import { HomePage } from './components/onboarding/pages/Home';
|
||||
import { AutomaticMountingPage } from './components/onboarding/pages/mounting/AutomaticMounting';
|
||||
import { ManualMountingPage } from './components/onboarding/pages/mounting/ManualMounting';
|
||||
import { MountingChoose } from './components/onboarding/pages/mounting/MountingChoose';
|
||||
import { ResetTutorialPage } from './components/onboarding/pages/ResetTutorial';
|
||||
import { StayAlignedSetup } from './components/onboarding/pages/stay-aligned/StayAlignedSetup';
|
||||
import { TrackersAssignPage } from './components/onboarding/pages/trackers-assign/TrackerAssignment';
|
||||
import { WifiCredsPage } from './components/onboarding/pages/WifiCreds';
|
||||
import { Preload } from './components/Preload';
|
||||
import { ConfigContextProvider } from './components/providers/ConfigContext';
|
||||
import { StatusProvider } from './components/providers/StatusSystemContext';
|
||||
import { SerialDetectionModal } from './components/SerialDetectionModal';
|
||||
import { AdvancedSettings } from './components/settings/pages/AdvancedSettings';
|
||||
import { InterfaceSettings } from './components/settings/pages/InterfaceSettings';
|
||||
import { OSCRouterSettings } from './components/settings/pages/OSCRouterSettings';
|
||||
import { VMCSettings } from './components/settings/pages/VMCSettings';
|
||||
import { VRCOSCSettings } from './components/settings/pages/VRCOSCSettings';
|
||||
import { TopBar } from './components/TopBar';
|
||||
import { TrackerSettingsPage } from './components/tracker/TrackerSettings';
|
||||
import { OSCRouterSettings } from './components/settings/pages/OSCRouterSettings';
|
||||
import * as os from '@tauri-apps/plugin-os';
|
||||
import { VMCSettings } from './components/settings/pages/VMCSettings';
|
||||
import { MountingChoose } from './components/onboarding/pages/mounting/MountingChoose';
|
||||
import { StatusProvider } from './components/providers/StatusSystemContext';
|
||||
import { VersionUpdateModal } from './components/VersionUpdateModal';
|
||||
import { CalibrationTutorialPage } from './components/onboarding/pages/CalibrationTutorial';
|
||||
import { AssignmentTutorialPage } from './components/onboarding/pages/assignment-preparation/AssignmentTutorial';
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import semver from 'semver';
|
||||
import { useBreakpoint, useIsTauri } from './hooks/breakpoint';
|
||||
import { VRModePage } from './components/vr-mode/VRModePage';
|
||||
import { InterfaceSettings } from './components/settings/pages/InterfaceSettings';
|
||||
import { error, log } from './utils/logging';
|
||||
import { FirmwareToolSettings } from './components/firmware-tool/FirmwareTool';
|
||||
import { AppLayout } from './AppLayout';
|
||||
import { Preload } from './components/Preload';
|
||||
import { UnknownDeviceModal } from './components/UnknownDeviceModal';
|
||||
import { useDiscordPresence } from './hooks/discord-presence';
|
||||
import { withSentryReactRouterV6Routing } from '@sentry/react';
|
||||
import { ScaledProportionsPage } from './components/onboarding/pages/body-proportions/ScaledProportions';
|
||||
import { AdvancedSettings } from './components/settings/pages/AdvancedSettings';
|
||||
import { FirmwareUpdate } from './components/firmware-update/FirmwareUpdate';
|
||||
import { ConnectionLost } from './components/onboarding/pages/ConnectionLost';
|
||||
import { VersionUpdateModal } from './components/VersionUpdateModal';
|
||||
import { VRModePage } from './components/vr-mode/VRModePage';
|
||||
import { VRCWarningsPage } from './components/vrc/VRCWarningsPage';
|
||||
import { StayAlignedSetup } from './components/onboarding/pages/stay-aligned/StayAlignedSetup';
|
||||
import { useBreakpoint, useIsTauri } from './hooks/breakpoint';
|
||||
import { useDiscordPresence } from './hooks/discord-presence';
|
||||
import { error, log } from './utils/logging';
|
||||
|
||||
export const GH_REPO = 'SlimeVR/SlimeVR-Server';
|
||||
export const VersionContext = createContext('');
|
||||
export const DOCS_SITE = 'https://docs.slimevr.dev';
|
||||
export const SLIMEVR_DISCORD = 'https://discord.gg/slimevr';
|
||||
|
||||
@@ -128,6 +128,7 @@ function Layout() {
|
||||
</SettingsLayout>
|
||||
}
|
||||
>
|
||||
<Route path="updates" element={<UpdateSettings />} />
|
||||
<Route path="firmware-tool" element={<FirmwareToolSettings />} />
|
||||
<Route path="trackers" element={<GeneralSettings />} />
|
||||
<Route path="serial" element={<Serial />} />
|
||||
@@ -186,7 +187,6 @@ function Layout() {
|
||||
|
||||
export default function App() {
|
||||
const websocketAPI = useProvideWebsocketApi();
|
||||
const [updateFound, setUpdateFound] = useState('');
|
||||
const isTauri = useIsTauri();
|
||||
|
||||
useEffect(() => {
|
||||
@@ -205,25 +205,6 @@ export default function App() {
|
||||
return () => window.removeEventListener('keydown', onKeydown);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
async function fetchReleases() {
|
||||
const releases = await fetch(
|
||||
`https://api.github.com/repos/${GH_REPO}/releases`
|
||||
)
|
||||
.then((res) => res.json())
|
||||
.then((json: any[]) => json.filter((rl) => rl?.prerelease === false));
|
||||
|
||||
if (
|
||||
__VERSION_TAG__ &&
|
||||
typeof releases[0].tag_name === 'string' &&
|
||||
semver.gt(releases[0].tag_name, __VERSION_TAG__)
|
||||
) {
|
||||
setUpdateFound(releases[0].tag_name);
|
||||
}
|
||||
}
|
||||
fetchReleases().catch(() => error('failed to fetch releases'));
|
||||
}, []);
|
||||
|
||||
if (isTauri) {
|
||||
useEffect(() => {
|
||||
const type = os.type();
|
||||
@@ -293,7 +274,7 @@ export default function App() {
|
||||
<AppContextProvider>
|
||||
<OnboardingContextProvider>
|
||||
<StatusProvider>
|
||||
<VersionContext.Provider value={updateFound}>
|
||||
<UpdateContextProvider>
|
||||
<div className="h-full w-full text-standard bg-background-80 text-background-10">
|
||||
<Preload />
|
||||
{!websocketAPI.isConnected && (
|
||||
@@ -301,7 +282,7 @@ export default function App() {
|
||||
)}
|
||||
{websocketAPI.isConnected && <Layout></Layout>}
|
||||
</div>
|
||||
</VersionContext.Provider>
|
||||
</UpdateContextProvider>
|
||||
</StatusProvider>
|
||||
</OnboardingContextProvider>
|
||||
</AppContextProvider>
|
||||
|
||||
@@ -1,4 +1,22 @@
|
||||
import { ReactNode, useContext, useEffect, useState } from 'react';
|
||||
import { DOCS_SITE, GH_REPO } from '@/App';
|
||||
import { useBreakpoint, useIsTauri } from '@/hooks/breakpoint';
|
||||
import { STABLE_CHANNEL, useConfig } from '@/hooks/config';
|
||||
import { useUpdateContext } from '@/hooks/update.js';
|
||||
import { useWebsocketAPI } from '@/hooks/websocket-api';
|
||||
import { connectedIMUTrackersAtom } from '@/store/app-store';
|
||||
import { error } from '@/utils/logging';
|
||||
import { isTrayAvailable } from '@/utils/tauri';
|
||||
import { invoke } from '@tauri-apps/api/core';
|
||||
import { listen, TauriEvent } from '@tauri-apps/api/event';
|
||||
import {
|
||||
CloseRequestedEvent,
|
||||
getCurrentWindow,
|
||||
UserAttentionType,
|
||||
} from '@tauri-apps/api/window';
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import classNames from 'classnames';
|
||||
import { useAtomValue } from 'jotai';
|
||||
import { ReactNode, useEffect, useState } from 'react';
|
||||
import { NavLink, useMatch } from 'react-router-dom';
|
||||
import {
|
||||
RpcMessage,
|
||||
@@ -6,38 +24,21 @@ import {
|
||||
ServerInfosResponseT,
|
||||
TrackerStatus,
|
||||
} from 'solarxr-protocol';
|
||||
import { useWebsocketAPI } from '@/hooks/websocket-api';
|
||||
import { useDoubleTap } from 'use-double-tap';
|
||||
import { CloseIcon } from './commons/icon/CloseIcon';
|
||||
import { DownloadIcon } from './commons/icon/DownloadIcon';
|
||||
import { GearIcon } from './commons/icon/GearIcon';
|
||||
import { MaximiseIcon } from './commons/icon/MaximiseIcon';
|
||||
import { MinimiseIcon } from './commons/icon/MinimiseIcon';
|
||||
import { QuestionIcon } from './commons/icon/QuestionIcon';
|
||||
import { SlimeVRIcon } from './commons/icon/SimevrIcon';
|
||||
import { ProgressBar } from './commons/ProgressBar';
|
||||
import { Typography } from './commons/Typography';
|
||||
import { DownloadIcon } from './commons/icon/DownloadIcon';
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import { DOCS_SITE, GH_REPO, VersionContext } from '@/App';
|
||||
import classNames from 'classnames';
|
||||
import { QuestionIcon } from './commons/icon/QuestionIcon';
|
||||
import { useBreakpoint, useIsTauri } from '@/hooks/breakpoint';
|
||||
import { GearIcon } from './commons/icon/GearIcon';
|
||||
import { invoke } from '@tauri-apps/api/core';
|
||||
import { TrackersStillOnModal } from './TrackersStillOnModal';
|
||||
import { useConfig } from '@/hooks/config';
|
||||
import { listen, TauriEvent } from '@tauri-apps/api/event';
|
||||
import { TrayOrExitModal } from './TrayOrExitModal';
|
||||
import { error } from '@/utils/logging';
|
||||
import { useDoubleTap } from 'use-double-tap';
|
||||
import { isTrayAvailable } from '@/utils/tauri';
|
||||
import { ErrorConsentModal } from './ErrorConsentModal';
|
||||
import {
|
||||
CloseRequestedEvent,
|
||||
getCurrentWindow,
|
||||
UserAttentionType,
|
||||
} from '@tauri-apps/api/window';
|
||||
import { useAtomValue } from 'jotai';
|
||||
import { connectedIMUTrackersAtom } from '@/store/app-store';
|
||||
import { TrackersStillOnModal } from './TrackersStillOnModal';
|
||||
import { TrayOrExitModal } from './TrayOrExitModal';
|
||||
|
||||
export function VersionTag() {
|
||||
function VersionTag() {
|
||||
return (
|
||||
<div
|
||||
className={classNames(
|
||||
@@ -55,6 +56,34 @@ export function VersionTag() {
|
||||
);
|
||||
}
|
||||
|
||||
export function VersionIndicator() {
|
||||
const { config } = useConfig();
|
||||
|
||||
const channel = config?.updateChannel ?? STABLE_CHANNEL;
|
||||
const isStable = channel === STABLE_CHANNEL;
|
||||
|
||||
return (
|
||||
<div className="bg-opacity-10 bg-status-success rounded-lg overflow-hidden flex gap-1">
|
||||
<VersionTag />
|
||||
|
||||
<NavLink
|
||||
to="/settings/updates"
|
||||
className="flex justify-around flex-col py-1 pr-0.5 transition-all fill-status-success"
|
||||
data-tauri-drag-region
|
||||
state={{ scrollTo: 'channel' }}
|
||||
>
|
||||
<GearIcon />
|
||||
</NavLink>
|
||||
|
||||
{!isStable && (
|
||||
<div className="flex justify-around flex-col text-standard-bold text-status-success pl-0.5 pr-3 select-text">
|
||||
{channel}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function TopBar({
|
||||
progress,
|
||||
}: {
|
||||
@@ -66,7 +95,7 @@ export function TopBar({
|
||||
const { useRPCPacket, sendRPCPacket } = useWebsocketAPI();
|
||||
const connectedIMUTrackers = useAtomValue(connectedIMUTrackersAtom);
|
||||
const { config, setConfig, saveConfig } = useConfig();
|
||||
const version = useContext(VersionContext);
|
||||
const { isUpToDate } = useUpdateContext();
|
||||
const [localIp, setLocalIp] = useState<string | null>(null);
|
||||
const [showConnectedTrackersWarning, setConnectedTrackerWarning] =
|
||||
useState(false);
|
||||
@@ -181,7 +210,7 @@ export function TopBar({
|
||||
)}
|
||||
{(!(isMobile && !config?.decorations) || showVersionMobile) && (
|
||||
<>
|
||||
<VersionTag></VersionTag>
|
||||
<VersionIndicator />
|
||||
{doesMatchSettings && (
|
||||
<div
|
||||
className={classNames(
|
||||
@@ -196,7 +225,7 @@ export function TopBar({
|
||||
</>
|
||||
)}
|
||||
|
||||
{version && (
|
||||
{!isUpToDate && (
|
||||
<div
|
||||
className="cursor-pointer"
|
||||
onClick={() => {
|
||||
|
||||
@@ -1,23 +1,25 @@
|
||||
import { GH_REPO } from '@/App';
|
||||
import { useUpdateContext } from '@/hooks/update.js';
|
||||
import { error } from '@/utils/logging';
|
||||
import { useLocalization } from '@fluent/react';
|
||||
import { useContext, useState } from 'react';
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import { useState } from 'react';
|
||||
import semver from 'semver';
|
||||
import { BaseModal } from './commons/BaseModal';
|
||||
import { Button } from './commons/Button';
|
||||
import { Typography } from './commons/Typography';
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import semver from 'semver';
|
||||
import { GH_REPO, VersionContext } from '@/App';
|
||||
import { error } from '@/utils/logging';
|
||||
|
||||
export function VersionUpdateModal() {
|
||||
const { l10n } = useLocalization();
|
||||
const newVersion = useContext(VersionContext);
|
||||
const { latestVersionOnChannel: newVersion } = useUpdateContext();
|
||||
const [forceClose, setForceClose] = useState(false);
|
||||
const closeModal = () => {
|
||||
localStorage.setItem('lastVersionFound', newVersion);
|
||||
localStorage.setItem('lastVersionFound', newVersion ?? '');
|
||||
setForceClose(true);
|
||||
};
|
||||
let isVersionNew = false;
|
||||
try {
|
||||
// TODO(devminer): check over this, if this is still necessary
|
||||
if (newVersion) {
|
||||
isVersionNew = semver.gt(
|
||||
newVersion,
|
||||
@@ -28,6 +30,8 @@ export function VersionUpdateModal() {
|
||||
error('failed to parse new version');
|
||||
}
|
||||
|
||||
if (newVersion === null) return null;
|
||||
|
||||
return (
|
||||
<BaseModal
|
||||
isOpen={!forceClose && !!newVersion && isVersionNew}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { a11yClick } from '@/utils/a11y';
|
||||
import classNames from 'classnames';
|
||||
import { ReactNode, useEffect, useLayoutEffect, useRef, useState } from 'react';
|
||||
import { Control, Controller, UseControllerProps } from 'react-hook-form';
|
||||
import { a11yClick } from '@/utils/a11y';
|
||||
import { createPortal } from 'react-dom';
|
||||
import { Control, Controller, UseControllerProps } from 'react-hook-form';
|
||||
import { ArrowDownIcon } from './icon/ArrowIcons';
|
||||
|
||||
interface DropdownProps {
|
||||
@@ -33,6 +33,7 @@ export interface DropdownItem {
|
||||
component?: ReactNode;
|
||||
value: string;
|
||||
fontName?: string;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export type DropdownDirection = 'up' | 'down';
|
||||
@@ -99,20 +100,34 @@ export function DropdownItems({
|
||||
<li
|
||||
style={item.fontName ? { fontFamily: item.fontName } : {}}
|
||||
className={classNames(
|
||||
'py-2 px-4 min-w-max cursor-pointer first-of-type:*:pointer-events-none',
|
||||
variant == 'primary' &&
|
||||
'checked-hover:bg-background-50 text-background-20 ' +
|
||||
'checked-hover:text-background-10',
|
||||
variant == 'secondary' &&
|
||||
'checked-hover:bg-background-60 text-background-20 ' +
|
||||
'checked-hover:text-background-10',
|
||||
variant == 'tertiary' &&
|
||||
'bg-accent-background-30 checked-hover:bg-accent-background-20'
|
||||
'py-2 px-4 min-w-max first-of-type:*:pointer-events-none',
|
||||
{
|
||||
'cursor-pointer': !item.disabled,
|
||||
},
|
||||
item.disabled
|
||||
? {
|
||||
'bg-background-70':
|
||||
variant === 'primary',
|
||||
'bg-background-80':
|
||||
variant === 'secondary',
|
||||
'bg-background-40':
|
||||
variant === 'tertiary',
|
||||
}
|
||||
: {
|
||||
'checked-hover:bg-background-50 text-background-20 checked-hover:text-background-10':
|
||||
variant === 'primary',
|
||||
'checked-hover:bg-background-60 text-background-20 checked-hover:text-background-10':
|
||||
variant === 'secondary',
|
||||
'bg-accent-background-30 checked-hover:bg-accent-background-20':
|
||||
variant == 'tertiary',
|
||||
}
|
||||
)}
|
||||
onClick={() => {
|
||||
if (item.disabled) return;
|
||||
onSelectItem(item);
|
||||
}}
|
||||
onKeyDown={(ev) => {
|
||||
if (item.disabled) return;
|
||||
if (!a11yClick(ev)) return;
|
||||
onSelectItem(item);
|
||||
}}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import { A } from '@/components/commons/A.js';
|
||||
import { ComponentProps } from 'react';
|
||||
|
||||
export const MarkdownLink = (props: ComponentProps<'a'>) => (
|
||||
<A href={props.href}>{props.children}</A>
|
||||
);
|
||||
@@ -1,13 +1,13 @@
|
||||
import { useBreakpoint } from '@/hooks/breakpoint';
|
||||
import classNames from 'classnames';
|
||||
import {
|
||||
MutableRefObject,
|
||||
ReactElement,
|
||||
ReactNode,
|
||||
useLayoutEffect,
|
||||
useMemo,
|
||||
useRef,
|
||||
useState,
|
||||
ReactElement,
|
||||
useLayoutEffect,
|
||||
MutableRefObject,
|
||||
useMemo,
|
||||
} from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
import { Typography } from './Typography';
|
||||
@@ -419,6 +419,7 @@ export function DrawerTooltip({
|
||||
>
|
||||
<div className="h-12 rounded-t-lg relative flex justify-center items-center">
|
||||
<Typography variant="section-title" textAlign="text-center">
|
||||
{/* TODO(futura): translations */}
|
||||
Pro tip
|
||||
</Typography>
|
||||
<button
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
import { Localized, useLocalization } from '@fluent/react';
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import { LoaderIcon, SlimeState } from '@/components/commons/icon/LoaderIcon';
|
||||
import { useFirmwareTool } from '@/hooks/firmware-tool';
|
||||
import { Button } from '@/components/commons/Button';
|
||||
import { Control, useForm } from 'react-hook-form';
|
||||
import {
|
||||
CreateImuConfigDTO,
|
||||
Imudto,
|
||||
} from '@/firmware-tool-api/firmwareToolSchemas';
|
||||
import { CheckBox } from '@/components/commons/Checkbox';
|
||||
import { Dropdown } from '@/components/commons/Dropdown';
|
||||
import { TrashIcon } from '@/components/commons/icon/TrashIcon';
|
||||
import { Input } from '@/components/commons/Input';
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import {
|
||||
ArrowDownIcon,
|
||||
ArrowUpIcon,
|
||||
} from '@/components/commons/icon/ArrowIcons';
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { useElemSize } from '@/hooks/layout';
|
||||
import { LoaderIcon, SlimeState } from '@/components/commons/icon/LoaderIcon';
|
||||
import { TrashIcon } from '@/components/commons/icon/TrashIcon';
|
||||
import { useGetFirmwaresImus } from '@/firmware-tool-api/firmwareToolComponents';
|
||||
import { CheckBox } from '@/components/commons/Checkbox';
|
||||
import {
|
||||
CreateImuConfigDTO,
|
||||
Imudto,
|
||||
} from '@/firmware-tool-api/firmwareToolSchemas';
|
||||
import { useFirmwareTool } from '@/hooks/firmware-tool';
|
||||
import { useElemSize } from '@/hooks/layout';
|
||||
import { Localized, useLocalization } from '@fluent/react';
|
||||
import classNames from 'classnames';
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import { Control, useForm } from 'react-hook-form';
|
||||
|
||||
function IMUCard({
|
||||
control,
|
||||
|
||||
@@ -1,7 +1,28 @@
|
||||
import { Localized, ReactLocalization, useLocalization } from '@fluent/react';
|
||||
import { Button } from '@/components/commons/Button';
|
||||
import { LoaderIcon, SlimeState } from '@/components/commons/icon/LoaderIcon';
|
||||
import { MarkdownLink } from '@/components/commons/MarkdownLink.js';
|
||||
import { WarningBox } from '@/components/commons/TipBox';
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import { DeviceCardControl } from '@/components/firmware-tool/DeviceCard';
|
||||
import { useAppContext } from '@/hooks/app';
|
||||
import {
|
||||
firmwareUpdateErrorStatus,
|
||||
getFlashingRequests,
|
||||
SelectedDevice,
|
||||
} from '@/hooks/firmware-tool';
|
||||
import { checkForUpdate } from '@/hooks/firmware-update';
|
||||
import { getTrackerName } from '@/hooks/tracker';
|
||||
import { ComponentProps, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { useWebsocketAPI } from '@/hooks/websocket-api';
|
||||
import { devicesAtom } from '@/store/app-store';
|
||||
import { Localized, ReactLocalization, useLocalization } from '@fluent/react';
|
||||
import { yupResolver } from '@hookform/resolvers/yup';
|
||||
import classNames from 'classnames';
|
||||
import { useAtomValue } from 'jotai';
|
||||
import { useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { Control, useForm } from 'react-hook-form';
|
||||
import Markdown from 'react-markdown';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import remark from 'remark-gfm';
|
||||
import {
|
||||
DeviceDataT,
|
||||
DeviceIdTableT,
|
||||
@@ -12,28 +33,7 @@ import {
|
||||
RpcMessage,
|
||||
TrackerStatus,
|
||||
} from 'solarxr-protocol';
|
||||
import classNames from 'classnames';
|
||||
import { Button } from '@/components/commons/Button';
|
||||
import Markdown from 'react-markdown';
|
||||
import remark from 'remark-gfm';
|
||||
import { WarningBox } from '@/components/commons/TipBox';
|
||||
import { useAppContext } from '@/hooks/app';
|
||||
import { DeviceCardControl } from '@/components/firmware-tool/DeviceCard';
|
||||
import { Control, useForm } from 'react-hook-form';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { useWebsocketAPI } from '@/hooks/websocket-api';
|
||||
import {
|
||||
firmwareUpdateErrorStatus,
|
||||
getFlashingRequests,
|
||||
SelectedDevice,
|
||||
} from '@/hooks/firmware-tool';
|
||||
import { yupResolver } from '@hookform/resolvers/yup';
|
||||
import { object } from 'yup';
|
||||
import { LoaderIcon, SlimeState } from '@/components/commons/icon/LoaderIcon';
|
||||
import { A } from '@/components/commons/A';
|
||||
import { useAtomValue } from 'jotai';
|
||||
import { devicesAtom } from '@/store/app-store';
|
||||
import { checkForUpdate } from '@/hooks/firmware-update';
|
||||
|
||||
interface FirmwareUpdateForm {
|
||||
selectedDevices: { [key: string]: boolean };
|
||||
@@ -95,10 +95,6 @@ const StatusList = ({ status }: { status: Record<string, UpdateStatus> }) => {
|
||||
});
|
||||
};
|
||||
|
||||
const MarkdownLink = (props: ComponentProps<'a'>) => (
|
||||
<A href={props.href}>{props.children}</A>
|
||||
);
|
||||
|
||||
export function FirmwareUpdate() {
|
||||
const navigate = useNavigate();
|
||||
const { l10n } = useLocalization();
|
||||
|
||||
@@ -0,0 +1,427 @@
|
||||
import { defaultConfig, useConfig } from '@/hooks/config.js';
|
||||
import { UpdateContextC } from '@/hooks/update.js';
|
||||
import {
|
||||
checkVersionCompatibility,
|
||||
checkVersionCompatibility2,
|
||||
} from '@/utils/update.js';
|
||||
import {
|
||||
UpdateManifestChannel,
|
||||
UpdateManifestChannelVersion,
|
||||
UpdateManifestChannelVersionBuild,
|
||||
type ChannelName,
|
||||
type UpdateManifest,
|
||||
type Version,
|
||||
} from '@slimevr/update-manifest';
|
||||
import {
|
||||
arch as getOSArchitecture,
|
||||
platform as getOSPlatform,
|
||||
} from '@tauri-apps/plugin-os';
|
||||
import { ReactNode, useCallback, useEffect, useState } from 'react';
|
||||
import { gt } from 'semver';
|
||||
|
||||
export function UpdateContextProvider({ children }: { children: ReactNode }) {
|
||||
const { config } = useConfig();
|
||||
const currentChannel = config?.updateChannel ?? defaultConfig.updateChannel;
|
||||
const notifyOnAvailableUpdates =
|
||||
config?.notifyOnAvailableUpdates ?? defaultConfig.notifyOnAvailableUpdates;
|
||||
|
||||
const [manifest, setUpdateManifest] = useState<UpdateManifest | null>(null);
|
||||
|
||||
const [platform, setPlatform] = useState<string>(getOSPlatform());
|
||||
const [architecture, setArchitecture] = useState<string>(getOSArchitecture());
|
||||
|
||||
useEffect(() => {
|
||||
async function fetchReleases() {
|
||||
// const updateManifest = await tauriFetch(
|
||||
// `https://github.com/${GH_REPO}/releases/download/v0.0.0-update-manifest/update-manifest.json`
|
||||
// )
|
||||
// .then((res) => res.json() as Promise<UpdateManifest>)
|
||||
const updateManifest = await Promise.resolve(MOCK_MANIFEST).catch(
|
||||
(err) => {
|
||||
console.error('Failed to fetch releases:', err);
|
||||
}
|
||||
);
|
||||
|
||||
if (!updateManifest) return;
|
||||
setUpdateManifest(updateManifest);
|
||||
}
|
||||
fetchReleases().catch(() => console.error('failed to fetch releases'));
|
||||
}, []);
|
||||
|
||||
const checkCompatibility = useCallback(
|
||||
(
|
||||
channelName: ChannelName,
|
||||
version: Version
|
||||
): {
|
||||
alreadyInstalled: boolean;
|
||||
channel: UpdateManifestChannel | null;
|
||||
version: UpdateManifestChannelVersion | null;
|
||||
build: UpdateManifestChannelVersionBuild | null;
|
||||
isInstallable: boolean;
|
||||
} => {
|
||||
if (!manifest)
|
||||
return {
|
||||
alreadyInstalled: false,
|
||||
channel: null,
|
||||
build: null,
|
||||
version: null,
|
||||
isInstallable: false,
|
||||
};
|
||||
|
||||
return checkVersionCompatibility(
|
||||
manifest,
|
||||
channelName,
|
||||
version,
|
||||
currentChannel,
|
||||
{
|
||||
platform,
|
||||
architecture,
|
||||
}
|
||||
);
|
||||
},
|
||||
[manifest, currentChannel, platform, architecture]
|
||||
);
|
||||
|
||||
const checkCompatibilityFromVersionInfo = useCallback(
|
||||
(
|
||||
channelName: ChannelName,
|
||||
version: Version,
|
||||
versionInfo: UpdateManifestChannelVersion
|
||||
): {
|
||||
alreadyInstalled: boolean;
|
||||
build: UpdateManifestChannelVersionBuild | null;
|
||||
isInstallable: boolean;
|
||||
} => {
|
||||
return checkVersionCompatibility2(
|
||||
channelName,
|
||||
version,
|
||||
versionInfo,
|
||||
currentChannel,
|
||||
{
|
||||
platform,
|
||||
architecture,
|
||||
}
|
||||
);
|
||||
},
|
||||
[currentChannel, platform, architecture]
|
||||
);
|
||||
|
||||
const ch = manifest?.channels[currentChannel];
|
||||
|
||||
return (
|
||||
<UpdateContextC.Provider
|
||||
value={{
|
||||
channel: currentChannel,
|
||||
notifyOnAvailableUpdates,
|
||||
manifest,
|
||||
isUpToDate:
|
||||
ch && __VERSION_TAG__
|
||||
? gt(ch.current_version, __VERSION_TAG__)
|
||||
: true,
|
||||
latestVersionOnChannel: ch?.current_version ?? null,
|
||||
platform,
|
||||
architecture,
|
||||
changeSystem(platform, architecture) {
|
||||
setPlatform(platform);
|
||||
setArchitecture(architecture);
|
||||
},
|
||||
checkCompatibility,
|
||||
checkCompatibilityFromVersionInfo,
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</UpdateContextC.Provider>
|
||||
);
|
||||
}
|
||||
|
||||
const MOCK_MANIFEST: UpdateManifest = {
|
||||
default_channel: 'stable' as ChannelName,
|
||||
channels: {
|
||||
stable: {
|
||||
description: 'Our official stable releases',
|
||||
current_version: 'v0.16.0' as Version,
|
||||
versions: {
|
||||
'v0.12.1': {
|
||||
release_notes:
|
||||
"Please report all bugs in our [Discord server](https://slimevr.dev/discord) for now in the appropriate development channels (`#server`, `#gui`, `#autobone`, etc.). If you need tech support or are not sure if you did find a bug, please use the `#support-forum`.\r\n\r\n## Use the installer to install or update!\r\nUse the installer to install or update SlimeVR if you're on Windows. You can find it here:\r\n* Windows web installer: https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n### Flatpak distribution for Linux\r\nNow you can install [SlimeVR from Flathub](https://flathub.org/apps/details/dev.slimevr.SlimeVR) and update it through there. You can install it by running: ``flatpak install flathub dev.slimevr.SlimeVR``\r\n\r\n## What's Changed\r\n* UDPPacket23RotationAndAcceleration: Switch x and y around to adjust for different axes by @9il in https://github.com/SlimeVR/SlimeVR-Server/pull/1007\r\n* Add more compact bundle protocol by @9il in https://github.com/SlimeVR/SlimeVR-Server/pull/999\r\n* Change usb enumeration to only specific Vid/Pid by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1012\r\n* Fix the HID decoding, replace Q14 with Q15, optimize by @9il in https://github.com/SlimeVR/SlimeVR-Server/pull/1000\r\n* don't toggle trackers if tracking is paused by @Louka3000 in https://github.com/SlimeVR/SlimeVR-Server/pull/1013\r\n* GUI - Fix condition for promise detection in a11y by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1016\r\n* fix macOS bundling action by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1015\r\n\r\n## New Contributors\r\n* @ZycaR made their first contribution in https://github.com/SlimeVR/SlimeVR-Server/pull/1016\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.12.0...v0.12.1",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.12.1'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.13.0': {
|
||||
release_notes:
|
||||
"Please report all bugs in our [Discord server](https://slimevr.dev/discord) for now in the appropriate development channels (`#server`, `#gui`, `#autobone`, etc.). If you need tech support or are not sure if you did find a bug, please use the `#support-forum`.\r\n\r\n## Use the installer to install or update!\r\nUse the installer to install or update SlimeVR if you're on Windows. You can find it here:\r\n* Windows web installer: https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What's Changed\r\n\r\n* fix erimel breaking codeowners by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1032\r\n* Use assigned vid/pid for HID tracker by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1044\r\n* Begone Slimevr-ui.exe by @VocalFan in https://github.com/SlimeVR/SlimeVR-Server/pull/1018\r\n* Fix update button not redirecting to the installer directly on Windows by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1037\r\n* Fix VMC floating by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1039\r\n* Fix mocap mode breaking on startup by @Stermere in https://github.com/SlimeVR/SlimeVR-Server/pull/1046\r\n* Add padding to tracker list on onboarding by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1058\r\n* Update serial console description by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1064\r\n* Add VMC toggle to mirror tracking by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1065\r\n* keep up with quality guidelines in Flathub by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1063\r\n* Use ``Exit`` event instead of ``ExitRequested`` by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1062\r\n* Don't check for waist or hip on `hasChest` by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1031\r\n* Update metainfo to latest by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1024\r\n* Update how Linux bundling is done by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/983\r\n* fix `waitUntil` failing with arrays and objects by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1028\r\n* Create tarball of GUI bundle on release by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1004\r\n* De-duplicate repeated HID packets by @nekomona in https://github.com/SlimeVR/SlimeVR-Server/pull/1036\r\n* macOS app naming improvements by @i0ntempest in https://github.com/SlimeVR/SlimeVR-Server/pull/991\r\n* Override tauri config version with git tag by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/994\r\n* Add Discord Rich Presence support by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1027\r\n* Delete old resources from java by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/984\r\n* Fix WebSocketVRBridge HMD by @rcelyte in https://github.com/SlimeVR/SlimeVR-Server/pull/1072\r\n* GUI - Tracker assignment options by (@ZycaR, @loucass003 and @Erimelowo) in https://github.com/SlimeVR/SlimeVR-Server/pull/1009\r\n* Update to latest Tauri v2 by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1023\r\n* Issue#1074 - Icon of the body part in correct color by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1075\r\n* Issue#1066 - Show the current selected direction on the tracker mounting radial menu by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1077\r\n* Remove useLayout by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1080\r\n* assignments enhancements by @loucass003 and @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1083\r\n* Sync server constants with firmware by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1093\r\n* Fix Quaternion biAlign by @AxisAngles in https://github.com/SlimeVR/SlimeVR-Server/pull/1094\r\n* Fix VMC foot offset by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1020\r\n* Don't use neck length if head tracker doesn't have position by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1019\r\n* Issue#1092 - White theme has correct manual mounting colors by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1103\r\n* Add missing head tracker status by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/962\r\n* Issue#1082 - The Exit Modals does not go on top of other by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1105\r\n* Issue#1079 - Add a background to the 3d preview skeleton by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1107\r\n* Updated IMU Constants by @ShineBrightMeow in https://github.com/SlimeVR/SlimeVR-Server/pull/1100\r\n* Update to latest tauri again by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1097\r\n* Improvement on firewall batch scripts by @VocalFan in https://github.com/SlimeVR/SlimeVR-Serve
Line truncated
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.13.0'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.13.1': {
|
||||
release_notes:
|
||||
"Please report all bugs in our [Discord server](https://slimevr.dev/discord) for now in the appropriate development channels (`#server`, `#gui`, `#autobone`, etc.). If you need tech support or are not sure if you did find a bug, please use the `#support-forum`.\r\n\r\n## Use the installer to install or update!\r\nUse the installer to install or update SlimeVR if you're on Windows. You can find it here:\r\n* Windows web installer: https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n### Flatpak distribution for Linux\r\nNow you can install [SlimeVR from Flathub](https://flathub.org/apps/details/dev.slimevr.SlimeVR) and update it through there. You can install it by running: ``flatpak install flathub dev.slimevr.SlimeVR``\r\n\r\n## What's Changed\r\n* fix(gui): tab title by @TheDevMinerTV in https://github.com/SlimeVR/SlimeVR-Server/pull/1175\r\n* Update appstream data by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1177\r\n* Config check if config path exists and create it if not by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1176\r\n* Move top level await to tauri.ts by @loucass003 and @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1181\r\n* use 128MB of memory for server by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1178\r\n* Sleep HID dataRead with devices present by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1183\r\n* Tracker status box shadow color fix by @Polymoria and @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1170\r\n* Add drift compensation warning by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1160\r\n* Hide navbar onboarding by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1152\r\n* enforce lf with editorconfig by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1192\r\n* Add acceleration & position to tracker page by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1191\r\n* Add OS decorations toggle by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1180\r\n* Add warning to proportions reset by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1179\r\n* Add extrapolated prediction to drift compensation by @nekomona and @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1184\r\n* add a way to skip rest calibration tutorial by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1186\r\n* Block AutoBone with high error values by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1185\r\n* Handle missing local IP by @ButterscotchV and @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1174\r\n* Restrict mounting reset on server by tracker reset status by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1169\r\n* Add settings reset & advanced section by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1154\r\n* Update all gradle dependencies we have by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1173\r\n* Update to Tauri v2 stable by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1194\r\n* add runtime check for appindicator on linux by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1193\r\n* Remove check for port 35903 by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1195\r\n* catch unable to find hid library by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1199\r\n* Fix spacing issues on advanced settings by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1198\r\n* Add asexual theme by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1207\r\n* Fix vmc head shift for lock head by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1208\r\n* Fix typo on `OBTAINING_MAC_ADDRESS` by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1206\r\n* Fix tauri not autosaving store on close anymore by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1209\r\n* Fix style for tracker \"shadow\" & add to all cases by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1204\r\n* Clarify AutoBone error after #1185 by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1214\r\n* Auto label pull requests by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1217\r\n* Hid update protocol by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1200\r\n* Fix Drift compensation prediction description by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1216\r\n* Don't upload `desktop.jar` on CI by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1211\r\n* Fix finishing setup wizard not make it be skipped next time by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1212\r\n* Implement magnetometer toggle for firmware by @ImUrX in https://github.com/SlimeVR/Slime
Line truncated
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.13.1'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.13.2': {
|
||||
release_notes:
|
||||
"Please report all bugs in our [Discord server](https://slimevr.dev/discord) for now in the appropriate development channels (`#server`, `#gui`, `#autobone`, etc.). If you need tech support or are not sure if you did find a bug, please use the `#support-forum`.\r\n\r\n## Use the installer to install or update!\r\nUse the installer to install or update SlimeVR if you're on Windows. You can find it here:\r\n* Windows web installer: https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n### Flatpak distribution for Linux\r\nNow you can install [SlimeVR from Flathub](https://flathub.org/apps/details/dev.slimevr.SlimeVR) and update it through there. You can install it by running: ``flatpak install flathub dev.slimevr.SlimeVR``\r\n\r\n## What's Changed\r\n* dont create `vrconfig.yml` folder by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1229\r\n* New Pontoon translations by @SlimeVR-bot in https://github.com/SlimeVR/SlimeVR-Server/pull/1228\r\n\r\n## Translation changes\r\n- :de: Updated German translation (@Ghostydrae @unlogisch04 @TheDevMinerTV)\r\n- :bubble_tea: Updated Traditional Chinese translation (@medicalwei)\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.13.1...v0.13.2",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.13.2'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.14.0': {
|
||||
release_notes:
|
||||
'Please report all bugs in our [Discord server](https://slimevr.dev/discord) for now in the appropriate development channels (`#server`, `#gui`, `#autobone`, etc.). If you need tech support or are not sure if you did find a bug, please use the `#support-forum`.\r\n\r\n## Use the installer to install or update!\r\nUse the installer to install or update SlimeVR if you\'re on Windows. You can find it here:\r\n* Windows web installer: https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n### Flatpak distribution for Linux\r\nNow you can install [SlimeVR from Flathub](https://flathub.org/apps/details/dev.slimevr.SlimeVR) and update it through there. You can install it by running: ``flatpak install flathub dev.slimevr.SlimeVR``\r\n\r\n## What\'s Changed\r\n### Important Changes\r\n**Added firmware update tool to the server.** Original SlimeVR trackers can be updated over the air and the update is checked automatically.\r\n* Firmware tool by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/880\r\n* Automatic firmware update for official trackers by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1241\r\n* Fix firmware flasher bugs by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1270\r\n* Update firmware constants and translations by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1319\r\n* Better status messages and ui feedback when needing user actions on the firmware tool by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1331\r\n\r\n**Improvements to Autobone.**\r\n* AutoBone bone contribution fix & cleanup by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1249\r\n* Use bones for AutoBone error calculation by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1312\r\n* AutoBone iteration abstraction by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1301\r\n\r\n**Added height configuration with manual and automatic input and use it for scaled proportions.**\r\n* Expand skeleton height config by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1156\r\n* Estimate full height and clarify height config translations by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1325\r\n* Fix manual height not submitting form value by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1342\r\n* Full height for manual configuration by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1329\r\n\r\n**Added Skeleton Constraints feature** that can help limit drift or misalignment beyond what human joints can bend.\r\n* Skeleton Constraints by @Stermere in https://github.com/SlimeVR/SlimeVR-Server/pull/1222\r\n* Implement skeleton constraint toggles by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1290\r\n* Disable correct with constraints server side and hide option in GUI by @Stermere in https://github.com/SlimeVR/SlimeVR-Server/pull/1303\r\n* Decrease shoulder joint\'s constraints by @Stermere in https://github.com/SlimeVR/SlimeVR-Server/pull/1367\r\n\r\n**Added finger tracking support** to the server for future products and thrid-party devices.\r\n* Finger tracking skeleton and VMC support by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1091\r\n\r\n### Other Changes\r\n* Support not having git for making android builds by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1237\r\n* Fix ktor crashing because proguard minifies for Android by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1240\r\n* Make GUI check well against translation changes by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1227\r\n* make HID Device a slime by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1235\r\n* Potentially fix weird hip issues by @Stermere in https://github.com/SlimeVR/SlimeVR-Server/pull/1244\r\n* Improve VRM model file input by @abb128 in https://github.com/SlimeVR/SlimeVR-Server/pull/1246\r\n* Flex resistance and angle support by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1242\r\n* Fix Rust logging by disabling ANSI for file output. by @FluffyOMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1256\r\n* Small improvements on packaging for Tauri by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1254\r\n* Fix Appimage crashing for people by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1253\r\n* Refactor + Check for Env variables by @FluffyOMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1261\r\n* Use jSerialComm 2.11.1-SNAPSHOT by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1269\r\n* Don\'t filter non-temporal trackers by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1255\r\n* Fix over 180 degrees rotations in HumanSkeleton
Line truncated
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.14.0'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.14.1': {
|
||||
release_notes:
|
||||
"Please report all bugs in our [Discord server](https://slimevr.dev/discord) for now in the appropriate development channels (`#server`, `#gui`, `#autobone`, etc.). If you need tech support or are not sure if you did find a bug, please use the `#support-forum`.\r\n\r\n## Use the installer to install or update!\r\nUse the installer to install or update SlimeVR if you're on Windows. You can find it here:\r\n* Windows web installer: https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n### Flatpak distribution for Linux\r\nNow you can install [SlimeVR from Flathub](https://flathub.org/apps/details/dev.slimevr.SlimeVR) and update it through there. You can install it by running: ``flatpak install flathub dev.slimevr.SlimeVR``\r\n\r\n## What's Changed\r\n\r\n## Important Fixes\r\n* Limit prediction amount to fix trackers jumping randomly during times of wifi or server lags by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1388\r\n* Battery level check before update by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1387\r\n* Make Firmware update more reliable, prevent deadlocks of ui by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1389\r\n* Simplify mounting reset status checking by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1382\r\n\r\n## Other Changes\r\n* Use roaming folder for windows logs when trying to open it by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1380\r\n* Fix uncatched errors from not having Tauri by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1379\r\n* Change fw tool reboot wording by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1386\r\n* Remove unsupported boards from fw tool by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1384\r\n* Allow unset password by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1385\r\n* Scale arms on proportions reset by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1383\r\n* Increase default log limits and refactor FileLogHandler by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1381\r\n\r\n## Translation Changes\r\nTODO\r\n* New Pontoon translations by @SlimeVR-bot in https://github.com/SlimeVR/SlimeVR-Server/pull/1374\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.14.0...v0.14.1",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.14.1'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.15.0': {
|
||||
release_notes:
|
||||
"Please report all bugs in our [Discord server](https://slimevr.dev/discord) for now in the appropriate development channels (`#server`, `#gui`, `#autobone`, etc.). If you need tech support or are not sure if you did find a bug, please use the `#support-forum`.\r\n\r\n## Use the installer to install or update!\r\nUse the installer to install or update SlimeVR if you're on Windows. You can find it here:\r\n* Windows web installer: https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n### Flatpak distribution for Linux\r\nNow you can install [SlimeVR from Flathub](https://flathub.org/apps/details/dev.slimevr.SlimeVR) and update it through there. You can install it by running: ``flatpak install flathub dev.slimevr.SlimeVR``\r\n\r\n\r\n## What's Changed\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n## First contributions! \r\n\r\n* Add magnetic field vector by @tort32 in https://github.com/SlimeVR/SlimeVR-Server/pull/1416\r\n* Add note to update gui dependencies when change SolarXR protocol by @tort32 in https://github.com/SlimeVR/SlimeVR-Server/pull/1432\r\n\r\n\r\n## Important Fixes\r\n* Add OTA port to firewall script by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1397\r\n* Add OTA port to firewall uninstall script by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1409\r\n* Interpolation tests & better skeleton test class by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1359\r\n* Load configured height for manual height config by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1395\r\n* Filtering fixes by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1405\r\n* Tracking pause unit test by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1360\r\n\r\n* Apply filtering post-reset, reapply 180° fix removal & fix getYawQuaternion polarity by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1352\r\n\r\n* fw update server deadlock fix by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1393\r\n* VRChat Config Warnings by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1358\r\n* manual proportions rework by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1346\r\n* Optimise re-renders by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1355\r\n* More provisioning errors by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1404\r\n* Fix fw tool crash by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1408\r\n* Bring back onboarding by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1414\r\n* Show warnings when network is set to public on windows by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1425\r\n* Make sure Global mag setting is saved by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1421\r\n* Fix battery resistances being sent as string instead of numbers by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1413\r\n\r\n* add transition to tracker shadows by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1402\r\n* add fade out to reset button borders by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1400\r\n* Better battery and wifi statuses behavior by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1410\r\n* softer reset sounds by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1394\r\n* Use HID tracker magnetometer status from mag_id by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1366\r\n* TrackersHID fix exception from null magStatus by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1419\r\n* Tracker display names by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1417\r\n* TrackersHID keep opening existing devices by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1429\r\n* TrackersHID report magnetometer packet by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1428\r\n* TrackersHID clearly define acceleration axes by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1431\r\n* make tracker entry borders consistent with no border by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1411\r\n\r\n* fix Firewall Rules for java.exe by @unlogisch04 in
Line truncated
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.15.0'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.16.0': {
|
||||
release_notes:
|
||||
'Please report all bugs in our [Discord server](https://slimevr.dev/discord) for now in the appropriate development channels (`#server`, `#gui`, `#autobone`, etc.). If you need tech support or are not sure if you did find a bug, please use the `#support-forum`.\r\n\r\n## Use the installer to install or update!\r\nUse the installer to install or update SlimeVR if you\'re on Windows. You can find it here:\r\n* Windows web installer: https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n### Flatpak distribution for Linux\r\nNow you can install [SlimeVR from Flathub](https://flathub.org/apps/details/dev.slimevr.SlimeVR) and update it through there. You can install it by running: ``flatpak install flathub dev.slimevr.SlimeVR``\r\n\r\n## What\'s Changed\r\n* Stay Aligned by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1418\r\n* [Stay Aligned] Simplify Stay Aligned settings by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1436\r\n* Add a proper tracker name for gestures trackers by @9il in https://github.com/SlimeVR/SlimeVR-Server/pull/1440\r\n* [Stay Aligned] Select yaw correction rate based on IMU type by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1438\r\n* [Stay Aligned] Move reset stay aligned after filtering by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1439\r\n* add server/*/bin to .gitignore by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1443\r\n* [Stay Aligned] Increase yaw correction rate for good IMUs by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1445\r\n* bump flasher lib by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1446\r\n* stay aligned wizard by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1442\r\n* stay aligned fixes by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1447\r\n* Free the text coursour? by @Polymoria in https://github.com/SlimeVR/SlimeVR-Server/pull/1448\r\n* Just aligned together some elements by @Polymoria in https://github.com/SlimeVR/SlimeVR-Server/pull/1451\r\n* Improve typing on xylophone by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1456\r\n* Update linux metadata releases by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1458\r\n* TrackersHID only reopen if no data received by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1444\r\n* Use `fetchResourceUrl` for the setup wizard video by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1457\r\n* Optimise Tracker assignment re renders by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1454\r\n* Revert "Just aligned together some elements" by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1460\r\n* Remove Drift compensation by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1461\r\n* Fix neck length not being able to be used for VMC by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1466\r\n* Fix vrc tracker model unknown text by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1469\r\n* [Stay Aligned] Fix wild swings when yaw resetting by resetting Stay Aligned before filtering by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1468\r\n* Manual proportions visual fixes by @Polymoria in https://github.com/SlimeVR/SlimeVR-Server/pull/1449\r\n* Individual Pose calibration for stay aligned by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1452\r\n* Improve the maintenance of the Linux-side by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1463\r\n* Fix number / order of steps in stay aligned by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1475\r\n* Remove BVH button on android builds by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1478\r\n* Update VRM reader to the new VMC 1.0 spec by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1481\r\n* New Pontoon translations by @SlimeVR-bot in https://github.com/SlimeVR/SlimeVR-Server/pull/1437\r\n\r\n## Translation changes\r\n- :sweden: Added Swedish translation (@Cabbemannen @suediedev)\r\n- :thailand: Added Thai translation (@SparklingSakura @YUYAVT @TomoYume-nya-or-something @wuttawatt @Taharo1231)\r\n- :lithuania: Added Lithuanian translation (@abb128)\r\n- :ukraine: Updated Ukranian translation (@KaluhinShans) \r\n- :es: Updated Spain Spanish translation (Baddie @Avenjya @ImUrX)\r\n- :brazil: Updated Brazilian translation (@miguelmnogueira)\r\n- :fr: Updated French translation (FR_KF_FR @elektricM @Erimelowo)\r\n- :poland: Updated Polish translation (@ReDoXpl @Yexoo)\r\n- :ru: Updated Russian translation (@Dragonflar @Lindetinn @SummerArtz @Arom-beep @serge55575 @VibeRBLX)\r\n- :norway: Updated Norwegian Bokmål translation (@toastloaf @MrFloax @Avenjya)\r\n- :earth_
Line truncated
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.16.0'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
nightly: {
|
||||
description: 'unstable builds',
|
||||
current_version: 'v0.16.1-rc.1' as Version,
|
||||
versions: {
|
||||
'v0.13.0-rc.1': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n## Installation\r\n* Download the new release below and extract it.\r\n* Replace `slimevr.jar` and `slimevr.exe` in the install folder (`C:\\Program Files (x86)\\SlimeVR Server`)\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What's Changed\r\n* fix erimel breaking codeowners by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1032\r\n* Use assigned vid/pid for HID tracker by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1044\r\n* Begone Slimevr-ui.exe by @VocalFan in https://github.com/SlimeVR/SlimeVR-Server/pull/1018\r\n* Fix update button not redirecting to the installer directly on Windows by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1037\r\n* Fix VMC floating by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1039\r\n* Fix mocap mode breaking on startup by @Stermere in https://github.com/SlimeVR/SlimeVR-Server/pull/1046\r\n* Add padding to tracker list on onboarding by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1058\r\n* Update serial console description by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1064\r\n* Add VMC toggle to mirror tracking by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1065\r\n* keep up with quality guidelines in Flathub by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1063\r\n* Use ``Exit`` event instead of ``ExitRequested`` by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1062\r\n* Don't check for waist or hip on `hasChest` by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1031\r\n* Update metainfo to latest by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1024\r\n* Update how Linux bundling is done by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/983\r\n* fix `waitUntil` failing with arrays and objects by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1028\r\n* Create tarball of GUI bundle on release by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1004\r\n* De-duplicate repeated HID packets by @nekomona in https://github.com/SlimeVR/SlimeVR-Server/pull/1036\r\n* macOS app naming improvements by @i0ntempest in https://github.com/SlimeVR/SlimeVR-Server/pull/991\r\n* Override tauri config version with git tag by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/994\r\n* Add Discord Rich Presence support by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1027\r\n* Delete old resources from java by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/984\r\n* Fix WebSocketVRBridge HMD by @rcelyte in https://github.com/SlimeVR/SlimeVR-Server/pull/1072\r\n* GUI - Tracker assignment options by (@ZycaR, @loucass003 and @Erimelowo) in https://github.com/SlimeVR/SlimeVR-Server/pull/1009\r\n* Update to latest Tauri v2 by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1023\r\n* Issue#1074 - Icon of the body part in correct color by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1075\r\n* Issue#1066 - Show the current selected direction on the tracker mounting radial menu by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1077\r\n* Remove useLayout by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1080\r\n* assignments enhancements by @loucass003 and @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1083\r\n* Sync server constants with firmware by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1093\r\n* Fix Quaternion biAlign by @AxisAngles in https://github.com/SlimeVR/SlimeVR-Server/pull/1094\r\n* Fix VMC foot offset by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1020\r\n* Don't use neck length if head tracker doesn't have position by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1019\r\n* Issue#1092 - White theme has correct manual mounting colors by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1103\r\n* Add missing head tracker status by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/962\r\n* Issue#1082 - The Exit Modals does not go on top of other by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1105\r\n* Issue#1079 - Add a background to the 3d preview skeleton by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1107\r\n* Updated IMU Constants by @ShineBrightMeow in https://github.com/SlimeVR/SlimeVR-Server/pull/1100\r\n* Update to latest tauri again by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1097\r\n* Improvement on firewall batch scripts by @VocalFan in https://github.com/SlimeVR/SlimeVR-Server/pull/1030\r\n* Update jSerialComm library by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Serv
Line truncated
|
||||
builds: {},
|
||||
},
|
||||
'v0.13.0-rc.2': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n## Installation\r\n* Download the new release below and extract it.\r\n* Replace `slimevr.jar` and `slimevr.exe` in the install folder (`C:\\Program Files (x86)\\SlimeVR Server`)\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What's Changed\r\n* Change Android webserver port to 34536 by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1131\r\n* Fix skeleton issues by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1132\r\n* Fix many GUI bugs found by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1129\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.13.0-rc.1...v0.13.0-rc.2",
|
||||
builds: {},
|
||||
},
|
||||
'v0.13.0-rc.3': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n## Installation\r\n* Download the new release below and extract it.\r\n* Replace `slimevr.jar` and `slimevr.exe` in the install folder (`C:\\Program Files (x86)\\SlimeVR Server`)\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What's Changed\r\n* Reset upper chest tracker by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1134\r\n* Fix Android build & OSC support by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1133\r\n* Change automatic mounting pose image to new one by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1135\r\n* show current direction on manual mounting by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1108\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.13.0-rc.2...v0.13.0-rc.3",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.13.0-rc.3'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.13.0-rc.4': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n## Installation\r\n* Download the new release below and extract it.\r\n* Replace `slimevr.jar` and `slimevr.exe` in the install folder (`C:\\Program Files (x86)\\SlimeVR Server`)\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What's Changed\r\n* Add small top padding to show highlighting on tracker assignment page by @ZycaR in https://github.com/SlimeVR/SlimeVR-Server/pull/1138\r\n* remove discord log that includes user information by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1139\r\n* Add dependabot for GitHub Actions by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1137\r\n* Bump pnpm/action-setup from 3 to 4 by @dependabot in https://github.com/SlimeVR/SlimeVR-Server/pull/1144\r\n* Bump gradle/actions from 3 to 4 by @dependabot in https://github.com/SlimeVR/SlimeVR-Server/pull/1143\r\n* Update mounting reset image to a newer one by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1145\r\n* Convert to WebP in mounting reset once again by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1146\r\n* Fix SlimeVR server from not working reliably on Quest standalone by @swax in https://github.com/SlimeVR/SlimeVR-Server/pull/1141\r\n* Add scripts for checking licenses by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1099\r\n* Fix tracker reset logic by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1150\r\n* Fix audio/video issues not playing on Linux by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1151\r\n\r\n## New Contributors\r\n* @dependabot made their first contribution in https://github.com/SlimeVR/SlimeVR-Server/pull/1144\r\n* @swax made their first contribution in https://github.com/SlimeVR/SlimeVR-Server/pull/1141\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.13.0-rc.3...v0.13.0-rc.4",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.13.0-rc.4'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.13.1-rc.1': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n## Installation\r\n* Download the new release below and extract it.\r\n* Replace `slimevr.jar` and `slimevr.exe` in the install folder (`C:\\Program Files (x86)\\SlimeVR Server`)\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What's Changed\r\n* fix(gui): tab title by @TheDevMinerTV in https://github.com/SlimeVR/SlimeVR-Server/pull/1175\r\n* Update appstream data by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1177\r\n* Config check if config path exists and create it if not by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1176\r\n* Move top level await to tauri.ts by @loucass003 and @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1181\r\n* use 128MB of memory for server by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1178\r\n* Sleep HID dataRead with devices present by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1183\r\n* Tracker status box shadow color fix by @Polymoria and @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1170\r\n* Add drift compensation warning by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1160\r\n* Hide navbar onboarding by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1152\r\n* enforce lf with editorconfig by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1192\r\n* Add acceleration & position to tracker page by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1191\r\n* Add OS decorations toggle by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1180\r\n* Add warning to proportions reset by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1179\r\n* Add extrapolated prediction to drift compensation by @nekomona and @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1184\r\n* add a way to skip rest calibration tutorial by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1186\r\n* Block AutoBone with high error values by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1185\r\n* Handle missing local IP by @ButterscotchV and @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1174\r\n* Restrict mounting reset on server by tracker reset status by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1169\r\n* Add settings reset & advanced section by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1154\r\n* Update all gradle dependencies we have by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1173\r\n* Update to Tauri v2 stable by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1194\r\n* add runtime check for appindicator on linux by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1193\r\n* Remove check for port 35903 by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1195\r\n\r\n## New Contributors\r\n* @Polymoria made their first contribution in https://github.com/SlimeVR/SlimeVR-Server/pull/1170\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.13.0...v0.13.1-rc.1",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.13.1-rc.1'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.13.1-rc.2': {
|
||||
release_notes:
|
||||
'This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n## Installation\r\n* Download the new release below and extract it.\r\n* Replace `slimevr.jar` and `slimevr.exe` in the install folder (`C:\\Program Files (x86)\\SlimeVR Server`)\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What\'s Changed\r\n* catch unable to find hid library by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1199\r\n* Fix spacing issues on advanced settings by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1198\r\n* Add asexual theme by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1207\r\n* Fix vmc head shift for lock head by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1208\r\n* Fix typo on `OBTAINING_MAC_ADDRESS` by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1206\r\n* Fix tauri not autosaving store on close anymore by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1209\r\n* Fix style for tracker "shadow" & add to all cases by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1204\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.13.1-rc.1...v0.13.1-rc.2',
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.13.1-rc.2'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.13.1-rc.3': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n## Installation\r\n* Download the new release below and extract it.\r\n* Replace `slimevr.jar` and `slimevr.exe` in the install folder (`C:\\Program Files (x86)\\SlimeVR Server`)\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What's Changed\r\n* Clarify AutoBone error after #1185 by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1214\r\n* Auto label pull requests by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1217\r\n* Hid update protocol by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1200\r\n* Fix Drift compensation prediction description by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1216\r\n* Don't upload `desktop.jar` on CI by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1211\r\n* Fix finishing setup wizard not make it be skipped next time by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1212\r\n* Implement magnetometer toggle for firmware by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1114\r\n* Fix missing translation key on tracker settings for `Tracker name` by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1215\r\n* Update nix flake by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1221\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.13.1-rc.2...v0.13.1-rc.3",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.13.1-rc.3'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.14.0-rc.2': {
|
||||
release_notes:
|
||||
'This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n**Installation Instructions (Windows):**\r\nDownload ``SlimeVR-win64.zip`` below, extract it, and replace ``slimevr.jar``, ``slimevr.exe`` in the install folder (C:\\Program Files (x86)\\SlimeVR Server).\r\nWe also recommend to back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\n\r\n## What\'s Changed\r\n* Accept rest calibration in sensor info packet by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1317\r\n* Document fields in TrackerResetsHandler by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1320\r\n* Update firmware constants and translations by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1319\r\n* AutoBone iteration abstraction by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1301\r\n* Fix erroneous sign extension in Protobuf IPC packet handling by @rcelyte in https://github.com/SlimeVR/SlimeVR-Server/pull/1318\r\n* Add a toggle for OSCQuery by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1322\r\n* Remove Vive Emulation by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1324\r\n* Fix GUI crashing on standalone builds by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1310\r\n* Use bones for AutoBone error calculation by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1312\r\n* New PoseFrame streaming format by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1284\r\n* Estimate full height and clarify height config translations by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1325\r\n* Better status messages and ui feedback when needing user actions on the firmware tool by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1331\r\n* Fix skeleton config "changed" arrays by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1330\r\n* Redo all tap sounds with better volume and tones / remove mp3s by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1338\r\n* BVH Status and Paused tracking is not presisted in gui by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1332\r\n* Scaled proportions as default by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1339\r\n* Better Error page when connection lost + Open logs folder btn by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1340\r\n* Fix manual height not submitting form value by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1342\r\n* Add skeleton resets unit tests by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1336\r\n* fix(solarxr): unbreak other SolarXR clients caused by Vive emulation removal by @TheDevMinerTV in https://github.com/SlimeVR/SlimeVR-Server/pull/1348\r\n* Add more actions to Websocket JSON API by @Artefact2 in https://github.com/SlimeVR/SlimeVR-Server/pull/1347\r\n* Fix moving average quaternion desync & smoothing by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1351\r\n* Unit test toe snap + fix leg tweaks & default proportions by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1350\r\n* Full height for manual configuration by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1329\r\n* New Pontoon translations by @SlimeVR-bot in https://github.com/SlimeVR/SlimeVR-Server/pull/1315\r\n* Send reset finished status on all reset timers by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1353\r\n\r\n## New Contributors\r\n* @Artefact2 made their first contribution in https://github.com/SlimeVR/SlimeVR-Server/pull/1347\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.14.0-rc1...v0.14.0-rc.2',
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.14.0-rc.2'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.14.0-rc1': {
|
||||
release_notes:
|
||||
'This is a release candidate. Back up your vrconfig.yml at `%AppData%\\dev.slimevr.SlimeVR` before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in `#beta-testing-forum`!\r\n\r\n## Installation\r\n* Download the new release below and extract it.\r\n* Replace `slimevr.jar` and `slimevr.exe` in the install folder (`C:\\Program Files (x86)\\SlimeVR Server`)\r\n* To run SlimeVR, use the shortcut from the start menu or desktop, or open the installation folder and launch slimevr.exe.\r\n\r\n## What\'s Changed\r\n* Support not having git for making android builds by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1237\r\n* Fix ktor crashing because proguard minifies for Android by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1240\r\n* Finger tracking skeleton and VMC support by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1091\r\n* Make GUI check well against translation changes by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1227\r\n* make HID Device a slime by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1235\r\n* Potentially fix weird hip issues by @Stermere in https://github.com/SlimeVR/SlimeVR-Server/pull/1244\r\n* Improve VRM model file input by @abb128 in https://github.com/SlimeVR/SlimeVR-Server/pull/1246\r\n* Flex resistance and angle support by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1242\r\n* Fix Rust logging by disabling ANSI for file output. by @FluffyOMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1256\r\n* Small improvements on packaging for Tauri by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1254\r\n* Fix Appimage crashing for people by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1253\r\n* Refactor + Check for Env variables by @FluffyOMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1261\r\n* Firmware tool by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/880\r\n* Automatic firmware update for official trackers by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1241\r\n* Fix firmware flasher bugs by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1270\r\n* Use jSerialComm 2.11.1-SNAPSHOT by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1269\r\n* Don\'t filter non-temporal trackers by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1255\r\n* Fix over 180 degrees rotations in HumanSkeleton by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1277\r\n* AutoBone bone contribution fix & cleanup by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1249\r\n* Fix CI bugs that appeared recently by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1272\r\n* Fix "trackers still on" when closing via tray by @JovannMC in https://github.com/SlimeVR/SlimeVR-Server/pull/1265\r\n* i18n: improve SlimeVR tracker flashing instruction by @medicalwei in https://github.com/SlimeVR/SlimeVR-Server/pull/1276\r\n* Attempt to fix moving average quaternions not resetting properly by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1278\r\n* Improve log file behaviour by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1262\r\n* SolarXR IPC Socket by @rcelyte in https://github.com/SlimeVR/SlimeVR-Server/pull/1247\r\n* Update apt cache action to fix CI error by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1287\r\n* Expand skeleton height config by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1156\r\n* Skeleton Constraints by @Stermere in https://github.com/SlimeVR/SlimeVR-Server/pull/1222\r\n* add university of maryland mirror for Eclipse formatter by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1289\r\n* Improve close window request checks by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1285\r\n* Implement skeleton constraint toggles by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1290\r\n* Make SlimeVR icon rounded by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1286\r\n* Tooltips API for mobile and desktop by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1271\r\n* Give voltage value to the battery icon by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1292\r\n* New Pontoon translations by @SlimeVR-bot in https://github.com/SlimeVR/SlimeVR-Server/pull/1239\r\n* Small ui fixes on firmware updates by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1291\r\n* Move autimatic steamvr tracker assignment checkbox first by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1299\r\n* Revert "Fix over 180 degrees rotations in HumanSkeleton" by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1302\r\n* Make tap over threshold always available by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1300\r\n* Updates nodeOffset when body propor
Line truncated
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.14.0-rc1'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.15.0-rc.1': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in #beta-testing-forum!\r\n\r\n## Installation Instructions (Windows):\r\nDownload SlimeVR-win64.zip below, extract it, and replace slimevr.jar, slimevr.exe and firewall.bat in the install folder (C:\\Program Files (x86)\\SlimeVR Server).\r\nRun firewall.bat as administrator\r\nWe also recommend to back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\n\r\n\r\n## What's Changed\r\n* Add OTA port to firewall script by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1397\r\n* fw update server deadlock fix by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1393\r\n* softer reset sounds by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1394\r\n* Fix for override.ftl not working by @unlogisch04 in https://github.com/SlimeVR/SlimeVR-Server/pull/1398\r\n* add fade out to reset button borders by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1400\r\n* Bump awalsh128/cache-apt-pkgs-action from 1.4.3 to 1.5.0 by @dependabot in https://github.com/SlimeVR/SlimeVR-Server/pull/1361\r\n* Use HID tracker magnetometer status from mag_id by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1366\r\n* Use automatic hyphenation when possible by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1362\r\n* Load configured height for manual height config by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1395\r\n* manual proportions rework by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1346\r\n* VRChat Config Warnings by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1358\r\n* Optimise re-renders by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1355\r\n* Apply filtering post-reset, reapply 180° fix removal & fix getYawQuaternion polarity by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1352\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.14.1...v0.15.0-rc.1",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.15.0-rc.1'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.15.0-rc.2': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in #beta-testing-forum!\r\n\r\n## Installation Instructions (Windows):\r\nDownload SlimeVR-win64.zip below, extract it, and replace slimevr.jar, slimevr.exe and firewall.bat in the install folder (C:\\Program Files (x86)\\SlimeVR Server).\r\nRun firewall.bat as administrator\r\nWe also recommend to back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\n\r\n## What's Changed\r\n* vrconfig linux fix by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1403\r\n* Interpolation tests & better skeleton test class by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1359\r\n* More provisioning errors by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1404\r\n* add transition to tracker shadows by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1402\r\n* Fix fw tool crash by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1408\r\n* Filtering fixes by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1405\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.15.0-rc.1...v0.15.0-rc.2",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.15.0-rc.2'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.15.0-rc.3': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in #beta-testing-forum!\r\n\r\n## Installation Instructions (Windows):\r\nDownload SlimeVR-win64.zip below, extract it, and replace slimevr.jar, slimevr.exe and firewall.bat in the install folder (C:\\Program Files (x86)\\SlimeVR Server).\r\nRun firewall.bat as administrator\r\nWe also recommend to back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\n\r\n## What's Changed\r\n* Add OTA port to firewall uninstall script by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1409\r\n* Fix lower_leg-desc and elbow_offset-desc typos by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1412\r\n* Bring back onboarding by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1414\r\n* fix Firewall Rules for java.exe by @unlogisch04 in https://github.com/SlimeVR/SlimeVR-Server/pull/1415\r\n* Better battery and wifi statuses behavior by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1410\r\n* make tracker entry borders consistent with no border by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1411\r\n* Fix battery resistances being sent as string instead of numbers by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1413\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.15.0-rc.2...v0.15.0-rc.3",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.15.0-rc.3'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.15.0-rc.4': {
|
||||
release_notes:
|
||||
"This is a release candidate. Back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\nPlease report all bugs in our [Discord server](https://slimevr.dev/discord), in the appropriate forum post in #beta-testing-forum!\r\n\r\n## Installation Instructions (Windows):\r\nDownload SlimeVR-win64.zip below, extract it, and replace slimevr.jar, slimevr.exe and firewall.bat in the install folder (C:\\Program Files (x86)\\SlimeVR Server).\r\nRun firewall.bat as administrator\r\nWe also recommend to back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\n\r\n## What's Changed\r\n* Make sure Global mag setting is saved by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1421\r\n* TrackersHID fix exception from null magStatus by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1419\r\n* Reduce log entry size when logging invalid UDP packets by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1424\r\n* Stop using Twemoji and just use SVGs for it by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1364\r\n* Tracker display names by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1417\r\n* Allow to mute vrc warnings by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1420\r\n* Fix macOS heap error in CI by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1426\r\n* TrackersHID keep opening existing devices by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1429\r\n* TrackersHID report magnetometer packet by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1428\r\n* IMUVisualizerWidget accel replace three arrows with one vector by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1430\r\n* TrackersHID clearly define acceleration axes by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1431\r\n* Add magnetic field vector by @tort32 in https://github.com/SlimeVR/SlimeVR-Server/pull/1416\r\n* Tracking pause unit test by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1360\r\n* Show warnings when network is set to public on windows by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1425\r\n* Add note to update gui dependencies when change SolarXR protocol by @tort32 in https://github.com/SlimeVR/SlimeVR-Server/pull/1432\r\n\r\n## New Contributors\r\n* @tort32 made their first contribution in https://github.com/SlimeVR/SlimeVR-Server/pull/1416\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.15.0-rc.3...v0.15.0-rc.4",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.15.0-rc.4'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.16.0-rc.1': {
|
||||
release_notes:
|
||||
"## Installation Instructions (Windows):\r\nDownload SlimeVR-win64.zip below, extract it, and replace slimevr.jar, slimevr.exe in the install folder (C:\\Program Files (x86)\\SlimeVR Server).\r\nWe also recommend to back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\n\r\n## What's Changed\r\n* Stay Aligned by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1418, https://github.com/SlimeVR/SlimeVR-Server/pull/1436, https://github.com/SlimeVR/SlimeVR-Server/pull/1438, https://github.com/SlimeVR/SlimeVR-Server/pull/1439, https://github.com/SlimeVR/SlimeVR-Server/pull/1445\r\n* Add a proper tracker name for gestures trackers by @9il in https://github.com/SlimeVR/SlimeVR-Server/pull/1440\r\n* add server/*/bin to .gitignore by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1443\r\n* bump flasher lib by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1446\r\n* stay aligned wizard by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1442, https://github.com/SlimeVR/SlimeVR-Server/pull/1447\r\n \r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.15.0...v0.16.0-rc.1",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.16.0-rc.1'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.16.0-rc.2': {
|
||||
release_notes:
|
||||
'## Installation Instructions (Windows):\r\nDownload SlimeVR-win64.zip below, extract it, and replace slimevr.jar, slimevr.exe in the install folder (C:\\Program Files (x86)\\SlimeVR Server).\r\nWe also recommend to back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\n\r\n## What\'s Changed\r\n* Free the text coursour? by @Polymoria in https://github.com/SlimeVR/SlimeVR-Server/pull/1448\r\n* Just aligned together some elements by @Polymoria in https://github.com/SlimeVR/SlimeVR-Server/pull/1451\r\n* Improve typing on xylophone by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1456\r\n* Update linux metadata releases by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1458\r\n* TrackersHID only reopen if no data received by @sctanf in https://github.com/SlimeVR/SlimeVR-Server/pull/1444\r\n* Use `fetchResourceUrl` for the setup wizard video by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1457\r\n* Optimise Tracker assignment re renders by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1454\r\n* Revert "Just aligned together some elements" by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1460\r\n* Remove Drift compensation by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1461\r\n* Fix neck length not being able to be used for VMC by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1466\r\n* Fix vrc tracker model unknown text by @Erimelowo in https://github.com/SlimeVR/SlimeVR-Server/pull/1469\r\n* [Stay Aligned] Fix wild swings when yaw resetting by resetting Stay Aligned before filtering by @jabberrock in https://github.com/SlimeVR/SlimeVR-Server/pull/1468\r\n* Manual proportions visual fixes by @Polymoria in https://github.com/SlimeVR/SlimeVR-Server/pull/1449\r\n* Individual Pose calibration for stay aligned by @loucass003 in https://github.com/SlimeVR/SlimeVR-Server/pull/1452\r\n\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.16.0-rc.1...v0.16.0-rc.2',
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.16.0-rc.2'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'v0.16.1-rc.1': {
|
||||
release_notes:
|
||||
"## Installation Instructions (Windows):\r\nDownload SlimeVR-win64.zip below, extract it, and replace slimevr.jar, slimevr.exe in the install folder (C:\\Program Files (x86)\\SlimeVR Server).\r\nWe also recommend to back up your vrconfig.yml at %AppData%\\dev.slimevr.SlimeVR before running.\r\n\r\n## What's Changed\r\n* Update to latest versions in metainfo by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1486\r\n* Add mounting reset protobuf binding by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1473\r\n* Fix concurrency issue with status interacting with multiple threads by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1484\r\n* Update jSerialComm to latest version by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1487\r\n* Fix GUI errors when in smaller sizes by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1472\r\n* Add support for Linux registry checking for VRChat by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1459\r\n* include udev rules in the linux installers by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1488\r\n* Add ARM builds in CI by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1482\r\n* Add save file prompt for BVH recordings by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1483\r\n* Check monitor size before recovering old window state by @ImUrX in https://github.com/SlimeVR/SlimeVR-Server/pull/1470\r\n* Use JNA for network profile detection by @0forks in https://github.com/SlimeVR/SlimeVR-Server/pull/1480\r\n* Grammer and speeling feex by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1474\r\n* Clean-up PoseStreamer and PoseRecorder by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1369\r\n* Yaw reset smoothing fix by @ButterscotchV in https://github.com/SlimeVR/SlimeVR-Server/pull/1490\r\n\r\n**Full Changelog**: https://github.com/SlimeVR/SlimeVR-Server/compare/v0.16.0...v0.16.1-rc.1",
|
||||
builds: {
|
||||
windows: {
|
||||
x86_64: {
|
||||
url: 'https://github.com/SlimeVR/SlimeVR-Installer/releases/latest/download/slimevr_web_installer.exe',
|
||||
run: ['$_BINARY_$', '--version', '0.16.1-rc.1'],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import { useVRCConfig } from '@/hooks/vrc-config';
|
||||
import { useLocalization } from '@fluent/react';
|
||||
import classNames from 'classnames';
|
||||
import { ReactNode, useMemo } from 'react';
|
||||
import { NavLink, useLocation, useMatch } from 'react-router-dom';
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import { useLocalization } from '@fluent/react';
|
||||
import { useVRCConfig } from '@/hooks/vrc-config';
|
||||
|
||||
export function SettingsLink({
|
||||
to,
|
||||
@@ -69,6 +69,9 @@ export function SettingsSidebar() {
|
||||
<SettingsLink to="/settings/trackers" scrollTo="gestureControl">
|
||||
{l10n.getString('settings-sidebar-gesture_control')}
|
||||
</SettingsLink>
|
||||
<SettingsLink to="/settings/updates" scrollTo="updates">
|
||||
{l10n.getString('settings-sidebar-updates')}
|
||||
</SettingsLink>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col gap-3">
|
||||
|
||||
@@ -0,0 +1,294 @@
|
||||
import { Button } from '@/components/commons/Button.js';
|
||||
import { SteamIcon } from '@/components/commons/icon/SteamIcon';
|
||||
import { Input } from '@/components/commons/Input.js';
|
||||
import { MarkdownLink } from '@/components/commons/MarkdownLink.js';
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import { UpdateChannelOptions } from '@/components/settings/pages/components/UpdateChannelOptions.js';
|
||||
import { UpdateChannelVersionOptions } from '@/components/settings/pages/components/UpdateVersionOptions.js';
|
||||
import {
|
||||
SettingsPageLayout,
|
||||
SettingsPagePaneLayout,
|
||||
} from '@/components/settings/SettingsPageLayout';
|
||||
import { useBreakpoint } from '@/hooks/breakpoint.js';
|
||||
import { defaultConfig, useConfig } from '@/hooks/config';
|
||||
import { useUpdateContext } from '@/hooks/update.js';
|
||||
import { useLocalization } from '@fluent/react';
|
||||
import { type ChannelName, type Version } from '@slimevr/update-manifest';
|
||||
import classNames from 'classnames';
|
||||
import { useCallback, useEffect, useState } from 'react';
|
||||
import { useForm } from 'react-hook-form';
|
||||
import Markdown from 'react-markdown';
|
||||
import remark from 'remark-gfm';
|
||||
|
||||
export type SettingsForm = {
|
||||
channel: ChannelName;
|
||||
autoUpdate: boolean;
|
||||
};
|
||||
|
||||
export function UpdateSettings() {
|
||||
const { l10n } = useLocalization();
|
||||
const { config, setConfig } = useConfig();
|
||||
const { isMobile } = useBreakpoint('mobile');
|
||||
|
||||
const { manifest: updateManifest } = useUpdateContext();
|
||||
|
||||
const { reset, control, watch, handleSubmit, getValues, setValue } =
|
||||
useForm<SettingsForm>({
|
||||
defaultValues: {
|
||||
channel: config?.updateChannel ?? defaultConfig.updateChannel,
|
||||
autoUpdate:
|
||||
config?.notifyOnAvailableUpdates ??
|
||||
defaultConfig.notifyOnAvailableUpdates,
|
||||
},
|
||||
});
|
||||
|
||||
const { channel } = watch();
|
||||
|
||||
const onSubmit = (values: SettingsForm) => {
|
||||
setConfig({
|
||||
updateChannel: values.channel,
|
||||
notifyOnAvailableUpdates: values.autoUpdate,
|
||||
});
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
const subscription = watch(() => handleSubmit(onSubmit)());
|
||||
return () => subscription.unsubscribe();
|
||||
}, []);
|
||||
|
||||
if (!updateManifest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
console.log(updateManifest);
|
||||
|
||||
return (
|
||||
<SettingsPageLayout>
|
||||
<form className="flex flex-col gap-2 w-full">
|
||||
<SettingsPagePaneLayout icon={<SteamIcon />} id="channels">
|
||||
<>
|
||||
<Typography variant="main-title">
|
||||
{l10n.getString('settings-general-update')}
|
||||
</Typography>
|
||||
<Typography bold>
|
||||
{l10n.getString('settings-general-update-subtitle')}
|
||||
</Typography>
|
||||
<div className="flex flex-col py-2">
|
||||
{l10n
|
||||
.getString('settings-general-update-description')
|
||||
.split('\n')
|
||||
.map((line, i) => (
|
||||
<Typography color="secondary" key={i}>
|
||||
{line}
|
||||
</Typography>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col md:gap-4 sm:gap-2 xs:gap-1 mobile:gap-4">
|
||||
<UpdateChannelOptions
|
||||
manifest={updateManifest}
|
||||
value={channel}
|
||||
variant={isMobile ? 'dropdown' : 'radio'}
|
||||
onSelect={(channel) => setValue('channel', channel)}
|
||||
asList={false}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
</SettingsPagePaneLayout>
|
||||
|
||||
<SettingsPagePaneLayout icon={<SteamIcon />} id="change_system">
|
||||
<>
|
||||
<Typography variant="main-title">
|
||||
{l10n.getString('settings-general-change_system')}
|
||||
</Typography>
|
||||
<Typography bold>
|
||||
{l10n.getString('settings-general-change_system-subtitle')}
|
||||
</Typography>
|
||||
<div className="flex flex-col py-2">
|
||||
{l10n
|
||||
.getString('settings-general-change_system-description')
|
||||
.split('\n')
|
||||
.map((line, i) => (
|
||||
<Typography color="secondary" key={i}>
|
||||
{line}
|
||||
</Typography>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<ChangeSystem />
|
||||
</>
|
||||
</SettingsPagePaneLayout>
|
||||
|
||||
<SettingsPagePaneLayout icon={<SteamIcon />} id="change_version">
|
||||
<>
|
||||
<Typography variant="main-title">
|
||||
{l10n.getString('settings-general-change_version')}
|
||||
</Typography>
|
||||
<Typography bold>
|
||||
{l10n.getString('settings-general-change_version-subtitle')}
|
||||
</Typography>
|
||||
<div className="flex flex-col py-2">
|
||||
{l10n
|
||||
.getString('settings-general-change_version-description')
|
||||
.split('\n')
|
||||
.map((line, i) => (
|
||||
<Typography color="secondary" key={i}>
|
||||
{line}
|
||||
</Typography>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<ChangeVersion />
|
||||
</>
|
||||
</SettingsPagePaneLayout>
|
||||
</form>
|
||||
</SettingsPageLayout>
|
||||
);
|
||||
}
|
||||
|
||||
function ChangeVersion() {
|
||||
const { isMobile } = useBreakpoint('mobile');
|
||||
const { config } = useConfig();
|
||||
const {
|
||||
manifest,
|
||||
channel: currentChannel,
|
||||
checkCompatibility,
|
||||
} = useUpdateContext();
|
||||
const [channel, setChannel] = useState<ChannelName>(currentChannel);
|
||||
const [version, setVersion] = useState<Version | null>(
|
||||
manifest && __VERSION_TAG__ in manifest.channels[channel].versions
|
||||
? (__VERSION_TAG__ as Version)
|
||||
: null
|
||||
);
|
||||
|
||||
const res = version && checkCompatibility(channel, version);
|
||||
|
||||
const install = useCallback(() => {}, []);
|
||||
|
||||
return (
|
||||
<div className="flex md-max:flex-col gap-2">
|
||||
<div className="md:w-1/4">
|
||||
<Typography>Channel</Typography>
|
||||
<div className="flex flex-col md:gap-4 sm:gap-2 xs:gap-1 mobile:gap-4 max-h-[384px] md:max-h-[512px] pr-1">
|
||||
{manifest && (
|
||||
<UpdateChannelOptions
|
||||
manifest={manifest}
|
||||
value={channel}
|
||||
variant={isMobile ? 'dropdown' : 'radio'}
|
||||
onSelect={(channel) => {
|
||||
setChannel(channel);
|
||||
setVersion(null);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{config?.debug && (
|
||||
<div className="md:w-1/4">
|
||||
<Typography>Version</Typography>
|
||||
<div className="flex flex-col md:gap-4 sm:gap-2 xs:gap-1 mobile:gap-4 max-h-[384px] md:max-h-[512px] overflow-auto pr-1">
|
||||
{manifest && (
|
||||
<UpdateChannelVersionOptions
|
||||
manifest={manifest}
|
||||
channel={channel}
|
||||
value={version ?? ''}
|
||||
variant={isMobile ? 'dropdown' : 'radio'}
|
||||
onSelect={(version) =>
|
||||
setVersion(version === '' ? null : (version as Version))
|
||||
}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="md:w-1/2 flex flex-col gap-2">
|
||||
{res?.version && (
|
||||
<>
|
||||
<Typography>Release Notes</Typography>
|
||||
<div className="bg-background-60 rounded-lg px-3 py-2 max-h-[512px] overflow-auto">
|
||||
<Markdown
|
||||
remarkPlugins={[remark]}
|
||||
components={{ a: MarkdownLink }}
|
||||
className={classNames(
|
||||
'w-full text-sm prose-xl prose text-background-10 prose-h1:text-background-10',
|
||||
'prose-h2:text-background-10 prose-h3:text-background-10 prose-a:text-background-20 prose-strong:text-background-10',
|
||||
'prose-code:text-background-20'
|
||||
)}
|
||||
>
|
||||
{res.version.release_notes}
|
||||
</Markdown>
|
||||
</div>
|
||||
<div className="inline ml-auto w-fit">
|
||||
{/* TODO(devminer): add translations */}
|
||||
<Button variant="primary" disabled={!res.isInstallable}>
|
||||
Install
|
||||
</Button>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
type ChangeSYstemForm = {
|
||||
platform: string;
|
||||
architecture: string;
|
||||
};
|
||||
|
||||
function ChangeSystem() {
|
||||
const { platform, architecture, changeSystem } = useUpdateContext();
|
||||
|
||||
const { reset, control, watch, handleSubmit, getValues, setValue } =
|
||||
useForm<ChangeSYstemForm>({
|
||||
defaultValues: {
|
||||
platform,
|
||||
architecture,
|
||||
},
|
||||
});
|
||||
|
||||
const onSubmit = (values: ChangeSYstemForm) => {
|
||||
console.log(values);
|
||||
changeSystem(values.platform, values.architecture);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
const subscription = watch(() => handleSubmit(onSubmit)());
|
||||
return () => subscription.unsubscribe();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<form className="flex flex-col gap-2" onSubmit={handleSubmit(onSubmit)}>
|
||||
<div className="grid gap-2 items-center grid-rows-2 grid-cols-[fit-content(20%),1fr]">
|
||||
<Typography bold variant="vr-accessible">
|
||||
Platform
|
||||
</Typography>
|
||||
<Input control={control} name="platform" placeholder={platform} />
|
||||
<Typography bold variant="vr-accessible">
|
||||
Architecture
|
||||
</Typography>
|
||||
<Input
|
||||
control={control}
|
||||
name="architecture"
|
||||
placeholder={architecture}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="flex justify-end gap-2">
|
||||
<Button
|
||||
variant="secondary"
|
||||
type="button"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
reset();
|
||||
}}
|
||||
>
|
||||
Reset to real values
|
||||
</Button>
|
||||
</div>
|
||||
</form>
|
||||
);
|
||||
}
|
||||
@@ -9,7 +9,7 @@ import { useLocalization } from '@fluent/react';
|
||||
import { Dispatch, ReactNode, SetStateAction } from 'react';
|
||||
import { StayAlignedRelaxedPose } from 'solarxr-protocol';
|
||||
|
||||
function StaAlignedPoseModal({
|
||||
function StayAlignedPoseModal({
|
||||
open,
|
||||
title,
|
||||
descriptionKeys,
|
||||
@@ -80,7 +80,7 @@ export const StandingRelaxedPoseModal = ({
|
||||
}: {
|
||||
open: [boolean, Dispatch<SetStateAction<boolean>>];
|
||||
}) => (
|
||||
<StaAlignedPoseModal
|
||||
<StayAlignedPoseModal
|
||||
open={open}
|
||||
title={'onboarding-stay_aligned-relaxed_poses-standing-title'}
|
||||
descriptionKeys={[
|
||||
@@ -94,7 +94,7 @@ export const StandingRelaxedPoseModal = ({
|
||||
width={260}
|
||||
alt="Reset position"
|
||||
/>
|
||||
</StaAlignedPoseModal>
|
||||
</StayAlignedPoseModal>
|
||||
);
|
||||
|
||||
export const SittingRelaxedPoseModal = ({
|
||||
@@ -102,7 +102,7 @@ export const SittingRelaxedPoseModal = ({
|
||||
}: {
|
||||
open: [boolean, Dispatch<SetStateAction<boolean>>];
|
||||
}) => (
|
||||
<StaAlignedPoseModal
|
||||
<StayAlignedPoseModal
|
||||
open={open}
|
||||
title={'onboarding-stay_aligned-relaxed_poses-sitting-title'}
|
||||
descriptionKeys={[
|
||||
@@ -116,7 +116,7 @@ export const SittingRelaxedPoseModal = ({
|
||||
width={260}
|
||||
alt="Reset position"
|
||||
/>
|
||||
</StaAlignedPoseModal>
|
||||
</StayAlignedPoseModal>
|
||||
);
|
||||
|
||||
export const FlatRelaxedPoseModal = ({
|
||||
@@ -124,7 +124,7 @@ export const FlatRelaxedPoseModal = ({
|
||||
}: {
|
||||
open: [boolean, Dispatch<SetStateAction<boolean>>];
|
||||
}) => (
|
||||
<StaAlignedPoseModal
|
||||
<StayAlignedPoseModal
|
||||
open={open}
|
||||
title={'onboarding-stay_aligned-relaxed_poses-flat-title'}
|
||||
descriptionKeys={[
|
||||
@@ -138,5 +138,5 @@ export const FlatRelaxedPoseModal = ({
|
||||
width={560}
|
||||
alt="Reset position"
|
||||
/>
|
||||
</StaAlignedPoseModal>
|
||||
</StayAlignedPoseModal>
|
||||
);
|
||||
@@ -0,0 +1,118 @@
|
||||
import { Dropdown } from '@/components/commons/Dropdown';
|
||||
import { Radio } from '@/components/commons/Radio';
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import { ASSIGNMENT_MODES } from '@/components/onboarding/BodyAssignment';
|
||||
import { AssignMode, defaultConfig } from '@/hooks/config';
|
||||
import { UpdateManifest, type ChannelName } from '@slimevr/update-manifest';
|
||||
import classNames from 'classnames';
|
||||
import { useEffect } from 'react';
|
||||
import { useForm } from 'react-hook-form';
|
||||
|
||||
// Ordered collection of assign modes with the number of IMU trackers
|
||||
const ASSIGN_MODE_OPTIONS = [
|
||||
AssignMode.LowerBody,
|
||||
AssignMode.Core,
|
||||
AssignMode.EnhancedCore,
|
||||
AssignMode.FullBody,
|
||||
AssignMode.All,
|
||||
].reduce(
|
||||
(options, mode) => ({ ...options, [mode]: ASSIGNMENT_MODES[mode].length }),
|
||||
{} as Record<AssignMode, number>
|
||||
);
|
||||
|
||||
const ItemContent = ({
|
||||
name: channel,
|
||||
description,
|
||||
}: {
|
||||
name: ChannelName;
|
||||
description?: string;
|
||||
}) => {
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<div className="flex gap-2 items-center">
|
||||
<Typography>{channel}</Typography>
|
||||
|
||||
{channel === defaultConfig.updateChannel && (
|
||||
/* TODO(devminer): add translations */
|
||||
<div className="bg-background-70 px-1.5 py-0.5 rounded-md leading-[1rem] text-[0.625rem]">
|
||||
default
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<Typography variant="standard" color="secondary">
|
||||
{description}
|
||||
</Typography>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export function UpdateChannelOptions({
|
||||
manifest,
|
||||
value,
|
||||
onSelect,
|
||||
variant = 'radio',
|
||||
asList = true,
|
||||
}: {
|
||||
manifest: UpdateManifest;
|
||||
value: ChannelName;
|
||||
onSelect: (channel: ChannelName) => void;
|
||||
variant?: 'radio' | 'dropdown';
|
||||
asList?: boolean;
|
||||
}) {
|
||||
const { control, watch } = useForm<{
|
||||
updateChannel: ChannelName;
|
||||
}>({
|
||||
defaultValues: {
|
||||
updateChannel: value,
|
||||
},
|
||||
});
|
||||
const { updateChannel } = watch();
|
||||
|
||||
useEffect(() => {
|
||||
onSelect(updateChannel);
|
||||
}, [updateChannel]);
|
||||
|
||||
if (variant == 'dropdown')
|
||||
return (
|
||||
<Dropdown
|
||||
control={control}
|
||||
name="updateChannel"
|
||||
display="block"
|
||||
direction="down"
|
||||
placeholder=""
|
||||
items={Object.entries(manifest.channels).map(([channel, data]) => ({
|
||||
component: (
|
||||
<div className="flex flex-row gap-2 py-1 text-left">
|
||||
<ItemContent
|
||||
name={channel as ChannelName}
|
||||
description={data.description}
|
||||
/>
|
||||
</div>
|
||||
),
|
||||
value: channel,
|
||||
}))}
|
||||
></Dropdown>
|
||||
);
|
||||
|
||||
return (
|
||||
<div className={classNames('flex gap-2', asList && 'flex-col')}>
|
||||
{Object.entries(manifest.channels).map(([channel, data]) => (
|
||||
<Radio
|
||||
key={channel}
|
||||
name="updateChannel"
|
||||
control={control}
|
||||
value={channel}
|
||||
className="hidden"
|
||||
>
|
||||
<div className="flex flex-row md:gap-4 gap-2">
|
||||
<ItemContent
|
||||
name={channel as ChannelName}
|
||||
description={data.description}
|
||||
/>
|
||||
</div>
|
||||
</Radio>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
import { Dropdown } from '@/components/commons/Dropdown';
|
||||
import { WarningIcon } from '@/components/commons/icon/WarningIcon.js';
|
||||
import { Radio } from '@/components/commons/Radio';
|
||||
import { Typography } from '@/components/commons/Typography';
|
||||
import { useUpdateContext } from '@/hooks/update.js';
|
||||
import {
|
||||
UpdateManifest,
|
||||
Version,
|
||||
type ChannelName,
|
||||
} from '@slimevr/update-manifest';
|
||||
import { useEffect } from 'react';
|
||||
import { useForm } from 'react-hook-form';
|
||||
import { compare } from 'semver';
|
||||
|
||||
const ItemContent = ({
|
||||
version,
|
||||
isLatest,
|
||||
isAlreadyInstalled,
|
||||
hasBuildsAvailableForThisPlatform,
|
||||
}: {
|
||||
version: string;
|
||||
isLatest: boolean;
|
||||
isAlreadyInstalled: boolean;
|
||||
hasBuildsAvailableForThisPlatform: boolean;
|
||||
}) => {
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
<div className="flex gap-2 items-center">
|
||||
<Typography>{version}</Typography>
|
||||
|
||||
{isLatest && (
|
||||
/* TODO(devminer): add translations */
|
||||
<div className="bg-background-70 px-1.5 py-0.5 rounded-md leading-[1rem] text-[0.625rem]">
|
||||
latest
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{isAlreadyInstalled && (
|
||||
<div className="text-yellow-background-300 flex gap-1 items-center">
|
||||
<WarningIcon className="size-5 min-w-5" />
|
||||
{/* TODO(devminer): add translations */}
|
||||
<Typography variant="standard" color="secondary">
|
||||
already installed
|
||||
</Typography>
|
||||
</div>
|
||||
)}
|
||||
{!hasBuildsAvailableForThisPlatform && (
|
||||
<div className="text-yellow-background-300 flex gap-1 items-center">
|
||||
<WarningIcon className="size-5 min-w-5" />
|
||||
{/* TODO(devminer): add translations */}
|
||||
<Typography variant="standard" color="secondary">
|
||||
no build available for your platform
|
||||
</Typography>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export function UpdateChannelVersionOptions({
|
||||
manifest,
|
||||
channel,
|
||||
value,
|
||||
variant = 'radio',
|
||||
onSelect,
|
||||
}: {
|
||||
manifest: UpdateManifest;
|
||||
channel: ChannelName;
|
||||
value: string;
|
||||
variant: 'radio' | 'dropdown';
|
||||
onSelect: (version: string) => void;
|
||||
}) {
|
||||
const { channel: currentChannel, checkCompatibilityFromVersionInfo } =
|
||||
useUpdateContext();
|
||||
const { control, watch } = useForm<{
|
||||
version: string;
|
||||
}>({
|
||||
defaultValues: {
|
||||
version: value,
|
||||
},
|
||||
});
|
||||
const { version } = watch();
|
||||
|
||||
const ch = manifest.channels[channel];
|
||||
|
||||
useEffect(() => {
|
||||
onSelect(version);
|
||||
}, [version]);
|
||||
|
||||
if (variant == 'dropdown')
|
||||
return (
|
||||
<Dropdown
|
||||
control={control}
|
||||
name="version"
|
||||
display="block"
|
||||
direction="down"
|
||||
placeholder=""
|
||||
maxHeight="300px"
|
||||
items={Object.entries(ch.versions)
|
||||
.map(([tag, version]) => [tag as Version, version] as const)
|
||||
.sort(([a, _12], [b, _22]) => compare(b, a))
|
||||
.map(([version, versionInfo]) => {
|
||||
const res = checkCompatibilityFromVersionInfo(
|
||||
channel,
|
||||
version,
|
||||
versionInfo
|
||||
);
|
||||
|
||||
return {
|
||||
value: version,
|
||||
component: (
|
||||
<div className="flex flex-row gap-2 py-1 text-left">
|
||||
<ItemContent
|
||||
version={version}
|
||||
isLatest={ch.current_version === version}
|
||||
isAlreadyInstalled={res.alreadyInstalled}
|
||||
hasBuildsAvailableForThisPlatform={!!res.build}
|
||||
/>
|
||||
</div>
|
||||
),
|
||||
};
|
||||
})}
|
||||
/>
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-2">
|
||||
{Object.entries(ch.versions)
|
||||
.map(([tag, version]) => [tag as Version, version] as const)
|
||||
.sort(([a, _12], [b, _22]) => compare(b, a))
|
||||
.map(([version, versionInfo]) => {
|
||||
const res = checkCompatibilityFromVersionInfo(
|
||||
channel,
|
||||
version,
|
||||
versionInfo
|
||||
);
|
||||
|
||||
return (
|
||||
<Radio
|
||||
key={version}
|
||||
name="version"
|
||||
control={control}
|
||||
value={version}
|
||||
className="hidden"
|
||||
>
|
||||
<div className="flex flex-row md:gap-4 gap-2">
|
||||
<ItemContent
|
||||
version={version}
|
||||
isLatest={ch.current_version === version}
|
||||
isAlreadyInstalled={res.alreadyInstalled}
|
||||
hasBuildsAvailableForThisPlatform={!!res.build}
|
||||
/>
|
||||
</div>
|
||||
</Radio>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
+12
-5
@@ -1,14 +1,17 @@
|
||||
import { createContext, useContext, useState } from 'react';
|
||||
import {
|
||||
defaultValues as defaultDevSettings,
|
||||
DeveloperModeWidgetForm,
|
||||
} from '@/components/widgets/DeveloperModeWidget';
|
||||
import { error } from '@/utils/logging';
|
||||
import { useDebouncedEffect } from './timeout';
|
||||
import { createStore, Store } from '@tauri-apps/plugin-store';
|
||||
import { useIsTauri } from './breakpoint';
|
||||
import { waitUntil } from '@/utils/a11y';
|
||||
import { error } from '@/utils/logging';
|
||||
import { type ChannelName } from '@slimevr/update-manifest';
|
||||
import { isTauri } from '@tauri-apps/api/core';
|
||||
import { createStore, Store } from '@tauri-apps/plugin-store';
|
||||
import { createContext, useContext, useState } from 'react';
|
||||
import { useIsTauri } from './breakpoint';
|
||||
import { useDebouncedEffect } from './timeout';
|
||||
|
||||
export const STABLE_CHANNEL = 'stable' as ChannelName;
|
||||
|
||||
export interface WindowConfig {
|
||||
width: number;
|
||||
@@ -26,6 +29,8 @@ export enum AssignMode {
|
||||
}
|
||||
|
||||
export interface Config {
|
||||
updateChannel: ChannelName;
|
||||
notifyOnAvailableUpdates: boolean;
|
||||
debug: boolean;
|
||||
lang: string;
|
||||
doneOnboarding: boolean;
|
||||
@@ -55,6 +60,8 @@ export interface ConfigContext {
|
||||
}
|
||||
|
||||
export const defaultConfig: Config = {
|
||||
updateChannel: STABLE_CHANNEL,
|
||||
notifyOnAvailableUpdates: true,
|
||||
lang: 'en',
|
||||
debug: false,
|
||||
doneOnboarding: false,
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
import {
|
||||
UpdateManifestChannel,
|
||||
UpdateManifestChannelVersion,
|
||||
UpdateManifestChannelVersionBuild,
|
||||
type ChannelName,
|
||||
type UpdateManifest,
|
||||
type Version,
|
||||
} from '@slimevr/update-manifest';
|
||||
import { createContext, useContext } from 'react';
|
||||
|
||||
export interface UpdateContext {
|
||||
channel: ChannelName;
|
||||
notifyOnAvailableUpdates: boolean;
|
||||
|
||||
isUpToDate: boolean;
|
||||
latestVersionOnChannel: Version | null;
|
||||
|
||||
manifest: UpdateManifest | null;
|
||||
|
||||
platform: string;
|
||||
architecture: string;
|
||||
changeSystem(platform: string, architecture: string): void;
|
||||
|
||||
checkCompatibility(
|
||||
channelName: ChannelName,
|
||||
version: Version
|
||||
): {
|
||||
alreadyInstalled: boolean;
|
||||
channel: UpdateManifestChannel | null;
|
||||
version: UpdateManifestChannelVersion | null;
|
||||
build: UpdateManifestChannelVersionBuild | null;
|
||||
isInstallable: boolean;
|
||||
};
|
||||
checkCompatibilityFromVersionInfo(
|
||||
channelName: ChannelName,
|
||||
version: Version,
|
||||
versionInfo: UpdateManifestChannelVersion
|
||||
): {
|
||||
alreadyInstalled: boolean;
|
||||
build: UpdateManifestChannelVersionBuild | null;
|
||||
isInstallable: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
export const UpdateContextC = createContext<UpdateContext | null>(null);
|
||||
|
||||
export function useUpdateContext() {
|
||||
const context = useContext(UpdateContextC);
|
||||
if (!context) {
|
||||
throw new Error('useUpdateContext must be within a UpdateContext Provider');
|
||||
}
|
||||
|
||||
return context;
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
import {
|
||||
ChannelName,
|
||||
UpdateManifest,
|
||||
UpdateManifestChannel,
|
||||
UpdateManifestChannelVersion,
|
||||
UpdateManifestChannelVersionBuild,
|
||||
Version,
|
||||
} from '@slimevr/update-manifest';
|
||||
|
||||
type System = {
|
||||
platform: string;
|
||||
architecture: string;
|
||||
};
|
||||
|
||||
export function checkVersionCompatibility(
|
||||
manifest: UpdateManifest,
|
||||
channelName: ChannelName,
|
||||
version: Version,
|
||||
currentChannelName: ChannelName,
|
||||
system: System
|
||||
): {
|
||||
alreadyInstalled: boolean;
|
||||
isInstallable: boolean;
|
||||
channel: UpdateManifestChannel | null;
|
||||
version: UpdateManifestChannelVersion | null;
|
||||
build: UpdateManifestChannelVersionBuild | null;
|
||||
} {
|
||||
const alreadyInstalled = isAlreadyInstalled(channelName, version, currentChannelName);
|
||||
|
||||
const channel = manifest.channels[channelName];
|
||||
|
||||
const versionInfo = channel.versions[version];
|
||||
if (!versionInfo)
|
||||
return {
|
||||
alreadyInstalled,
|
||||
channel,
|
||||
version: null,
|
||||
build: null,
|
||||
isInstallable: false,
|
||||
};
|
||||
|
||||
const build = findBuildForPlatformAndArchitecture(versionInfo, system);
|
||||
|
||||
return {
|
||||
alreadyInstalled,
|
||||
channel,
|
||||
version: versionInfo,
|
||||
build,
|
||||
isInstallable: !alreadyInstalled && build !== null,
|
||||
};
|
||||
}
|
||||
|
||||
function isAlreadyInstalled(
|
||||
channelName: ChannelName,
|
||||
version: Version,
|
||||
currentChannelName: ChannelName
|
||||
) {
|
||||
return currentChannelName === channelName && __VERSION_TAG__ === version;
|
||||
}
|
||||
|
||||
export function checkVersionCompatibility2(
|
||||
channelName: ChannelName,
|
||||
version: Version,
|
||||
versionInfo: UpdateManifestChannelVersion,
|
||||
currentChannelName: ChannelName,
|
||||
system: System
|
||||
) {
|
||||
const alreadyInstalled = isAlreadyInstalled(channelName, version, currentChannelName);
|
||||
|
||||
const build = findBuildForPlatformAndArchitecture(versionInfo, system);
|
||||
|
||||
return {
|
||||
alreadyInstalled,
|
||||
build,
|
||||
isInstallable: !alreadyInstalled && build !== null,
|
||||
};
|
||||
}
|
||||
|
||||
function findBuildForPlatformAndArchitecture(
|
||||
versionInfo: UpdateManifestChannelVersion,
|
||||
system: System
|
||||
) {
|
||||
const buildsForPlatform = versionInfo.builds[system.platform];
|
||||
if (!buildsForPlatform) return null;
|
||||
|
||||
const buildForPlatformAndArchitecture = buildsForPlatform[system.architecture];
|
||||
if (!buildForPlatformAndArchitecture) return null;
|
||||
|
||||
return buildForPlatformAndArchitecture;
|
||||
}
|
||||
Generated
+24
@@ -47,6 +47,9 @@ importers:
|
||||
'@sentry/vite-plugin':
|
||||
specifier: ^2.22.7
|
||||
version: 2.22.7
|
||||
'@slimevr/update-manifest':
|
||||
specifier: ^0.0.1
|
||||
version: 0.0.1([email protected])
|
||||
'@tailwindcss/typography':
|
||||
specifier: ^0.5.15
|
||||
version: 0.5.15([email protected]([email protected]([email protected])))
|
||||
@@ -1083,6 +1086,9 @@ packages:
|
||||
resolution: {integrity: sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==}
|
||||
engines: {node: '>=14.16'}
|
||||
|
||||
'@slimevr/[email protected]':
|
||||
resolution: {integrity: sha512-SqPUQuyhSRdO2kQZG6LPHv+X6mRKzR7/oBJULSiNUQrUhT9NbqssDjGDhZX49UZX8R0lM+BK6468p+7l3oQxMQ==}
|
||||
|
||||
'@swc/[email protected]':
|
||||
resolution: {integrity: sha512-RGQhMdni2v1/ANQ/2K+F+QYdzaucekYBewZcX1ogqJ8G5sbPaBdYdDN1qQ4kHLCIkPtGP6qC7c71qPEqL2RidQ==}
|
||||
engines: {node: '>=10'}
|
||||
@@ -4271,6 +4277,14 @@ packages:
|
||||
resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}
|
||||
hasBin: true
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-Nk8lX30Qhu+9txPYTwM0cFlWLdPFsFr6LblzqIySfbZph9+BFsAHsNvHOymEviUepeIW6KFHzpX8TKhbptBXXw==}
|
||||
peerDependencies:
|
||||
typescript: '>=5'
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==}
|
||||
|
||||
@@ -5337,6 +5351,12 @@ snapshots:
|
||||
|
||||
'@sindresorhus/[email protected]': {}
|
||||
|
||||
'@slimevr/[email protected]([email protected])':
|
||||
dependencies:
|
||||
valibot: 1.1.0([email protected])
|
||||
transitivePeerDependencies:
|
||||
- typescript
|
||||
|
||||
'@swc/[email protected]':
|
||||
optional: true
|
||||
|
||||
@@ -9032,6 +9052,10 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected]([email protected]):
|
||||
optionalDependencies:
|
||||
typescript: 5.6.3
|
||||
|
||||
[email protected]:
|
||||
dependencies:
|
||||
'@types/unist': 3.0.3
|
||||
|
||||
Reference in new issue
Block a user