windows: updates from the app, and a dark theme
The service looks at the project's releases (windows-v* tags; pre-releases for a pre-release), fetches the newer setup program, checks its SHA-256 against the one published beside it, and runs it silently, detached, out of any job: the setup stops the service, replaces it, and starts it again. Run by the service (session 0), the setup's install starts the app in each signed-in user's session with their token rather than through Explorer. A failed copy during an upgrade starts the old service and app again. Request::UpdateCheck (anyone), UpdateInstall (services scope); proxy-ctl update [check|install]; the app's Overview card. The app's own preferences (%APPDATA%\ProxySuite\app.json): the theme (light, dark, or as Windows, followed as it changes; the title bar too) and whether to look for updates at start and daily. Settings > This app, and a sun/moon toggle in the sidebar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ed9275250b
commit
5bd47f7676
32 files changed
+911
-26
No files matched your search
Generated
+7
-6
@@ -4974,7 +4974,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ps-client"
|
||||
version = "0.2.0-pre.1"
|
||||
version = "0.3.0-pre.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ps-core",
|
||||
@@ -4985,7 +4985,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ps-core"
|
||||
version = "0.2.0-pre.1"
|
||||
version = "0.3.0-pre.1"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"flate2",
|
||||
@@ -5001,7 +5001,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ps-ctl"
|
||||
version = "0.2.0-pre.1"
|
||||
version = "0.3.0-pre.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
@@ -5015,7 +5015,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ps-gui"
|
||||
version = "0.2.0-pre.1"
|
||||
version = "0.3.0-pre.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-channel",
|
||||
@@ -5023,6 +5023,7 @@ dependencies = [
|
||||
"gpui-tray",
|
||||
"ps-client",
|
||||
"ps-ipc",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tokio",
|
||||
"windows-sys 0.61.2",
|
||||
@@ -5030,7 +5031,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ps-ipc"
|
||||
version = "0.2.0-pre.1"
|
||||
version = "0.3.0-pre.1"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -5041,7 +5042,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ps-service"
|
||||
version = "0.2.0-pre.1"
|
||||
version = "0.3.0-pre.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"base64 0.22.1",
|
||||
|
||||
Reference in new issue
Block a user