mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-06 13:27:43 +00:00
624889bae5
* Initialize rustfs-gui crate - Set up the `rustfs-gui` package in the workspace. - Add `dioxus` dependency with `router` feature. - Configure workspace settings for edition, license, repository, and rust-version. - Include lints configuration for the workspace. * Add utility functions and configurations for rustfs-gui - Implement `RustFSConfig` struct with default values and methods for loading, saving, and clearing configurations. - Add `ServiceCommand` enum for managing service commands. - Implement `ServiceManager` struct for starting, stopping, and restarting the service. - Include helper functions for checking service status, preparing the service, downloading files, and unzipping files. - Add logging and error handling for service operations.
60 lines
1.2 KiB
TOML
60 lines
1.2 KiB
TOML
[application]
|
|
|
|
# App (Project) Name
|
|
name = "rustfs-gui"
|
|
|
|
# The static resource path
|
|
asset_dir = "public"
|
|
|
|
[web.app]
|
|
|
|
# HTML title tag content
|
|
title = "rustfs-gui"
|
|
|
|
# include `assets` in web platform
|
|
[web.resource]
|
|
|
|
# Additional CSS style files
|
|
style = []
|
|
|
|
# Additional JavaScript files
|
|
script = []
|
|
|
|
[web.resource.dev]
|
|
|
|
# Javascript code file
|
|
# serve: [dev-server] only
|
|
script = []
|
|
|
|
[bundle]
|
|
identifier = "com.rustfs.cli.gui"
|
|
|
|
publisher = "RustFsGUI"
|
|
|
|
category = "Utility"
|
|
|
|
copyright = "Copyright 2025 rustfs.com"
|
|
|
|
icon = [
|
|
"assets/icons/icon_16x16.png",
|
|
"assets/icons/icon_16x16@2x.png",
|
|
"assets/icons/icon_32x32.png",
|
|
"assets/icons/icon_32x32@2x.png",
|
|
"assets/icons/icon_128x128.png",
|
|
"assets/icons/icon_128x128@2x.png",
|
|
"assets/icons/icon_256x256.png",
|
|
"assets/icons/icon_256x256@2x.png",
|
|
"assets/icons/icon_512x512.png",
|
|
"assets/icons/icon_512x512@2x.png",
|
|
"assets/icons/icon.icns",
|
|
"assets/icons/icon.ico"
|
|
]
|
|
#[bundle.macos]
|
|
#provider_short_name = "RustFs"
|
|
[bundle.windows]
|
|
tsp = true
|
|
icon_path = "assets/icons/icon.ico"
|
|
allow_downgrades = true
|
|
[bundle.windows.webview_install_mode]
|
|
[bundle.windows.webview_install_mode.EmbedBootstrapper]
|
|
silent = true |