build: attempt conditional package use for linux, clarify text

This commit is contained in:
rzmk 2024-02-20 10:44:11 -05:00
parent f4a60c75a4
commit a44bbd541d
No known key found for this signature in database
4 changed files with 15 additions and 5 deletions

View file

@ -19,7 +19,7 @@ A desktop app integrated with Google's deep learning model [Magika](https://gith
- **Powered by a deep learning model from Google's Magika team**
- **Run offline locally:** Once you've installed fformat, you may run it without an internet connection.
- **Interactive data table**: After magika detects potential file content types for all of your files, you may view more info about the results.
- **Interactive data table**: After Magika detects potential file content types for all of your files, you may view more info about the results.
- **Organized metadata:** Learn about your file's path, potential file content types, and score representing a probability that the file content types is as expected.
- **Drag & drop files:** Choose between dropping one or more files simply dragging and dropping them into fformat.
- **Light & dark themes:** Toggle your theme by clicking on the sun and moon icon.

View file

@ -14,6 +14,12 @@ rust-version = "1.70"
name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[target.'cfg(linux)'.build-dependencies]
tauri-build = { version = "2.0.0-beta.0", features = [] }
[target.'cfg(linux)'.dependencies]
tauri = { version = "2.0.0-beta.1", features = [] }
[build-dependencies]
tauri-build = { version = "2.0.0-beta.2", features = [] }

View file

@ -90,7 +90,7 @@ const MagikaProcess = () => {
fformat
</h2>
<p className="text-md w-fit border-b text-muted-foreground">
Examine file formats
Identify potential file content types
</p>
</div>
<div className="mb-4">

View file

@ -26,13 +26,17 @@ const Settings = () => {
<DialogHeader>
<DialogTitle>fformat</DialogTitle>
<p className="text-sm text-muted-foreground">
Examine file formats on your local device.
Identify potential file content types on your local
device.
</p>
<Separator />
<ul className="list-disc text-sm text-muted-foreground ml-4 mt-2">
<li>Not all content types are supported.</li>
<li>
Built with magika, Tauri, shadcn/ui, Next.js, Rust,
Not all content types are supported, and inferences
may be inaccurate.
</li>
<li>
Built with Magika, Tauri, shadcn/ui, Next.js, Rust,
& TypeScript.
</li>
</ul>