Skip to content

Commit

Permalink
Fix javascript spawn error on gui startup. Correct urls in about page…
Browse files Browse the repository at this point in the history
…. Set compatible option false by default for blank command
  • Loading branch information
henrikstengaard committed Nov 30, 2022
1 parent daef60b commit 8776ac1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Hst.Imager.ConsoleApp/CommandFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public static Command CreateBlankCommand()
var compatibleSizeOption = new Option<bool>(
new[] { "--compatible", "-c" },
description: "Make size compatible by reducing it with 5%.",
getDefaultValue: () => true);
getDefaultValue: () => false);

var blankCommand = new Command("blank", "Blank image file.");
blankCommand.AddArgument(pathArgument);
Expand Down
4 changes: 2 additions & 2 deletions src/Hst.Imager.GuiApp/ClientApp/src/pages/About.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {AppStateContext} from "../components/AppStateContext";
import Typography from "@mui/material/Typography";
import {HSTWB_INSTALLER_VERSION} from '../Constants'

const payPalDonateUrl = 'https://www.paypal.com/donate/?business=7DZM5VEGWWNP8&no_recurring=0&item_name=Thanks+for+your+incredible+effort+creating+HstWB+Installer+and+Imager+in+your+spare+time.+I+want+to+support+future+development.&currency_code=EUR'
const gitHubIssuesUrl = 'https://github.com/henrikstengaard/hstwb-installer/issues'
const payPalDonateUrl = 'https://www.paypal.com/donate/?business=7DZM5VEGWWNP8&no_recurring=0&item_name=Thanks+for+your+incredible+effort+creating+HstWB+Installer+and+Hst+Imager+in+your+spare+time.+I+want+to+support+future+development.&currency_code=EUR'
const gitHubIssuesUrl = 'https://github.com/henrikstengaard/hst-imager/issues'

export default function About() {
const electronIpc = new ElectronIpc()
Expand Down
12 changes: 6 additions & 6 deletions src/Hst.Imager.GuiApp/electron.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"executable": "HstWbInstaller.Imager.GuiApp",
"name": "HstWbInstaller.Imager.GuiApp",
"executable": "Hst.Imager.GuiApp",
"name": "Hst.Imager.GuiApp",
"author": "Henrik Nørfjand Stengaard <[email protected]>",
"singleInstance": false,
"environment": "Production",
"electronPort": 42000,
"aspCoreBackendPort": 42001,
"build": {
"appId": "com.HstWbInstaller.Imager.GuiApp.app",
"appId": "com.Hst.Imager.GuiApp.app",
"productName": "Hst Imager",
"copyright": "Copyright © 2022",
"buildVersion": "0.1.0",
Expand All @@ -32,7 +32,7 @@
"x64"
]
}],
"icon": "../../../hstwb-installer.ico"
"icon": "../../../hst.imager.ico"
},
"mac": {
"target": [{
Expand All @@ -41,7 +41,7 @@
"x64"
]
}],
"icon": "../../../hstwb-installer.icns"
"icon": "../../../hst.imager.icns"
},
"linux": {
"target": [{
Expand All @@ -59,7 +59,7 @@
}],
"synopsis": "Disk imaging tool",
"description": "Disk imaging tool to read and write disk images to and from physical drives",
"icon": "../../../hstwb-installer.icns"
"icon": "../../../hst.imager.icns"
},
"nsis": {
"guid": "4bae923c-ea2c-4eee-9a47-ba053b7b78e5",
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 8776ac1

Please sign in to comment.