mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-06-05 22:56:34 +02:00
feat: portable build
This commit is contained in:
@@ -128,6 +128,7 @@ export function SettingsDialog({
|
||||
app_version: string;
|
||||
os: string;
|
||||
arch: string;
|
||||
portable: boolean;
|
||||
} | null>(null);
|
||||
|
||||
const { t } = useTranslation();
|
||||
@@ -237,6 +238,7 @@ export function SettingsDialog({
|
||||
app_version: string;
|
||||
os: string;
|
||||
arch: string;
|
||||
portable: boolean;
|
||||
}>("get_system_info");
|
||||
setSystemInfo(info);
|
||||
} catch {
|
||||
@@ -1109,7 +1111,7 @@ export function SettingsDialog({
|
||||
{systemInfo && (
|
||||
<div className="pt-2 border-t">
|
||||
<p className="text-xs text-muted-foreground font-mono whitespace-pre-line select-all">
|
||||
{`Donut Browser ${systemInfo.app_version}\n${systemInfo.os} ${systemInfo.arch}`}
|
||||
{`Donut Browser ${systemInfo.app_version}\n${systemInfo.os} ${systemInfo.arch}${systemInfo.portable ? " (portable)" : ""}`}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user