Skip to content

Commit 84496f2

Browse files
authored
Service locations on Windows (Pre-logon, Always-on) (#636)
* service locations 1 * cleanup, merge with dev * some cleanup * remove pretty printing * clippy, sqlx * review changes * more cleanup * further review changes * clippy * review changes * remove spaces * sqlx, proto * Update proto
1 parent 2a348dc commit 84496f2

22 files changed

Lines changed: 1533 additions & 149 deletions

src-tauri/.sqlx/query-e91278b90769f39e2cdf1677ffa1193580af693f9871a7162c47393daac8af11.json renamed to src-tauri/.sqlx/query-76c5c9b75df39afca9cd07530ab0569d3d6f9d8924458c8b357dd400966f4175.json

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/.sqlx/query-7bbc28ee5a141e5b531a6ac5a1cbf120828a0b9c19301c92a3f71531c08c698d.json renamed to src-tauri/.sqlx/query-85f8edf373d3bf1d405a8fed804d9d04839e69a6c2c5cb8ad5c2f8e19547a2f6.json

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/.sqlx/query-ac02b04f6490a768571290d7dc77444eb0ca55a3a7e159c3b2e529ebf75f224f.json renamed to src-tauri/.sqlx/query-9137d3329ed718f211b5654af41b297c31706f5a5ad9ac400be116db7113a056.json

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/.sqlx/query-3421da72f01d726c2931071203d663b197cb518dd65ec73108f85b2cb7270741.json renamed to src-tauri/.sqlx/query-b882379427740576d70c89eaeb815dede3c312162dcc73cea9c883289ba9fa8e.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/.sqlx/query-e02047df7deea862cceca537e49ae16a8237e91eff0ee684cacd2ec1c77adb58.json renamed to src-tauri/.sqlx/query-ea39145f2cdc783bc78b32363cce32a87bd603debccaec23b160150766bdcd9f.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/.sqlx/query-f660459ee3beed1e88815560c3f16259e63975a3ec89a3c9b95d833774e9dfef.json

Lines changed: 0 additions & 86 deletions
This file was deleted.

src-tauri/Cargo.lock

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ tower = "0.5"
120120
[target.'cfg(windows)'.dependencies]
121121
winapi = { version = "0.3", features = ["winsvc", "winerror"] }
122122
windows-service = "0.7"
123+
known-folders = "1.3"
124+
windows = { version = "0.62", features = [
125+
"Win32",
126+
"Win32_System",
127+
"Win32_System_RemoteDesktop",
128+
] }
129+
windows-acl = "0.3"
123130

124131
[features]
125132
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- 1 - disabled
2+
-- 2 - pre-logon
3+
-- 3 - always-on
4+
ALTER TABLE location ADD COLUMN service_location_mode INTEGER NOT NULL DEFAULT 1;

src-tauri/proto

0 commit comments

Comments
 (0)