mirror of
https://github.com/cxreiff/ttysvr.git
synced 2025-08-17 16:10:58 +02:00
fix: removed WinitPlugin to allow SSH
This commit is contained in:
parent
9a02af7812
commit
b2ed22bda8
2 changed files with 7 additions and 5 deletions
|
@ -99,7 +99,5 @@ This includes a decent variety of terminals, but I have personally confirmed goo
|
||||||
|
|
||||||
### ssh
|
### ssh
|
||||||
|
|
||||||
Because bevy is being used here in a somewhat unconventional way, currently bevy will still look for a
|
I have recently added a change that has allowed me to run the screensavers over SSH. This is not very well
|
||||||
windowing system even though a window is never created. This means that there are issues when a window
|
tested however, so please open an issue if you run into problems!
|
||||||
server is not available, for example when running this over SSH. I am investigating a fix, perhaps through
|
|
||||||
disabling a default bevy feature.
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
||||||
use bevy::{app::ScheduleRunnerPlugin, log::LogPlugin, prelude::*, window::ExitCondition};
|
use bevy::{
|
||||||
|
app::ScheduleRunnerPlugin, log::LogPlugin, prelude::*, window::ExitCondition,
|
||||||
|
winit::WinitPlugin,
|
||||||
|
};
|
||||||
use bevy_ratatui::RatatuiPlugins;
|
use bevy_ratatui::RatatuiPlugins;
|
||||||
use bevy_ratatui_render::RatatuiRenderPlugin;
|
use bevy_ratatui_render::RatatuiRenderPlugin;
|
||||||
use logo::LogoPath;
|
use logo::LogoPath;
|
||||||
|
@ -29,6 +32,7 @@ impl Plugin for AppPlugin {
|
||||||
exit_condition: ExitCondition::DontExit,
|
exit_condition: ExitCondition::DontExit,
|
||||||
close_when_requested: false,
|
close_when_requested: false,
|
||||||
})
|
})
|
||||||
|
.disable::<WinitPlugin>()
|
||||||
.disable::<LogPlugin>(),
|
.disable::<LogPlugin>(),
|
||||||
ScheduleRunnerPlugin::run_loop(Duration::from_secs_f64(1. / 60.)),
|
ScheduleRunnerPlugin::run_loop(Duration::from_secs_f64(1. / 60.)),
|
||||||
RatatuiPlugins::default(),
|
RatatuiPlugins::default(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue