Prepare for first release and block macOS

Signed-off-by: mmvanheusden <50550545+mmvanheusden@users.noreply.github.com>
This commit is contained in:
mmvanheusden
2022-07-08 17:33:52 +02:00
parent 53c7eb9a35
commit 4c687b3b33
3 changed files with 8 additions and 5 deletions

View File

@@ -1,10 +1,11 @@
<h1 align="center">SteamDepotDownloaderGUI</h1>
<p align="center">
<img alt="Project Status" src="https://img.shields.io/badge/status-being_rewritten-blue" />
<img alt="Project Status" src="https://img.shields.io/badge/status-maintained-blue" />
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/mmvanheusden/SteamDepotDownloaderGUI/total?color=orange&label=downloads">
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/mmvanheusden/SteamDepotDownloaderGUI?color=crimson">
<img alt="Visitor Count" src="https://visitor-badge.glitch.me/badge?page_id=mmvanheusden.SteamDepotDownloaderGUI">
<a href="https://www.codefactor.io/repository/github/mmvanheusden/steamdepotdownloadergui/overview/rewrite"><img src="https://www.codefactor.io/repository/github/mmvanheusden/steamdepotdownloadergui/badge/rewrite" alt="CodeFactor" /></a>
</p>
<p align="center">
<img alt="Screenshot" src="screenshot.png" />

View File

@@ -82,7 +82,7 @@
<select aria-label="Preference" class="form-select" id="osdropdown">
<option disabled>Choose your OS</option>
<option>Windows</option>
<option>macOS</option>
<option disabled>macOS (NOT YET IMPLEMENTED)</option>
<option disabled>If you are using Linux</option>
<option disabled>Select your terminal</option>
<option>KDE Konsole</option>

View File

@@ -4,7 +4,7 @@ const createWindow = () => {
// Create the browser window.
const mainWindow = new BrowserWindow({
autoHideMenuBar: true,
//resizable: false,
resizable: false,
width: 425,
height: 575,
maximizable: false,
@@ -17,8 +17,10 @@ const createWindow = () => {
// and load the index.html of the app.
mainWindow.loadFile("index.html")
// Open the DevTools for debugging
mainWindow.webContents.openDevTools({mode: "detach"})
// Open the DevTools for debugging, only if not in production.
if (!app.isPackaged) {
mainWindow.webContents.openDevTools({mode: "detach"})
}
}
// This method will be called when Electron has finished