Windows styles + downloading

This commit is contained in:
2025-07-19 23:07:42 -07:00
parent f17c3fc097
commit 2e2cb9b563
10 changed files with 796 additions and 43 deletions

View File

@@ -41,7 +41,7 @@ function App () {
setDownloadProgress(prev => [...prev, ...newDownloads]);
newDownloads.forEach(download => {
invoke('download', { url: download.version.downloadUrls[download.version.platforms.indexOf(platform())] });
invoke('download', { url: download.version.downloadUrls[download.version.platforms.indexOf(platform())], name: download.version.version });
});
}
@@ -76,7 +76,10 @@ function App () {
return (
<>
<Sidebar setShowPopup={setShowPopup} setPopupMode={setPopupMode} setFadeOut={setFadeOut} />
<main style={{ marginLeft: '15rem' }}>{renderContent()}</main>
<div className="relative z-[1] ml-[239px] w-[761px] border-b border-[#323232] h-[33px] bg-[#161616]" style={{ display: platform() == 'windows' ? 'block' : 'none' }}></div>
<div className="relative z-0">
<main style={{ marginLeft: '15rem' }}>{renderContent()}</main>
</div>
{showPopup && (
<div
className={`popup-overlay ${fadeOut ? 'fade-out' : ''}`}