Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

24 changes: 24 additions & 0 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,13 @@ tower = "0.5"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winsvc", "winerror"] }
windows-service = "0.7"
known-folders = "1.3"
windows = { version = "0.62", features = [
"Win32",
"Win32_System",
"Win32_System_RemoteDesktop",
] }
windows-acl = "0.3"

[features]
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
Expand Down
4 changes: 4 additions & 0 deletions src-tauri/migrations/20251009102408_service_locations.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- 1 - disabled
-- 2 - pre-logon
-- 3 - always-on
ALTER TABLE location ADD COLUMN service_location_mode INTEGER NOT NULL DEFAULT 1;
2 changes: 1 addition & 1 deletion src-tauri/proto
2 changes: 1 addition & 1 deletion src-tauri/src/active_connections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub(crate) async fn find_connection(
pub(crate) async fn active_connections(
instance: &Instance<Id>,
) -> Result<Vec<ActiveConnection>, Error> {
let locations: HashSet<Id> = Location::find_by_instance_id(&*DB_POOL, instance.id)
let locations: HashSet<Id> = Location::find_by_instance_id(&*DB_POOL, instance.id, false)
.await?
.iter()
.map(|location| location.id)
Expand Down
Loading